Extract structured fields from a web page or text
extractStructured data from a web page (url) or your own text: give a schema of up to 20 field names with what each holds, and get a JSON object with exactly those fields, null where the text does not state one. Llama 3.3 70B. Text is capped at 12,000 characters; a model answer that is not JSON is retried once, then not charged. Price: $0.004 per successful call, paid with x402 (USDC on Base, Solana and 10 more networks); failed calls are not charged.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"schema": "<schema>"
},
"name": "extract"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | No | Web page to read (or text) | |
| text | No | Text to read (up to 12,000 characters), instead of url | |
| schema | Yes | Field name to what the field holds, up to 20 fields | |
| instructions | No | Optional extra instructions, up to 500 characters |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| note | No | ||
| model | No | ||
| fields | No | ||
| checkedAt | No |