{"uid":"cap_wBGwOg3pg0cwRkhQgReXO","slug":"whatchuneed-llm-extract-structured-data-extraction-from-text-3568f1e3","name":"WhatChuNeed LLM Extract — Structured Data Extraction from Text","description":"320+ pay-per-call API endpoints across accommodation, LLM, code execution, crypto, medical, finance, and more. One API, one payment. Powered by x402 protocol.","url":"https://whatchuneed.vercel.app/api/llm/extract","method":"POST","headers":{},"bodySchema":{"type":"object","required":["text","schema"],"properties":{"text":{"type":"string"},"schema":{"type":"object","description":"Expected output structure"}}},"responseSchema":{"type":"object","properties":{"data":{"type":"object"},"confidence":{"type":"number"},"source_fields":{"type":"array","items":{"type":"string"}}}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.1","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.1/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.1","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.1","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_3rVaitndnIABXt9npwegm","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.1","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 unstructured text according to a caller-specified JSON schema, returning typed fields with confidence scores","exampleAgentPrompt":"Extract the patient name, date of birth, diagnosis, and prescribed medications from this clinical note and return them as structured JSON: 'John Doe, DOB 1978-04-12, presented with hypertension, prescribed lisinopril 10mg and aspirin 81mg.'","exampleUseCases":[{"title":"Parse resume into structured profile","prompt":"Pull out the candidate's name, email, years of experience, top skills, and most recent job title from this resume text and give it to me as structured fields: 'Jane Smith | jane@email.com | 8 years in software engineering | Skills: Python, Go, Kubernetes | Most recent role: Senior Backend Engineer at Acme Corp.'"},{"title":"Extract invoice line items from receipt","prompt":"Extract the vendor name, invoice date, line items with quantities and unit prices, and total amount from this invoice text: 'Invoice from SupplyCo, dated 2024-06-15. 3x Widget A @ $12.00, 5x Widget B @ $8.50. Total: $78.50.'"},{"title":"Structure product info from a listing description","prompt":"From this product description, extract the product name, brand, dimensions, weight, color, and price as structured data: 'The AcmePro X200 by BrandCo is a matte black ergonomic chair measuring 24x26x48 inches, weighing 35 lbs, priced at $349.99.'"}],"resultDescription":"Returns a JSON object with three fields: 'data' containing the extracted values mapped to the caller-specified schema keys, 'confidence' as a 0–1 float indicating how reliably the extraction was performed, and 'source_fields' as an array of field names that were successfully populated from the source text.","failureModes":["Schema mismatch: if the schema specifies fields not present in the text, those fields may be absent or null in the output","Low confidence: ambiguous or incomplete text may yield a confidence score near 0 indicating unreliable extraction","Malformed schema: if the schema object is invalid JSON or empty, the endpoint may return a 400 error","Text too short or vague: very sparse input may result in an empty data object with zero source_fields","Rate or payment issues: without valid x402 payment, the endpoint returns 402 Payment Required"],"whenToPreferThis":"Choose this endpoint when you have raw, unstructured text and need to map it to a specific typed schema — especially when field names and types are known in advance. It is ideal over general-purpose LLM chat endpoints when you need deterministic JSON output with a confidence signal and explicit field attribution. Prefer it over regex or rule-based parsers when the text format is variable or semi-structured.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T18:55:56.946Z","isFirstParty":false}