Extract
Use this when you need to turn unstructured text (emails, invoices, receipts, job posts, listings, bios, support tickets, chat logs) into JSON matching a schema. Send the text plus a JSON Schema or a list of field names; get back data that validates against it. Missing values come back as null, never invented. Charged only on success.
POST https://extract-json.mintfacts.workers.dev/extract
0.002 USDC on Base · payTo 0x59D0D643f1c91ACa0B1dcd4bE20edF188645845f
Status: verified · payable
Operator badge: embed this endpoint's live status badge — it reads "Verified Payable" only while the probe record backs it.
Settlement: direct to the seller's payTo — 0% HIVE402 take
Payment routes
{
"schema": {
"properties": {
"currency": {
"type": "string"
},
"customer": {
"type": "string"
},
"due_date": {
"description": "YYYY-MM-DD",
"type": "string"
},
"invoice_number": {
"type": "string"
},
"line_items": {
"items": {
"properties": {
"description": {
"type": "string"
},
"quantity": {
"type": "number"
},
"unit_price": {
"type": "number"
}
},
"type": "object"
},
"type": "array"
},
"total": {
"type": "number"
},
"vendor": {
"type": "string"
}
},
"required": [
"invoice_number",
"total"
],
"type": "object"
},
"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"
}{
"data": {
"currency": "USD",
"customer": "Harbor Coffee Co.",
"due_date": "2026-12-03",
"invoice_number": "INV-2291",
"line_items": [
{
"description": "Logo redesign",
"quantity": 1,
"unit_price": 1200
},
{
"description": "Business cards (500)",
"quantity": 2,
"unit_price": 85.5
}
],
"total": 1371,
"vendor": "Bright Pixel Studio LLC"
},
"missing": [],
"model": "@cf/meta/llama-4-scout-17b-16e-instruct",
"note": "Automated AI extraction. Values come only from the text you send; anything not present is null. Check important values before acting on them.",
"warnings": []
}Script Master Labs LLC · SDVOSB · Kinston, NC · Terms · Refunds · Privacy · Contact
SML network: ScriptMasterLabs — the main site · SML Dual Market — the human storefront · VA Ratings — VA disability ratings, free for veterans
Agent intel 
| Trust score | pending / 100 · breakdown |
|---|---|
| Probe uptime (30d) | — over 0 probes · daily |
| Avg 402 latency | — ms |
| Paid calls (30d, on-chain) | 0 calls · 0 buyers |
How to call
POST https://extract-json.mintfacts.workers.dev/extract · input in body · spec from feed (schema inferred from example)
Input schema
{
"type": "object",
"properties": {
"schema": {
"type": "object",
"properties": {
"properties": {
"type": "object",
"properties": {
"currency": {
"type": "object",
"properties": {
"type": {
"type": "string"
}
}
},
"customer": {
"type": "object",
"properties": {
"type": {
"type": "string"
}
}
},
"due_date": {
"type": "object",
"properties": {
"description": {
"type": "string"
},
"type": {
"type": "string"
}
}
},
"invoice_number": {
"type": "object",
"properties": {
"type": {
"type": "string"
}
}
},
"line_items": {
"type": "object",
"properties": {
"items": {
"type": "object",
"properties": {
"properties": {
"type": "object",
"properties": {
"description": {
"type": "object",
"properties": {
"type": {}
}
},
"quantity": {
"type": "object",
"properties": {
"type": {}
}
},
"unit_price": {
"type": "object",
"properties": {
"type": {}
}
}
}
},
"type": {
"type": "string"
}
}
},
"type": {
"type": "string"
}
}
},
"total": {
"type": "object",
"properties": {
"type": {
"type": "string"
}
}
},
"vendor": {
"type": "object",
"properties": {
"type": {
"type": "string"
}
}
}
}
},
"required": {
"type": "array",
"items": {
"type": "string"
}
},
"type": {
"type": "string"
}
}
},
"text": {
"type": "string"
}
}
}Output schema
{
"type": "object",
"properties": {
"data": {
"type": "object",
"properties": {
"currency": {
"type": "string"
},
"customer": {
"type": "string"
},
"due_date": {
"type": "string"
},
"invoice_number": {
"type": "string"
},
"line_items": {
"type": "array",
"items": {
"type": "object",
"properties": {
"description": {
"type": "string"
},
"quantity": {
"type": "integer"
},
"unit_price": {
"type": "integer"
}
}
}
},
"total": {
"type": "integer"
},
"vendor": {
"type": "string"
}
}
},
"missing": {
"type": "array"
},
"model": {
"type": "string"
},
"note": {
"type": "string"
},
"warnings": {
"type": "array"
}
}
}curl -i -X POST 'https://extract-json.mintfacts.workers.dev/extract' \
-H 'content-type: application/json' -d '{"schema":{"properties":{"currency":{"type":"string"},"customer":{"type":"string"},"due_date":{"description":"YYYY-MM-DD","type":"string"},"invoice_number":{"type":"string"},"line_items":{"items":{"properties":{"description":{"type":"string"},"quantity":{"type":"number"},"unit_price":{"type":"number"}},"type":"object"},"type":"array"},"total":{"type":"number"},"vendor":{"type":"string"}},"required":["invoice_number","total"],"type":"object"},"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"}'
Agents: POST https://hive402.scriptmasterlabs.com/mcp → route_task / proxy_call · SDK /sdk/hive402.mjs