Extract structured JSON fields into YOUR schema from pasted text or a public URL
Extract structured JSON fields into YOUR schema from pasted text or a public URL. When to use: turn messy public text into typed JSON with confidence + warnings. Refuses login/paywall sources. USDC on Base via x402 — no API key.
30000 (raw units)
price
3
calls / 30d
1
unique payers
2026-09-12
updated
Provider
x402.hydratrader.ai · discovered, not yet claimed by its owner
Payment (x402 accepts[])
[
{
"scheme": "exact",
"network": "eip155:8453",
"payTo": "0x55d06e282a699710e03088c218a9e79d2b1616fc",
"asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
"amount": "30000",
"maxTimeoutSeconds": 300
}
]Output schema
{
"bazaar": {
"info": {
"input": {
"body": {
"schema": {
"additionalProperties": false,
"properties": {
"price": {
"type": "number"
},
"title": {
"type": "string"
}
},
"required": [
"title"
],
"type": "object"
},
"source": {
"text": "Widget Pro costs $12.50 and ships in 2 days.",
"type": "text"
}
},
"bodyType": "json",
"method": "POST",
"type": "http"
},
"output": {
"example": {
"client_ref": null,
"confidence": 0.92,
"data": {
"price": 12.5,
"title": "Widget Pro"
},
"endpoint": "structured-extract",
"ok": true,
"source_meta": {
"chars": 44,
"fetched": false,
"truncated": false,
"type": "text",
"url": null
},
"usage": {
"latency_ms": 1100,
"price_usdc": "0.03"
},
"warnings": []
},
"type": "json"
}
},
"schema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"input": {
"additionalProperties": false,
"properties": {
"body": {
"properties": {
"client_ref": {
"type": "string"
},
"instructions": {
"maxLength": 1000,
"type": "string"
},
"schema": {
"type": "object"
},
"source": {
"properties": {
"text": {
"type": "string"
},
"type": {
"enum": [
"text",
"public_url"
],
"type": "string"
},
"url": {
"format": "uri",
"type": "string"
}
},
"required": [
"type"
],
"type": "object"
}
},
"required": [
"source",
"schema"
]
},
"bodyType": {
"enum": [
"json",
"form-data",
"text"
],
"type": "string"
},
"method": {
"enum": [
"POST"
],
"type": "string"
},
"type": {
"const": "http",
"type": "string"
}
},
"required": [
"type",
"method",
"bodyType",
"body"
],
"type": "object"
},
"output": {
"properties": {
"example": {
"type": "object"
},
"type": {
"type": "string"
}
},
"required": [
"type"
],
"type": "object"
}
},
"required": [
"input"
],
"type": "object"
}
},
"builder-code": {
"info": {
"s": [
"cdp_sdk_server"
]
},
"schema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false,
"properties": {
"a": {
"description": "App builder code",
"pattern": "^[a-z0-9_]{1,32}$",
"type": "string"
},
"s": {
"description": "Service builder codes",
"items": {
"pattern": "^[a-z0-9_]{1,32}$",
"type": "string"
},
"maxItems": 11,
"type": "array"
},
"w": {
"description": "Wallet builder code",
"pattern": "^[a-z0-9_]{1,32}$",
"type": "string"
}
},
"type": "object"
}
},
"eip2612GasSponsoring": {},
"erc20ApprovalGasSponsoring": {}
}Use it
curl
curl "https://x402.hydratrader.ai/v1/structured-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://x402.hydratrader.ai/v1/structured-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://x402.hydratrader.ai/v1/structured-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/8656.json, and this resource appears in /discovery/resources and /discovery/search.