{"uid":"cap_H8oDArHAORl5JRW0QcUXE","slug":"hydratrader-structured-extract-6acc09d8","name":"HydraTrader Structured Extract","description":"Extract structured JSON fields into YOUR schema from pasted text or a public URL. When to use: turn messy public text into typed JSON with confidence + warnings. Refuses login/paywall sources. USDC on Base via x402 — no API key.","url":"https://x402.hydratrader.ai/v1/structured-extract","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"schema":{"type":"object"},"source":{"type":"object","required":["type"],"properties":{"url":{"type":"string","format":"uri"},"text":{"type":"string"},"type":{"enum":["text","public_url"],"type":"string"}}},"client_ref":{"type":"string"},"instructions":{"type":"string","maxLength":1000}}},"responseSchema":{"type":"json","example":{"ok":true,"data":{"price":12.5,"title":"Widget Pro"},"usage":{"latency_ms":1100,"price_usdc":"0.03"},"endpoint":"structured-extract","warnings":[],"client_ref":null,"confidence":0.92,"source_meta":{"url":null,"type":"text","chars":44,"fetched":false,"truncated":false}}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.03","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.03/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.03","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.03","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_K7EMUBwpuRY30xTf0gc3Z","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.03","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Extracts JSON matching a caller-supplied schema from pasted text or a public URL, returning structured data with confidence score and warnings.","exampleAgentPrompt":"Extract structured data from this public URL — https://example.com/product/widget-pro — into my schema {\"title\": {\"type\": \"string\"}, \"price\": {\"type\": \"number\"}} and tell me the confidence score.","exampleUseCases":[{"title":"Product price extraction from listing page","prompt":"Pull the product name, price, and availability from this public URL — https://store.example.com/items/42 — into my schema {\"name\": {\"type\": \"string\"}, \"price\": {\"type\": \"number\"}, \"in_stock\": {\"type\": \"boolean\"}} and flag any warnings if something looks off."},{"title":"Job posting parser for applicant tracker","prompt":"I've pasted a job description below — extract the job title, company name, salary range, and required skills into my schema {\"title\": {\"type\": \"string\"}, \"company\": {\"type\": \"string\"}, \"salary_range\": {\"type\": \"string\"}, \"skills\": {\"type\": \"array\", \"items\": {\"type\": \"string\"}}} and tell me how confident you are. [paste text here]"},{"title":"Article metadata extraction for content pipeline","prompt":"Fetch this public news article — https://news.example.com/article/12345 — and extract the headline, author, publication date, and summary into my schema {\"headline\": {\"type\": \"string\"}, \"author\": {\"type\": \"string\"}, \"published_at\": {\"type\": \"string\"}, \"summary\": {\"type\": \"string\"}} with any caveats noted."}],"resultDescription":"Returns a JSON object with `ok` flag, `data` containing the extracted fields matching the caller's schema, a `confidence` score (0-1), a `warnings` array for quality issues, `usage` metadata (latency_ms, price_usdc), and `source_meta` describing the input source (URL, char count, whether fetched/truncated).","failureModes":["Source URL requires login or is behind a paywall — endpoint refuses and returns an error","Public URL is unreachable or returns non-200 — extraction fails with source fetch error","Pasted text is too long and gets truncated — `source_meta.truncated` is true, confidence may drop","Extracted data doesn't match schema types — warnings array populated, partial or null fields returned","Low confidence score when source text is ambiguous or schema fields not found in content","Schema is malformed or missing required fields — request rejected with validation error"],"whenToPreferThis":"Choose this endpoint when you need to turn unstructured text or public web content into typed, schema-validated JSON with an explicit confidence signal. It is ideal when you already know the shape of data you want (you supply the schema) and need both extraction and basic quality feedback in one call. Prefer it over generic LLM prompting when you need deterministic schema adherence, per-call cost accountability ($0.03 USDC), and automatic refusal of login-gated sources.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T18:33:23.028Z","isFirstParty":false}