{"uid":"cap_JTQ5nAHmB3NCv3Hvb-Ycw","slug":"x402-bazaar-ai-field-extractor-905c5d53","name":"x402 Bazaar AI Field Extractor","description":"Pull named fields out of any text as clean JSON (e.g. name, email, company, date). Powered by Claude structured outputs. Paid via x402: $0.02 in USDC on Base (eip155:8453) to 0x973a31858f4d2125f48c880542da11a2796f12d6. Returns 402 with payment requirements; pay and retry.","url":"https://api.relai.fi/relay/1782567677091/api/x402/ai-extract?utm_source=zero.xyz","method":"POST","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"},"pathParams":{"type":"object"},"queryParams":{"type":"object","required":["text"],"properties":{"list":{"type":"string","description":"Extract all records (true/false)"},"text":{"type":"string","description":"Source text"},"fields":{"type":"string","description":"Fields (comma-separated)"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.05","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_UzVV4fqm6VF8bnkvCwtdb","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 named fields (e.g. name, email, company, date) from arbitrary text and returns clean structured JSON, powered by Claude, paid via x402 micropayment.","exampleAgentPrompt":"Can you pull out the name, email, company, and date from this text: 'Hi, I'm Sarah Johnson from Acme Corp — reach me at sarah@acme.com, I'm free after March 15th'?","exampleUseCases":null,"resultDescription":"A clean JSON object with each requested field as a key mapped to its extracted value from the input text. Fields not found in the text may be null or omitted. Response is structured output produced by Claude.","failureModes":["402 Payment Required returned on first call — agent must read payment requirements, send $0.02 USDC on Base to the specified address, then retry","Text contains no recognizable values for the requested fields — returns JSON with null or empty values","Ambiguous or conflicting field values in text — model may pick one interpretation","Malformed request body — 400 error if text or field list is missing","Network or relay timeout from api.relai.fi"],"whenToPreferThis":"Use this endpoint when you need to extract specific named fields from free-form, unstructured text and want a clean JSON response without building your own prompt engineering. Ideal for parsing contact info, form submissions, emails, or any prose where you know the field names you want. Prefer over general LLM calls when you want a guaranteed structured output at a fixed low cost per call via x402 micropayment.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-09T18:47:45.916Z","isFirstParty":false,"canonicalSlug":"x402-bazaar-ai-field-extractor-905c5d53"}