{"uid":"cap_Wpv4c3TkDuiCWxmDwWrp2","slug":"allthebot-extract-json-from-text-afac0ce4","name":"AllTheBot Extract JSON from text","description":"Pay-per-call APIs for AI agents over x402: token safety reports, Base and Ethereum on-chain reads, crypto prices, domain checks (DNS, WHOIS, SSL, email), finance data (FX, SEC), worldwide weather forecasts, France alerts, text AI, fun content. USDC on Base, no account, no API key.","url":"https://api.zkrobotics.fr/x402/extract-json?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET","HEAD","DELETE"],"type":"string"},"queryParams":{"type":"object","required":["text"],"properties":{"text":{"type":"string","maxLength":6000},"fields":{"type":"string","maxLength":500}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","properties":{"data":{"type":"object"}}}}}}},"responseSchema":{"type":"json","example":{"data":{"date":"2026-03-03","total":"$120","number":"42","customer":"John Smith"}}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.007","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","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.007/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.007","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.007","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_beIS6xXcWd3tgC18JmspI","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.007","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Extracts structured JSON fields from unstructured text (invoices, emails, CVs, ads, etc.) given user-defined field names","exampleAgentPrompt":"Extract the invoice date, total amount, invoice number, and customer name from this text as JSON: 'Invoice #42 | Date: March 3 2026 | Billed to John Smith | Total due: $120.00 — please remit within 30 days.'","exampleUseCases":[{"title":"Invoice data extraction pipeline","prompt":"Pull out the invoice number, date, customer name, and total from this invoice text as structured JSON: 'INV-2024-0091, issued April 10 2024, to Acme Corp, amount due $4,350.00.'"},{"title":"CV parsing for recruiting","prompt":"From this CV snippet, extract the candidate's name, email, current job title, and years of experience as JSON: 'Jane Doe | jane@example.com | Senior Software Engineer at TechCorp | 8 years of experience in backend development.'"},{"title":"Ad copy field extraction","prompt":"Parse this classified ad and give me the product name, asking price, location, and seller contact as JSON: 'For sale: 2019 Honda Civic, excellent condition, $14,500 OBO. Located in Lyon. Contact: 06 12 34 56 78.'"}],"resultDescription":"A JSON object whose keys match the field names the caller specified, with values extracted from the input text. For example, {\"date\":\"2026-03-03\",\"total\":\"$120\",\"number\":\"42\",\"customer\":\"John Smith\"}.","failureModes":["Text exceeds 6,000 character limit — request rejected","Field names string exceeds 500 characters — truncated or rejected","Requested fields not present in the text — keys returned with null or empty values","Ambiguous or poorly formatted input may yield inaccurate extraction","Network or payment (x402) failure returns non-200 response"],"whenToPreferThis":"Choose this endpoint when you have unstructured natural-language text (invoices, emails, CVs, ads) in any language and need to extract specific named fields as clean JSON without writing custom parsers. Ideal for lightweight, per-document extraction tasks up to 6,000 characters where you define the schema at call time. Prefer alternatives if you need batch processing of very large documents, complex nested schemas, or OCR from images.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-12T18:40:58.220Z","isFirstParty":false,"canonicalSlug":"allthebot-extract-json-from-text-afac0ce4"}