Pull named fields out of unstructured text as strict JSON
Pull named fields out of unstructured text as strict JSON. You name the fields, you get an object back.
20000 (raw units)
price
2
calls / 30d
1
unique payers
2026-09-09
updated
Provider
loonie-toll.onrender.com · discovered, not yet claimed by its owner
Payment (x402 accepts[])
[
{
"scheme": "exact",
"network": "eip155:8453",
"payTo": "0xb531320805C5BED1D46AEaDcF4F008FDF172DBDa",
"asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
"amount": "20000",
"maxTimeoutSeconds": 300
},
{
"scheme": "exact",
"network": "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp",
"payTo": "DUPiupXtuox38dcGoXUKer5mAydCzmaHjrbQ66qeEm8s",
"asset": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
"amount": "20000",
"maxTimeoutSeconds": 300
},
{
"scheme": "exact",
"network": "eip155:137",
"payTo": "0xb531320805C5BED1D46AEaDcF4F008FDF172DBDa",
"asset": "0x3c499c542cEF5E3811e1192ce70d8cC03d5c3359",
"amount": "20000",
"maxTimeoutSeconds": 300
},
{
"scheme": "exact",
"network": "eip155:42161",
"payTo": "0xb531320805C5BED1D46AEaDcF4F008FDF172DBDa",
"asset": "0xaf88d065e77c8cC2239327C5EDb3A432268e5831",
"amount": "20000",
"maxTimeoutSeconds": 300
}
]Output schema
{
"bazaar": {
"info": {
"input": {
"method": "GET",
"queryParams": {
"fields": "invoice_number,vendor,amount,due_date,contact_email",
"text": "Invoice 4471 from Acme Corp for $2,150.00, due 2026-09-15. Contact [email protected]."
},
"type": "http"
},
"output": {
"example": {
"disclaimer": "Generated by a small local language model. Advisory only — it can be wrong, and it is not a substitute for review on anything consequential.",
"fields": {
"amount": 2150,
"contact_email": "[email protected]",
"due_date": "2026-09-15",
"invoice_number": "4471",
"vendor": "Acme Corp"
},
"found": 5,
"model": "openai/gpt-oss-120b",
"requested": 5,
"source": "local model",
"verdict": "COMPLETE"
},
"type": "json"
}
},
"schema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"input": {
"additionalProperties": false,
"properties": {
"method": {
"enum": [
"GET"
],
"type": "string"
},
"queryParams": {
"properties": {
"fields": {
"description": "Comma-separated field names to extract, e.g. name,email,amount,date",
"type": "string"
},
"text": {
"description": "The text to work on. 6000 characters maximum.",
"type": "string"
}
},
"required": [
"text",
"fields"
],
"type": "object"
},
"type": {
"const": "http",
"type": "string"
}
},
"required": [
"type",
"method"
],
"type": "object"
},
"output": {
"properties": {
"example": {
"properties": {
"disclaimer": {
"type": "string"
},
"fields": {
"properties": {
"amount": {
"type": "integer"
},
"contact_email": {
"type": "string"
},
"due_date": {
"type": "string"
},
"invoice_number": {
"type": "string"
},
"vendor": {
"type": "string"
}
},
"type": "object"
},
"found": {
"type": "integer"
},
"model": {
"type": "string"
},
"requested": {
"type": "integer"
},
"source": {
"type": "string"
},
"verdict": {
"type": "string"
}
},
"type": "object"
},
"type": {
"type": "string"
}
},
"required": [
"type"
],
"type": "object"
}
},
"required": [
"input"
],
"type": "object"
}
}
}Use it
curl
curl "https://loonie-toll.onrender.com/extract" # -> 402 Payment Required, accepts[] lists how to pay # retry with a PAYMENT-SIGNATURE (or PAYMENT header) once paid
JavaScript
const res = await fetch("https://loonie-toll.onrender.com/extract");
if (res.status === 402) {
const { accepts } = await res.json();
// pay one of accepts[] via an x402 client, then retry with the payment header
}Python
import httpx
res = httpx.get("https://loonie-toll.onrender.com/extract")
if res.status_code == 402:
accepts = res.json()["accepts"]
# pay one of accepts[] via an x402 client, then retry with the payment headerMachine-readable
Everything on this page is also available as clean JSON at /resources/7846.json, and this resource appears in /discovery/resources and /discovery/search.