Send messy text and the shape you want; get back JSON that validates against it. Emails, invoices, receipts, job posts, listings, bios. Pay per call with x402, no account or API key. Charged only on success.
| Endpoint | Price | What |
|---|---|---|
POST /extract | $0.002 | Text to JSON matching your schema (up to 8000 characters) |
POST /extract-lite | free | Free demo: up to 1000 characters and 5 fields, rate limited |
curl -X POST https://extract-json.mintfacts.workers.dev/extract-lite -H 'content-type: application/json' \
-d '{"text":"Hi team, I'm Dana Ortiz, VP of Ops at Lumen Freight. Can we move Thursday's demo to Friday Nov 27 at 2pm ET? Reach me at dana@lumenfreight.com or (617) 555-0142.","fields":["name","company","email"]}'
{
"text": "INVOICE #INV-2291\nBright Pixel Studio LLC, 44 Market St, Portland OR\nBill to: Harbor Coffee Co.\nDate: Nov 3, 2026 Due: Dec 3, 2026\nLogo redesign 1 x $1,200.00\nBusiness cards (500) 2 x $85.50\nTOTAL DUE: $1,371.00 USD",
"schema": {
"type": "object",
"properties": {
"invoice_number": {
"type": "string"
},
"vendor": {
"type": "string"
},
"customer": {
"type": "string"
},
"due_date": {
"type": "string",
"description": "YYYY-MM-DD"
},
"total": {
"type": "number"
},
"currency": {
"type": "string"
},
"line_items": {
"type": "array",
"items": {
"type": "object",
"properties": {
"description": {
"type": "string"
},
"quantity": {
"type": "number"
},
"unit_price": {
"type": "number"
}
}
}
}
},
"required": [
"invoice_number",
"total"
]
}
}
{
"data": {
"invoice_number": "INV-2291",
"vendor": "Bright Pixel Studio LLC",
"customer": "Harbor Coffee Co.",
"due_date": "2026-12-03",
"total": 1371,
"currency": "USD",
"line_items": [
{
"description": "Logo redesign",
"quantity": 1,
"unit_price": 1200
},
{
"description": "Business cards (500)",
"quantity": 2,
"unit_price": 85.5
}
]
},
"model": "@cf/meta/llama-4-scout-17b-16e-instruct",
"warnings": [],
"missing": [],
"note": "Automated AI extraction. Values come only from the text you send; anything not present is null. Check important values before acting on them."
}
Values not in the text come back as null and are listed in missing; nothing is invented. Text is not stored.
Docs for agents: /llms.txt · /openapi.json · MCP: https://extract-json.mintfacts.workers.dev/mcp
Network: Base. Experimental service run by an individual; no uptime guarantee.