{"uid":"cap_PMVd6VdeKwBd9Rbi99bJY","slug":"automaton-paid-api-named-field-extraction-74bf73b9","name":"Automaton Paid API – Named Field Extraction","description":"Extract named fields from unstructured text into strict JSON. Use when an agent must turn an email, filing, invoice, or description into {field: value} records up to 4,000 characters.","url":"https://automaton-paid.sharkquant.ai/v1/extract?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"],"type":"string"},"queryParams":{"type":"object","required":["text","fields"],"properties":{"text":{"type":"string","maxLength":4000,"minLength":1,"description":"Unstructured text (URL-encoded query parameter)"},"fields":{"type":"string","description":"Comma-separated field names, max 8"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.001","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.001/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_4q6f7R18eBdpp2Yi2dQ4L","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.001","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Extracts up to 8 named fields from unstructured text (emails, invoices, filings, descriptions) and returns them as a strict JSON key-value record.","exampleAgentPrompt":"Pull the vendor name, invoice number, total amount, due date, and payment terms out of this invoice text and give me the results as JSON: 'Invoice #INV-2047 from Acme Supplies LLC, dated March 15 2025. Total due: $4,320.00. Payment terms: Net 30. Please remit by April 14 2025.'","exampleUseCases":[{"title":"Invoice data entry automation","prompt":"Extract the vendor name, invoice number, total amount, and due date from this invoice text: 'Invoice #5821 — BrightEdge Technologies, issued 2025-02-10, amount due $12,450.00, payment due by 2025-03-12.'"},{"title":"Job posting structured parsing","prompt":"Parse this job description and pull out the job title, required years of experience, location, and salary range: 'We are hiring a Senior Data Engineer in Austin, TX. Candidates must have 5+ years of experience. Salary: $130,000–$160,000 per year.'"},{"title":"Email lead capture","prompt":"From this sales inquiry email, extract the sender's company name, contact name, product interest, and budget: 'Hi, I'm Sarah Chen from Meridian Logistics. We're interested in your fleet tracking software and have a budget of around $20,000 annually.'"}],"resultDescription":"A JSON object where each requested field name maps to the value extracted from the input text. If a field cannot be found, it will typically be null or an empty string. The response is strict JSON suitable for downstream processing.","failureModes":["Text exceeds 4,000 characters — request rejected or truncated","More than 8 fields requested — excess fields may be ignored or error returned","Field names are ambiguous and cannot be reliably matched to text content — values may be incorrect or null","Unstructured text is too vague or lacks the requested fields — returns null values","Payment authorization failure via x402 protocol — 402 response before extraction occurs","Malformed or non-URL-encoded text query parameter — 400 bad request"],"whenToPreferThis":"Choose this endpoint when you need to turn free-form text (emails, invoices, filings, product descriptions) into structured {field: value} JSON with a predefined set of field names, especially when the text is under 4,000 characters and you need up to 8 specific fields. It is ideal for document digitization pipelines, data entry automation, and lead enrichment workflows where downstream systems require strict JSON. Prefer this over general-purpose LLM calls when you want a cheap, deterministic, pay-per-call extraction without managing prompts.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-30T06:36:32.224Z","isFirstParty":false,"canonicalSlug":"automaton-paid-api-named-field-extraction-74bf73b9"}