{"uid":"cap_RtwVEUC8TRNn8YSDWD1j3","slug":"nojunk-ai-text-extract-49219944","name":"NoJunk AI Text – Extract","description":"NoJunk AI Text extract: Extract named fields from text into strict JSON; null for anything the text does not state, nothing invented.","url":"https://nojunk-ai-text.mick8511.workers.dev/extract?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"text":{"type":"string","description":"The text to extract from (1 to 24000 characters)"},"fields":{"type":["array","object"],"description":"Fields to extract: an array of 1-20 field names, or an object {name: description}"},"instructions":{"type":"string","description":"Optional extra extraction instructions"}}},"responseSchema":{"type":"json","example":{"data":{"ceo":"Jane Doe","company":"Acme Corp","revenue":"$4.2 billion","headquarters":null,"revenue_growth_pct":12},"model":"@cf/meta/llama-3.3-70b-instruct-fp8-fast","notes":"Headquarters is not mentioned in the text.","usage":{"prompt_tokens":260,"completion_tokens":48},"confidence":"high","generated_at":"2026-10-15T12:00:00.000Z"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.005","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.005/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_wlym8b3ISwRv7YwZr2UPx","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.005","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Extracts named fields from text into strict JSON using LLM intelligence, returning null for any field not found in the source text and never inventing data.","exampleAgentPrompt":"Extract the CEO name, company name, revenue, headquarters, and revenue growth percentage from this text and return them as JSON — if any field isn't mentioned, leave it null: 'Acme Corp, led by Jane Doe, reported $4.2 billion in revenue this quarter, representing 12% year-over-year growth.'","exampleUseCases":[{"title":"Structuring earnings report data","prompt":"Pull the company name, CEO, total revenue, net income, and revenue growth percentage out of this earnings press release text and give them to me as structured JSON, using null for anything not mentioned: [paste earnings text here]."},{"title":"Extracting job posting details","prompt":"From this job posting text, extract the job title, company name, location, salary range, required years of experience, and application deadline into a clean JSON object — null for anything not stated."},{"title":"Parsing contract key terms","prompt":"Read this contract excerpt and extract the parties involved, effective date, contract value, payment terms, and termination clause into JSON fields — only what's actually written, nothing made up."}],"resultDescription":"A JSON object with a `data` key containing each requested field mapped to its extracted value (or null if absent from the text), plus `model` (the LLM used), `confidence` (high/medium/low), `notes` (explanations for nulls or ambiguities), `usage` (prompt and completion token counts), and `generated_at` timestamp.","failureModes":["Text exceeds 24,000 character limit — request rejected","No fields specified or field list exceeds 20 items — validation error","Payment not processed — 402 response, no charge","LLM returns low-confidence result — confidence field reflects this","Text is in an unsupported encoding or binary format — extraction fails","Ambiguous field names lead to unexpected null returns — use descriptive field definitions object instead of plain array"],"whenToPreferThis":"Use this endpoint when you need strict, hallucination-resistant field extraction — it returns null rather than guessing, which is critical for structured data pipelines. Prefer it over general-purpose LLM calls when you need consistent JSON schema output, pay-per-result pricing (no charge on failure), and up to 24,000 characters of context. Best for agents that need to parse documents, reports, or articles into database-ready records without post-processing cleanup.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-16T12:30:06.049Z","isFirstParty":false,"canonicalSlug":"nojunk-ai-text-extract-49219944"}