{"uid":"cap_NKImqGZij1RryrFqTRB-x","slug":"x402-money-farm-json-ld-extractor-063960fe","name":"x402 Money Farm: JSON-LD Extractor","description":"JSON-LD Extractor — All JSON-LD blocks on a page, parsed, @graph-flattened and indexed by schema.org type, with optional type filtering and a microdata fallback.","url":"https://x402-money-farm.fly.dev/v1/jsonld?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"],"type":"string"},"queryParams":{"type":"object","required":["url"],"properties":{"url":{"type":"string","format":"uri","description":"Absolute http(s) URL of the page to process."},"type":{"type":"string","description":"Return only nodes whose @type matches, e.g. Product."},"fresh":{"type":"boolean","default":false},"microdata":{"type":"boolean","default":false}},"additionalProperties":false}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","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_dFM2rQu6MZ0-Rektec_yL","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":"Fetches a web page URL, extracts all JSON-LD blocks, flattens @graph structures, and indexes results by schema.org type with optional type filtering and microdata fallback.","exampleAgentPrompt":"Pull all the JSON-LD structured data from https://www.example.com/product/widget-pro and filter it to only show me Product schema nodes.","exampleUseCases":[{"title":"Product schema extraction for price comparison","prompt":"Grab the JSON-LD from https://shop.acme.com/laptops/model-x and return only the Product nodes so I can see the price, availability, and brand structured data."},{"title":"Article metadata extraction for content pipeline","prompt":"Extract all JSON-LD structured data from https://techcrunch.com/2024/05/01/ai-funding-roundup/ — I want the Article schema so I can get the author, publish date, and headline in a clean structured format."},{"title":"SEO audit of schema.org markup","prompt":"Fetch the JSON-LD blocks from https://www.restaurantxyz.com and show me every schema.org type present on the page so I can audit what structured data they have implemented."}],"resultDescription":"A JSON object containing all JSON-LD blocks found on the page, parsed and @graph-flattened, with nodes indexed by their schema.org @type. If a type filter is supplied, only matching nodes are returned. If microdata fallback is enabled, microdata annotations are also parsed and included when JSON-LD is absent or sparse.","failureModes":["URL is unreachable or returns non-200 status — endpoint returns an error with the HTTP status code","Page contains no JSON-LD or microdata — returns empty result set","Malformed JSON-LD on the page — parsing errors reported in the response","Invalid URL format supplied — validation error before fetch","Rate limit or payment failure — 402 response if USDC payment is not processed","Timeout on slow-loading pages — may return partial results or timeout error"],"whenToPreferThis":"Choose this endpoint when you need structured semantic data (schema.org types like Product, Article, Event, Recipe, Organization) from a webpage in a machine-readable, pre-parsed format. It is superior to raw HTML scraping for structured-data use cases because it handles @graph flattening and type indexing automatically. Prefer it over generic text extractors when the target page uses JSON-LD markup and you need clean, typed objects rather than plain text. Use the type filter parameter when you only care about a specific schema.org type to reduce response size.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-03T00:35:21.337Z","isFirstParty":false,"canonicalSlug":"x402-money-farm-json-ld-extractor-063960fe"}