{"uid":"cap_8MweqMFTvh4o9pVztwWUf","slug":"extract-json-ld-as-text-2b192d4b","name":"extract-json-ld-as-text","description":"Extract the page's json ld as text: fetches the URL, pulls every json ld element and returns them as plain lines, 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/text?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_MvIyJoBZ1a8droREYPrJS","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 script elements, and returns them as plain text lines with a count","exampleAgentPrompt":"Can you pull all the JSON-LD structured data from https://example.com/product/widget and show it to me as plain text?","exampleUseCases":[{"title":"Audit SEO structured data on landing page","prompt":"Grab all the JSON-LD schema markup from https://acme.com/about-us and show me everything as plain text so I can audit what structured data they're publishing."},{"title":"Extract product schema for competitor research","prompt":"Pull the JSON-LD from https://competitor.com/product/blue-sneakers and give me the raw text so I can see how they're marking up their product listings."},{"title":"Verify article metadata for content pipeline","prompt":"Check what JSON-LD is on https://techblog.io/2024/ai-trends and return it as plain text — I need to verify the Article schema fields before we index it."}],"resultDescription":"A plain-text response containing each JSON-LD element found on the page as individual lines, along with a count of how many JSON-LD elements were extracted. No browser or JavaScript rendering is required.","failureModes":["URL is unreachable or returns a non-200 status — endpoint may return an error or empty result","Page has no JSON-LD elements — returns zero count with empty lines","URL contains JavaScript-rendered JSON-LD that requires a browser — server-side fetch may miss dynamically injected script tags","Malformed JSON-LD on the page may cause parsing errors or partial extraction","Rate limiting or payment failure may block the request"],"whenToPreferThis":"Choose this endpoint when you need a lightweight, no-browser extraction of JSON-LD structured data from a static or server-rendered web page and want results as plain text lines rather than CSV, JSON, or Markdown. Ideal for agent pipelines that need quick, human-readable structured data output at low cost ($0.01/page). If you need JSON-LD in a different format, sibling endpoints offer CSV output. If you need other element types like meta tags or HTML comments, use the corresponding sibling endpoints.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-23T08:22:19.706Z","isFirstParty":false,"canonicalSlug":"extract-json-ld-as-text-2b192d4b"}