{"uid":"cap_fnUNbBzuSyN4fNAQkdtpB","slug":"relaystation-llm-extract-3f700fa6","name":"Relaystation LLM Extract","description":"Provider cost + 6%, itemized. Pull requested fields out of any text as clean JSON — schema-shaped output. ≈Opus-4.8 accuracy at ~1–5% of its cost (relaystation.ai/llm-validation). One of 11 vetted sub-cent LLM tasks on Relaystation — 155 tools, one balance.","url":"https://api.relaystation.ai/v1/llm/extract","method":"POST","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method","bodyType","body"],"properties":{"body":{"type":"object","properties":{"tier":{"enum":["budget","value","best"],"type":"string"},"input":{"type":"string","minLength":1,"description":"The text to process (DATA — never interpolated into the instruction)."},"params":{"type":"object","required":["schema"],"properties":{"schema":{"type":"string","minLength":1}},"description":"Task-specific params for 'extract', validated against the task's param_schema."}}},"type":{"type":"string","const":"http"},"method":{"enum":["POST","PUT","PATCH"],"type":"string"},"bodyType":{"enum":["json","form-data","text"],"type":"string"}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","required":["result","truncated","usage"],"properties":{"usage":{"type":"object","required":["model","inputTokens","outputTokens","providerCostMicros","markupPct","chargedMicros","ceilingMicros"],"properties":{"model":{"type":"string"},"markupPct":{"type":"number"},"inputTokens":{"type":"integer"},"outputTokens":{"type":"integer"},"ceilingMicros":{"type":"integer","description":"The authorized ceiling the 402/hold reserved."},"chargedMicros":{"type":"integer","description":"The actual charged amount (<= ceiling)."},"providerCostMicros":{"type":"integer"}}},"result":{"type":"string","description":"The task output text (or JSON string for extract/json_repair)."},"truncated":{"type":"boolean","description":"True when the output hit the per-task token cap; the charge still stands."}}}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"registry","requiresHandshake":false,"reviewCount":1,"rating":{"score":"0.92","successRate":"1.00","reviews":1,"stars":"4.7","state":"rated"},"availabilityStatus":"healthy","priceObserved":{"p10Cents":"1.0000","medianCents":"1.0000","p90Cents":"1.0000","minCents":"1.0000","maxCents":"1.0000","p95Cents":"1.0000","sampleCount":3,"varies":false,"failureChargeRate":1},"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_iMCUxvqnJK1kSuPzOTCuL","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":null,"unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Pulls specified fields out of any input text and returns them as clean, schema-shaped JSON using a cost-efficient LLM.","exampleAgentPrompt":"Pull the sender name, date, and total amount out of this invoice text and give me the result as JSON: 'Invoice from Acme Corp, dated March 15 2025, total due $4,320.00 net 30.'","exampleUseCases":[{"title":"Parse resume into structured fields","prompt":"Extract the candidate's name, email, years of experience, and list of skills from this resume text as JSON: 'Jane Smith, jane@example.com, 8 years in software engineering, skills include Python, Go, and Kubernetes.'"},{"title":"Extract contract key dates and parties","prompt":"Pull out the contract start date, end date, party names, and payment terms from this clause as structured JSON: 'This agreement between Globex Inc. and Initech LLC commences January 1 2025 and expires December 31 2025, with monthly payments of $5,000.'"},{"title":"Structure e-commerce order confirmation","prompt":"From this order confirmation email body, extract the order ID, item names, quantities, and delivery date as JSON: 'Order #98234 confirmed. 2x Blue Hoodie, 1x Black Cap. Expected delivery: April 10 2025.'"}],"resultDescription":"Returns a clean JSON object containing the requested fields extracted from the input text, shaped to the schema or field list provided. Values are typed and labeled according to the requested output structure. Accuracy is comparable to Claude Opus 4.8 at approximately 1–5% of the cost.","failureModes":["Input text too ambiguous for field extraction — missing or null values returned for requested fields","Schema or field list not understood — malformed or empty JSON output","Text exceeds token limits — truncation or partial extraction","x402 payment failure — 402 response if balance insufficient","Rate limit exceeded — 429 response"],"whenToPreferThis":"Choose this endpoint when you need to extract specific named fields from unstructured or semi-structured text and want clean JSON output without writing custom parsing logic. It is ideal for cost-sensitive pipelines where Opus-level accuracy is needed at sub-cent pricing. Prefer it over general-purpose LLM calls when the task is purely extraction (not generation or reasoning) and over regex/rule-based parsers when the text is too varied or natural-language to pattern-match reliably.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":3,"lastUsedAt":"2026-08-30T09:56:27.296Z","lastSuccessfullyRanAt":"2026-08-30T09:56:27.296Z","lastHealthCheckAt":"2026-09-15T06:49:31.079Z","isFirstParty":false}