{"uid":"cap_Tn-ryUpiWRsnRhYBSLS-c","slug":"agent-de-survie-json-field-extractor-bf656c38","name":"Agent de survie – JSON Field Extractor","description":"Extrait des données structurées (JSON) d'un texte libre : factures, annonces, e-mails... (6 000 caractères max). 'fields' décrit ce qu'il faut extraire.","url":"https://velux.taild4d007.ts.net:8443/x402/extract-json?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","HEAD","DELETE"],"type":"string"},"queryParams":{"type":"object","required":["text"],"properties":{"text":{"type":"string","maxLength":6000},"fields":{"type":"string","maxLength":500}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","properties":{"data":{"type":"object"}}}}}}},"responseSchema":{"type":"json","example":{"data":{"total":"120 €"}}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.007","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.007/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.007","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.007","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_VGjcvbF7odewCnp4sXOvJ","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.007","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Extracts specified fields from unstructured or semi-structured text and returns them as a structured JSON object","exampleAgentPrompt":"Take this invoice text — 'Invoice #4521, Date: 2024-06-15, Vendor: Acme Corp, Total: 120 €, Tax: 20 €' — and extract the fields: invoice_number, date, vendor, total, tax as a JSON object.","exampleUseCases":[{"title":"Invoice data extraction for accounting","prompt":"Here's a raw invoice text: 'Bill to: John Smith, Date: July 3 2024, Items: 3x Widget at 40€ each, Total: 120€, VAT: 20€'. Can you extract the fields 'bill_to', 'date', 'total', and 'vat' as JSON?"},{"title":"Pulling order details from confirmation email","prompt":"I have this order confirmation email body: 'Your order #ORD-9982 has been placed. Product: Blue Sneakers, Size: 42, Price: $89.99, Estimated delivery: 2024-07-10.' Extract the fields order_id, product, size, price, and delivery_date as a structured JSON object."},{"title":"Extracting contract metadata from legal text","prompt":"From this contract excerpt — 'This agreement is between Alpha LLC and Beta Inc., effective January 1, 2025, for a term of 24 months, with a total value of $50,000.' — can you extract the fields parties, effective_date, duration, and contract_value as JSON?"}],"resultDescription":"A JSON object containing the values for each requested field extracted from the input text. For example: {\"data\": {\"total\": \"120 €\"}}. Fields not found in the text may be omitted or returned as null.","failureModes":["Text too long — exceeds 6000 character limit, request rejected","Fields parameter too long — exceeds 500 character limit","Requested fields not present in text — returned as null or omitted","Ambiguous field names leading to incorrect extraction","Payment failure — USDC x402 payment not processed, call blocked","Malformed input JSON causing 400 error"],"whenToPreferThis":"Choose this endpoint when you need to extract specific named fields from unstructured or semi-structured text and receive them as a clean JSON object, without building a custom parser. Ideal for invoices, receipts, emails, contracts, or any natural-language text where key data points need to be machine-readable. Pay-per-call with no API key required makes it suitable for low-volume or ad-hoc extraction tasks on Base via USDC.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-10T06:41:19.502Z","isFirstParty":false,"canonicalSlug":"agent-de-survie-json-field-extractor-bf656c38"}