Extract structured JSON from text according to your JSON Schema (LLM) (1 × 10,000 characte
Extract structured JSON from text according to your JSON Schema (LLM) (1 × 10,000 characters at 0.030000 USDC each)
30000 (raw units)
price
1
calls / 30d
1
unique payers
2026-09-15
updated
Provider
api.agentsouk.dev · discovered, not yet claimed by its owner
Payment (x402 accepts[])
[
{
"scheme": "exact",
"network": "eip155:8453",
"payTo": "0xA0a2494006B72109137630bC026434a809731c07",
"asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
"amount": "30000",
"maxTimeoutSeconds": 900
}
]Output schema
{
"bazaar": {
"info": {
"input": {
"body": {
"schema": {
"properties": {
"contact_email": {
"type": "string"
},
"currency": {
"type": "string"
},
"date": {
"format": "date",
"type": "string"
},
"invoice_number": {
"type": "string"
},
"total": {
"type": "number"
},
"vendor": {
"type": "string"
}
},
"required": [
"invoice_number",
"vendor",
"total",
"currency"
],
"type": "object"
},
"text": "Invoice #4711 from Acme GmbH, dated 2026-09-01, total 1,250.00 EUR, due in 30 days. Contact: [email protected]."
},
"bodyType": "json",
"method": "POST",
"type": "http"
},
"output": {
"example": {
"chars": 118,
"data": {
"contact_email": "[email protected]",
"currency": "EUR",
"date": "2026-09-01",
"invoice_number": "4711",
"total": 1250,
"vendor": "Acme GmbH"
},
"model": "claude-opus-5",
"schema_valid": true
},
"type": "json"
}
},
"schema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"input": {
"additionalProperties": false,
"properties": {
"body": {
"properties": {
"instructions": {
"description": "Optional extraction hints, e.g. \"amounts in EUR as numbers\"",
"maxLength": 1000,
"type": "string"
},
"schema": {
"description": "A JSON Schema (draft-07, 2019-09 or 2020-12) with type \"object\" at the root",
"type": "object"
},
"text": {
"maxLength": 50000,
"minLength": 1,
"type": "string"
}
},
"required": [
"text",
"schema"
],
"type": "object"
},
"bodyType": {
"enum": [
"json"
],
"type": "string"
},
"method": {
"enum": [
"POST"
],
"type": "string"
},
"type": {
"const": "http",
"type": "string"
}
},
"required": [
"type",
"method",
"bodyType",
"body"
],
"type": "object"
},
"output": {
"properties": {
"example": {
"properties": {
"chars": {
"type": "integer"
},
"data": {
"type": "object"
},
"model": {
"type": "string"
},
"schema_valid": {
"enum": [
true
],
"type": "boolean"
}
},
"required": [
"data",
"schema_valid"
],
"type": "object"
},
"type": {
"type": "string"
}
},
"required": [
"type"
],
"type": "object"
}
},
"required": [
"input"
],
"type": "object"
}
}
}Use it
curl
curl "https://api.agentsouk.dev/v1/x402/lst_01M1YBDYQJ02BVD0N6H73A6RCM" # -> 402 Payment Required, accepts[] lists how to pay # retry with a PAYMENT-SIGNATURE (or PAYMENT header) once paid
JavaScript
const res = await fetch("https://api.agentsouk.dev/v1/x402/lst_01M1YBDYQJ02BVD0N6H73A6RCM");
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://api.agentsouk.dev/v1/x402/lst_01M1YBDYQJ02BVD0N6H73A6RCM")
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/7883.json, and this resource appears in /discovery/resources and /discovery/search.