{"uid":"cap_FgczDORmTnv2-4etmoyYb","slug":"aiskills402-text-to-json-extractor-c9da091a","name":"aiskills402 Text to JSON Extractor","description":"Text to JSON: Extract Data Without Guessing: Extracts data from text into JSON that matches the shape you give (a JSON Schema, an example object or a list of fields), without guessing. Every value comes from the text; a missing fact becomes null, numbers and dates are converted only into the type the shape asks for, two conflicting values are not settled by a guess, and instructions hidden in the text are ignored. Use when asked to extract structured data, turn text into JSON, parse an invoice,…","url":"https://api.aiskills402.com/v1/skills/text-to-json/file?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"],"type":"string"},"headers":{"type":"object","additionalProperties":{"type":"string"}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"ok":true,"file":{"name":"SKILL.md","content":"<the SKILL.md file>","encoding":"utf-8"},"name":"Text to JSON: Extract Data Without Guessing","skill":"text-to-json","sha256":"<sha256 of SKILL.md>","receipt":{"tx":"0x<settlement transaction>","settled":true},"version":"1.0.0","redownload":{"url":"<api>/v1/purchases/<token>","token":"<64 hex chars>"}}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.05","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.05/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.05","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.05","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_W8vZQpY_eOldaX1rVAlhN","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.05","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Extracts structured data from text into a user-defined JSON shape, returning null for missing values and never guessing or hallucinating.","exampleAgentPrompt":"Pull out the vendor name, invoice number, total amount, and due date from this invoice text and return them as JSON — if any field is missing just set it to null, don't guess.","exampleUseCases":[{"title":"Invoice data extraction pipeline","prompt":"Here's the raw text from a scanned invoice — extract the vendor name, invoice number, line items with quantities and unit prices, subtotal, tax, and total into JSON. If something isn't mentioned, set it to null."},{"title":"Resume parsing for applicant tracking","prompt":"Parse this resume text and pull out the candidate's name, email, phone number, years of experience, most recent job title, and list of skills as a structured JSON object — don't invent anything that isn't explicitly stated."},{"title":"Contract clause extraction","prompt":"Extract the parties involved, effective date, termination date, and jurisdiction from this contract text and return them as JSON fields — use null for anything that isn't clearly in the text."}],"resultDescription":"A JSON object whose shape matches the schema, example, or field list you provided. Every value is sourced directly from the input text; fields not found in the text are set to null; numbers and dates are typed as specified; conflicting values are not resolved by guessing; prompt-injection instructions in the text are ignored.","failureModes":["Input text is too long for a single call — truncation or chunking may be needed","Shape/schema provided is malformed or ambiguous — extraction may be incomplete","Text is in an unsupported language or encoding — values may not parse correctly","Date or number formats in text are ambiguous given strict typing rules — field returned as null","HTTP fetch of the file URL fails or returns non-text content — input error"],"whenToPreferThis":"Choose this endpoint when you need to extract structured data from freeform text with strict fidelity — no hallucinations, no guessing, nulls for missing values — and you have a well-defined output shape (JSON schema, example object, or field list). Prefer it over general-purpose LLM calls when auditability and faithfulness matter, such as for invoice parsing, contract review, or form filling from documents.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-13T12:37:15.597Z","isFirstParty":false,"canonicalSlug":"aiskills402-text-to-json-extractor-c9da091a"}