AI Task

AI Data Extraction API

Turn unstructured text into structured JSON with a single API call. Extract names, dates, amounts, addresses, and any custom fields you define.

1

Send your text

POST to /api/v1/generate with task "extract" and your unstructured content.

2

Define your fields

Specify which fields to extract in options.fields — or let the AI auto-detect entities.

3

Get structured data

Receive clean, structured JSON with all extracted fields mapped and ready to use.

Code example

Request

curl -X POST https://instantapis.net/api/v1/generate \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -d '{
    "task": "extract",
    "input": "Please send the invoice to Jane Smith at Acme Corp. Her email is jane@acme.com and the office is at 123 Market St, San Francisco, CA 94105. The total amount due is $4,250.00 by March 15, 2026.",
    "options": {
      "fields": ["name", "company", "email", "address", "amount", "date"]
    }
  }'

Response

{
  "success": true,
  "data": {
    "name": "Jane Smith",
    "company": "Acme Corp",
    "email": "jane@acme.com",
    "address": "123 Market St, San Francisco, CA 94105",
    "amount": "$4,250.00",
    "date": "March 15, 2026"
  },
  "task": "extract",
  "timestamp": "2026-03-28T12:00:00.000Z"
}

Use cases

Invoice Processing

Automatically extract vendor names, amounts, dates, line items, and tax details from invoices. Feed structured data directly into your accounting system.

Contact Parsing

Pull names, emails, phone numbers, job titles, and addresses from business cards, email signatures, or any unstructured text.

Resume Screening

Extract skills, experience, education, and certifications from resumes into a structured format. Build automated screening pipelines.

Order Processing

Parse order confirmations, shipping notifications, and receipts into structured data. Automate order tracking and fulfillment workflows.

Extraction features

Custom field definitions — extract exactly what you need
Auto-entity detection when no fields specified
Handles emails, invoices, resumes, contracts, and more
Structured JSON output ready for database insertion
Batch endpoint for processing up to 20 documents at once
Handles up to 100KB of input text per request

Start extracting data in minutes

Get 10 free API calls when you sign up. No credit card required.