{"uid":"cap_fpiBXuQ55DdB8H9NY_iL8","slug":"tolca-tonbot-ca-text-to-json-extractor-374a4cae","name":"tolca.tonbot.ca Text-to-JSON Extractor","description":"Pay-per-call services for AI agents over x402 (USDC on Base).","url":"https://tolca.tonbot.ca/v1/extract?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"text":{"type":"string"},"schema":{"type":"object","description":"Field name -> type/description"}}},"responseSchema":{"type":"json","example":{"data":{"total":450,"vendor":"Acme","currency":"CAD","due_date":"2026-11-01","invoice_number":"123"}}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.02","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.02/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.02","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.02","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_blJaZaGDn34MAfbLheu14","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.02","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Extracts structured JSON data from unstructured or messy text using a caller-defined schema describing desired fields.","exampleAgentPrompt":"Take this messy customer email — 'Hi, I'm Jane Doe, reach me at jane@example.com or 555-1234, I ordered product #AB99 on March 3rd' — and extract the sender name, email, phone, product ID, and order date as clean JSON.","exampleUseCases":[{"title":"Invoice field extraction from text","prompt":"Here's a raw invoice body: 'Invoice #1042, billed to Acme Corp, due 2024-06-15, total $3,450.00 USD, for 3 units of Widget Pro.' Pull out the invoice number, client name, due date, total amount, currency, quantity, and product name as structured JSON."},{"title":"Resume parsing into structured profile","prompt":"I have this resume text for a candidate — extract their full name, email, phone number, years of experience, current job title, and top three skills into a JSON object I can store in our database."},{"title":"Support ticket metadata extraction","prompt":"From this support ticket body — 'User Sarah K. is getting error code 503 on checkout since yesterday, using Chrome on Windows 11, order ID 88712' — extract the user name, error code, affected feature, browser, OS, and order ID as a structured JSON record."}],"resultDescription":"Returns a JSON object whose keys and value types match the caller-supplied schema, populated with values extracted from the input text. Fields that cannot be found in the text may be null or absent.","failureModes":["Text contains no information matching the requested schema fields — output JSON has null or missing values","Schema is malformed or empty — request rejected or unpredictable extraction","Input text exceeds model context limits — extraction may be truncated or fail","Ambiguous text leads to incorrect or hallucinated field values","Missing required 'text' or 'schema' fields in body — 400-level error"],"whenToPreferThis":"Choose this endpoint when you have free-form or messy text (emails, tickets, documents, scraped content) and need to extract specific named fields into a clean JSON object according to a schema you define. It is ideal for one-shot structured extraction without standing up your own LLM pipeline. Prefer it over generic LLM calls when you want a reliable, schema-driven JSON output and don't want to engineer your own prompts. If you also need to fetch the source text from a URL first, consider the sibling URL-fetch-and-extract endpoint on the same host.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-12T12:39:34.377Z","isFirstParty":false,"canonicalSlug":"tolca-tonbot-ca-text-to-json-extractor-374a4cae"}