{"uid":"cap_Q4J4Pi-XZMQ60FyV3OaB-","slug":"agentshelf-json-ld-extractor-64561a49","name":"AgentShelf JSON-LD Extractor","description":"Call when an agent needs JSON-LD blocks extracted from a public page or HTML (SSRF-safe). Exact $0.004 USDC. Prefer unpaid POST /v1/sandbox/extract-jsonld first.","url":"https://agentshelf.syntexa.ch/v1/extract-jsonld?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"url":{"type":"string","maxLength":2048,"minLength":8,"description":"Public http(s) URL to fetch. When html is also sent, this is only the base for relative links. Provide url or html."},"html":{"type":"string","examples":["<script type=\"application/ld+json\">{\"@type\":\"Article\"}</script>"],"maxLength":200000,"minLength":1,"description":"HTML to parse locally instead of fetching. When both html and url are set, html is used. Provide html or url."}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.004","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.004/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.004","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.004","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_Ol-GaB31txQc-70ETQX2Z","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.004","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Extracts JSON-LD structured data blocks from a public web page URL or raw HTML content, safely guarded against SSRF.","exampleAgentPrompt":"Can you extract all the JSON-LD structured data blocks from https://example.com/product/widget-pro and show me what schema types are present?","exampleUseCases":[{"title":"Product schema extraction for price comparison","prompt":"Pull all the JSON-LD blocks from https://shop.example.com/items/blue-sneakers — I want to see the product name, price, and availability from the structured data."},{"title":"Article metadata enrichment pipeline","prompt":"Grab the JSON-LD structured data from this HTML I have for a news article and tell me what schema types are defined — especially looking for Article or NewsArticle blocks."},{"title":"SEO audit of competitor pages","prompt":"Extract the JSON-LD markup from https://competitor.com/services to see what structured data schemas they're using on their services page."}],"resultDescription":"Returns an array of JSON-LD objects parsed from the page's <script type='application/ld+json'> blocks, preserving their full structure including @context, @type, and all nested properties.","failureModes":["URL is not publicly accessible or returns a non-200 status — extraction fails with an error","No JSON-LD blocks present on the page — returns empty array","URL targets a private or internal IP range — blocked by SSRF protection","HTML input exceeds 200,000 character limit — request rejected","Malformed HTML prevents parsing — partial or empty results returned"],"whenToPreferThis":"Use this endpoint when you need to reliably extract JSON-LD structured data from a public URL or raw HTML without setting up your own scraping infrastructure. It is SSRF-safe making it suitable for agent pipelines that accept user-supplied URLs. Prefer the unpaid sandbox POST /v1/sandbox/extract-jsonld first for testing; use this paid endpoint for production or high-volume extraction where the $0.004 USDC per-call cost is acceptable.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-02T03:25:23.020Z","isFirstParty":false,"canonicalSlug":"agentshelf-json-ld-extractor-64561a49"}