{"uid":"cap_3Oq1LEmWkCJ9sE9bvo3B4","slug":"agentutility-structured-extract-dabeaf4d","name":"AgentUtility Structured Extract","description":"817 pay-per-call APIs for AI agents. Every endpoint is POST /<name> and is payable in USDC over x402 on Base and Solana — no signup, no API key, just pay-per-call. GET https://x402.agentutility.ai/ returns the same catalog as machine-readable JSON.","url":"https://x402.agentutility.ai/structured-extract?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method","bodyType","body"],"properties":{"body":{"required":["text","schema"],"properties":{"text":{"type":"string","description":"Source text. Up to 30,000 chars."},"schema":{"type":"object","description":"JSON Schema describing the desired output object. The handler relays this to the model and validates the result's top-level shape."}}},"type":{"type":"string","const":"http"},"method":{"enum":["POST"],"type":"string"},"bodyType":{"enum":["json","form-data","text"],"type":"string"}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","properties":{"model":{"type":"string"},"schema":{"type":"object","properties":{"type":{"type":"string"},"required":{"type":"array","items":{"type":"string"}},"properties":{"type":"object","properties":{"age":{"type":"object","properties":{"type":{"type":"string"}}},"city":{"type":"object","properties":{"type":{"type":"string"}}},"name":{"type":"object","properties":{"type":{"type":"string"}}},"email":{"type":"object","properties":{"type":{"type":"string"}}}}}}},"source":{"type":"string"},"extracted":{"type":"object","properties":{"age":{"type":"integer"},"city":{"type":"string"},"name":{"type":"string"},"email":{"type":"string"}}},"validates":{"type":"boolean"}}}}}}},"responseSchema":{"type":"json","example":{"model":"zai-org-glm-4.7","schema":{"type":"object","required":["name"],"properties":{"age":{"type":"number"},"city":{"type":"string"},"name":{"type":"string"},"email":{"type":"string"}}},"source":"venice","extracted":{"age":42,"city":"NYC","name":"John Smith","email":"john@example.com"},"validates":true}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"registry","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_Y-4ByedffgzTx5GZ_BTPC","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":null,"unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Extracts structured data from free-form text using an LLM, validating the output against a caller-provided JSON Schema.","exampleAgentPrompt":"Pull the name, email, age, and city out of this paragraph and give me the result as structured JSON: 'Hi, I'm John Smith, 42 years old, living in NYC. You can reach me at john@example.com.'","exampleUseCases":[{"title":"Resume field extraction","prompt":"Parse out the candidate's full name, email address, years of experience, and current job title from this resume text and return it as structured JSON: 'Jane Doe | jane.doe@email.com | Senior Engineer at Acme Corp, 8 years exp...'"},{"title":"Contact info parsing from emails","prompt":"From this raw email body, extract the sender's name, phone number, company name, and city into a structured object — here's the text: 'Thanks for reaching out! I'm Mark Rivera from BrightPath Inc., based in Austin. Call me at 512-555-0192.'"},{"title":"Product detail extraction from listing","prompt":"Pull the product name, price, SKU, and available colors out of this product listing text and return them as structured JSON: 'Model X Pro - SKU: MXP-4421 - $299.99 - Available in Black, Silver, and Red.'"}],"resultDescription":"Returns a JSON object containing: the extracted data object matching the caller-provided schema, a boolean 'validates' flag indicating whether the output conforms to the schema, the schema used, the model name that performed the extraction, and the source/provider name.","failureModes":["Text exceeds 30,000 character limit — request rejected","Provided JSON Schema is malformed or unparseable — extraction fails","LLM unable to find required fields in text — extracted object may be incomplete or null","Schema validation fails — 'validates' field returns false with partial extraction","Network or payment failure — x402 payment not processed, request not executed"],"whenToPreferThis":"Choose this endpoint when you need to reliably extract typed, schema-validated structured data from arbitrary free-form text without managing your own LLM infrastructure or API keys. It is ideal for one-off or low-volume extraction tasks where paying $0.01 per call is preferable to provisioning a model. Prefer it over raw LLM calls when you need the output validated against a JSON Schema automatically.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-28T00:57:02.603Z","isFirstParty":false,"canonicalSlug":"agentutility-structured-extract-dabeaf4d"}