Quickstart
Extract data from your first document in under 5 minutes
Prerequisites
Before you begin, you’ll need:
- An Automat account (sign up here)
- An API key (see Authentication)
- An extractor configured in your dashboard
Step 1: Create an Extractor
Step 2: Make Your First API Request
File Size Limits
Binary, Base64, and Data URL inputs are limited to 4.5 MB on the Pay As You Go plan.
For larger files up to 35 MB, use the URL option instead.
Need higher limits? Contact our sales team to discuss enterprise options.
Using cURL
Using the TypeScript SDK
Using the Python SDK
Step 3: Handle the Response
A successful response looks like:
The data field contains the extracted information matching your extractor’s schema.
Alternative Input Methods
Extract from URL
URL is the only method that supports files up to 35 MB — ideal for larger documents that exceed the 4.5 MB limit of binary, Base64, and Data URL uploads.
If your document is publicly accessible, you can pass a URL instead of uploading:
When using a URL, you must also provide the mimeType field.
Extract from Base64
For base64-encoded documents:
Error Handling
Always handle potential errors in your integration: