{"uid":"cap_xszQCJaTbMFIhLLep9qa8","slug":"dexl-agents-extract-data-10b8c660","name":"DexL Agents – Extract Data","description":"Pull named fields out of free text as JSON - names, dates, amounts, references, anything you list. Every field you ask for appears in the answer: one the text does not contain comes back null rather than guessed, so \"not in the text\" and \"model did not answer\" are never confused. Fixed price per call.","url":"https://agents.dexl.io/v1/tools/extract-data","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"text":{"type":"string","maxLength":8000},"fields":{"type":"array","items":{"oneOf":[{"type":"string","description":"Field name"},{"type":"object","required":["name"],"properties":{"name":{"type":"string"},"type":{"enum":["string","number","boolean","array"],"type":"string"},"description":{"type":"string"}}}]},"maxItems":25,"minItems":1}}},"responseSchema":{"type":"json","example":{"units":1,"cached":false,"output":{}}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","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.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_6SpMu58gIN12mFM--fcCE","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Extracts structured fields from unstructured text using AI, returning a typed JSON object with the requested named fields","exampleAgentPrompt":"From this invoice text, extract the vendor name, invoice date, total amount, and due date as structured fields: 'Invoice #4821 from Acme Corp, dated March 15 2025, total due $1,240.00, payment by April 15 2025.'","exampleUseCases":[{"title":"Invoice field extraction for accounting","prompt":"Extract the vendor name, invoice number, invoice date, total amount, and payment due date from this invoice text: 'Invoice #7742 from Brightwater Supplies LLC, issued January 10 2025, total $3,580.00, net 30 days.'"},{"title":"Job posting structured parsing","prompt":"I have a raw job posting — can you pull out the job title, required years of experience, location, salary range, and employment type? Here's the text: 'Senior Backend Engineer at DataFlow Inc, 5+ years required, remote-friendly (US only), $140k–$170k, full-time.'"},{"title":"Customer feedback entity extraction","prompt":"From this support ticket, extract the customer name, product mentioned, issue type, and urgency level: 'Hi, I'm Jane Doe and my DataPod Pro subscription stopped working after the update yesterday — billing shows I'm still charged. This is urgent.'"}],"resultDescription":"A JSON object with a `output` field containing the extracted key-value pairs for each requested field, plus `units` (billing units consumed, typically 1) and `cached` (boolean indicating whether the result was served from cache). Field values are typed according to the schema provided (string, number, boolean, or array).","failureModes":["Text exceeds 8000 character limit — request rejected with validation error","More than 25 fields requested — schema validation failure","Field types mismatched to actual content — may return null or empty values for unrecognized fields","Ambiguous or vague field descriptions — extracted values may be incorrect or missing","Payment failure via x402 — request not processed","Model hallucination — fields may be filled with plausible but incorrect values if the text is ambiguous"],"whenToPreferThis":"Choose this endpoint when you need to extract a known set of named fields from unstructured or semi-structured text without writing custom parsing logic. It is ideal for documents like invoices, emails, job postings, support tickets, and product descriptions where the schema is known in advance. It is preferable to raw LLM calls when you want a pay-per-call, no-account-required extraction with typed output and a structured response schema. Use alternatives if you need to extract entities without a predefined schema (open-ended NER) or if the input exceeds 8000 characters.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-13T12:49:40.185Z","isFirstParty":false}