{"uid":"cap_5L87b8TbxhyYxlTdCnq7Y","slug":"extract-json-ld-as-json-9cc20a1d","name":"extract-json-ld-as-json","description":"Extract the page's json ld as json: fetches the URL, pulls every json ld element and returns them as a JSON array, with a count. Structured, one-element-type extraction for agents and pipelines; no browser needed. $0.01 per page.","url":"https://page.intel.rallylive.ca/page/json-ld/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"],"type":"string"},"queryParams":{"type":"object","properties":{}}},"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_E8EZkF1jEJq6Jp793DG94","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 webpage and extracts all JSON-LD structured data elements, returning them as a JSON array with a count.","exampleAgentPrompt":"Can you fetch the JSON-LD structured data from https://example.com/product/widget and return all the schema.org markup as JSON?","exampleUseCases":[{"title":"SEO audit for structured data","prompt":"Pull all the JSON-LD structured data from https://shop.acmecorp.com/products/blue-sneakers so I can check whether they have valid schema.org Product markup."},{"title":"Competitive intelligence on schema markup","prompt":"Grab the JSON-LD from https://www.competitor.com/about and tell me what organization and breadcrumb schemas they're using."},{"title":"Automated recipe data extraction","prompt":"Extract the JSON-LD from https://www.foodblog.com/recipes/pasta-carbonara — I want to see the Recipe schema with ingredients and cooking times."}],"resultDescription":"A JSON array containing all JSON-LD script block contents found on the fetched page, plus a count of how many elements were found. Each element is the parsed JSON object from a <script type='application/ld+json'> tag.","failureModes":["URL is unreachable or returns non-200 status — empty array or error response","Page has no JSON-LD elements — returns array with count of 0","Malformed JSON-LD on page — individual elements may be skipped or cause parse errors","Rate limiting or access restrictions on target URL — fetch fails","Invalid or missing URL query parameter — request rejected"],"whenToPreferThis":"Choose this endpoint when you need to programmatically extract only JSON-LD structured data from a webpage without a browser, at low cost ($0.01/page). It is purpose-built for schema.org/linked-data extraction in agent pipelines, unlike general-purpose scrapers that return full HTML or markdown. Prefer it over bulk sibling endpoints when processing a single URL.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-23T08:22:19.707Z","isFirstParty":false,"canonicalSlug":"extract-json-ld-as-json-9cc20a1d"}