{"uid":"cap_suvfBdpVWjy_5GSOkyYnV","slug":"ysaere-agent-extract-json-745fad3b","name":"Ysaere Agent Extract JSON","description":"Ysaere Agent Extract JSON — $0.03 USDC. Input: {\"url\" or \"text\", \"schema\": <JSON Schema ≤8 KB: object/array/string/number/integer/boolean/enum/required>}. Returns data that validates against your schema plus output_sha512. Output that fails your schema is refused before payment.","url":"https://api.ysaere.com/v1/intel/extract-json?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"url":{"type":"string","description":"Public https URL to read (fetched with SSRF checks)."},"text":{"type":"string","maxLength":8000,"description":"Text to use instead of a URL (max 8,000 characters)."},"stamp":{"type":"boolean","description":"Optional. When true, mint a hash_only Notary receipt over output_sha512 (integrity, not factual truth)."},"schema":{"type":"object","description":"JSON Schema subset the output must satisfy (≤8 KB)."}}},"responseSchema":null,"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_hzq3qnXqrXEw2Y7gJqL_B","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":"Fetches a URL or accepts raw text, extracts structured data conforming to a caller-supplied JSON Schema, and returns validated JSON plus a SHA-512 output hash.","exampleAgentPrompt":"Fetch this product page https://example.com/product/123 and extract the product name, price, and availability into a JSON object — only return values that match my schema: {\"type\":\"object\",\"properties\":{\"name\":{\"type\":\"string\"},\"price\":{\"type\":\"number\"},\"available\":{\"type\":\"boolean\"}},\"required\":[\"name\",\"price\",\"available\"]}.","exampleUseCases":[{"title":"Scrape job listing into structured data","prompt":"Pull the job description from https://jobs.example.com/posting/456 and give me back a structured JSON with the job title, required skills as an array of strings, salary range as a number, and location — use this schema: {\"type\":\"object\",\"properties\":{\"title\":{\"type\":\"string\"},\"skills\":{\"type\":\"array\",\"items\":{\"type\":\"string\"}},\"salary\":{\"type\":\"number\"},\"location\":{\"type\":\"string\"}},\"required\":[\"title\",\"skills\",\"location\"]}."},{"title":"Parse earnings report from text","prompt":"Here's the text of a quarterly earnings release — extract the company name, total revenue, net income, and EPS as numbers and return them as validated JSON: {\"type\":\"object\",\"properties\":{\"company\":{\"type\":\"string\"},\"revenue\":{\"type\":\"number\"},\"net_income\":{\"type\":\"number\"},\"eps\":{\"type\":\"number\"}},\"required\":[\"company\",\"revenue\",\"net_income\",\"eps\"]}. Text: 'Acme Corp reported Q3 revenue of $4.2B, net income of $310M, and EPS of $1.87.'"},{"title":"Extract article metadata from news URL","prompt":"Fetch https://news.example.com/article/789 and extract the headline, author, publication date as a string, and a summary of no more than 200 characters, validated against this schema: {\"type\":\"object\",\"properties\":{\"headline\":{\"type\":\"string\"},\"author\":{\"type\":\"string\"},\"date\":{\"type\":\"string\"},\"summary\":{\"type\":\"string\",\"maxLength\":200}},\"required\":[\"headline\",\"author\",\"date\"]}."}],"resultDescription":"Returns a JSON object whose structure is guaranteed to satisfy the caller-supplied JSON Schema, plus an output_sha512 field (hex string) over the returned payload. If the stamp flag is true, a hash_only Notary receipt is also returned. Outputs that cannot be made to validate against the schema are refused before any charge is applied.","failureModes":["Schema validation failure — extracted data cannot satisfy the supplied schema; request refused and no charge applied","SSRF block — URL resolves to a private/internal address and is rejected","URL fetch failure — target URL is unreachable, times out, or returns a non-200 status","Schema too large — supplied JSON Schema exceeds 8 KB limit","Text too long — raw text input exceeds 8,000 character limit","Malformed schema — supplied schema uses unsupported JSON Schema keywords or types","Payment failure — x402 USDC payment not completed; request not processed"],"whenToPreferThis":"Choose this endpoint when you need schema-validated structured JSON extracted from an arbitrary public URL or raw text, and you want a guarantee that the output conforms to your schema before you pay. It is especially valuable when downstream code depends on a known data shape and you cannot tolerate malformed or missing fields. Prefer it over generic scraping tools when output integrity (via SHA-512 hash) or optional notarization matters.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-20T06:52:09.153Z","isFirstParty":false,"canonicalSlug":"ysaere-agent-extract-json-745fad3b"}