Grounded Extract
Grounded Extract turns text into JSON for AI agents. Send any text plus a flat JSON schema and get back the filled object and a grounded map showing whether each value occurs in your text. Each call costs 0.005 USDC on Base, paid per request over x402, with no account or API key.
Price and payment
An unpaid request gets 402 with the price. The 402 body is the x402 payment-required object for 0.005 USDC on Base. The agent pays that price in USDC and retries the request. The retry returns the JSON object and the grounded map.
Request and response
POST /extract takes a JSON body with two fields, text and schema. The response is a JSON object with two fields, object and grounded.
Request:
{"text": "clean the flat", "schema": {"type": "object", "additionalProperties": false, "required": ["house_place"], "properties": {"house_place": {"type": "string"}}}}
Response shape:
{"object": {"house_place": "flat"}, "grounded": {"house_place": true}}
The response block shows the shape. The value flat occurs in the input text, so the grounded flag follows the rule below. It is not a recorded call.
Schema limits
The schema is a flat object with additionalProperties false and at most 32 properties. required lists every property once. A property type is string, number, integer, boolean, or null. A property may include a description of at most 300 characters. Text longer than 40000 characters is rejected.
Grounded map
Grounded means the value occurs in the input, not that it is correct. An empty value is grounded. The grounded map is one boolean per field. True means the value is empty or its text occurs in the input.
Measured results
Measured on this service, with no field descriptions:
- MASSIVE short commands: 481 of 500 fields exact.
- VRDU registration forms: 491 of 600 fields matched.
- Long-document misses, adjudicated cold on an earlier prompt before the abstain rule was added: projected 91.4 percent of 600 fields, 95 percent interval 88.2 to 94.5.
Data handling
Request text, schemas and extracted values are never written to logs, files or databases; a daily canary test checks this. Access logs record the client IP address, path and status code. Requests pass through Cloudflare, and payments through the Coinbase x402 facilitator, under their own policies. Payment records are public on the Base blockchain.
Documents
Unpaid call
curl -sS -X POST https://extract.sentinelintel.org/extract -H "content-type: application/json" -d '{"text": "clean the flat", "schema": {"type": "object", "additionalProperties": false, "required": ["house_place"], "properties": {"house_place": {"type": "string"}}}}'
Operated by Sentinel Intelligence LLC.