{"uid":"cap_3oaD7cbP0VBPZZdt3xLP1","slug":"agentshelf-css-json-ld-extractor-adb6aed2","name":"AgentShelf CSS JSON-LD Extractor","description":"Call when an agent needs JSON-LD script text via script[type='application/ld+json'] from a public page or HTML (SSRF-safe). Exact $0.003 USDC. Prefer unpaid POST /v1/sandbox/css-jsonld first.","url":"https://agentshelf.syntexa.ch/v1/css-jsonld?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"url":{"type":"string","maxLength":2048,"minLength":8,"description":"Public page to fetch. The selector or profile is fixed by the SKU. Provide url or html."},"html":{"type":"string","examples":["<!doctype html><html lang=\"en\"><head><title>Hello</title>\n<meta charset=\"utf-8\"><meta name=\"description\" content=\"Desc\">\n<link rel=\"canonical\" href=\"https://example.com/\"><link rel=\"icon\" href=\"/favicon.ico\">\n</head><body><h1>Hello</h1><a href=\"https://example.com/a\">A</a></body></html>"],"maxLength":200000,"minLength":1,"description":"HTML to extract from locally. Provide html or url. When both are set, html is used."}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.003","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.003/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.003","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.003","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_-zlvVmwj3wrkAGQjvIAAx","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.003","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 from the script[type='application/ld+json'] tag of a public web page or raw HTML, with SSRF protection.","exampleAgentPrompt":"Can you pull the JSON-LD structured data from this page — https://example.com/product/widget — and show me what schema.org markup it contains?","exampleUseCases":[{"title":"Product schema extraction for comparison","prompt":"Grab the JSON-LD structured data from https://shop.example.com/shoes/runner-x so I can see the product name, price, and availability in schema.org format."},{"title":"Article metadata from news page","prompt":"Extract the JSON-LD from this news article HTML I've got — it should have an Article or NewsArticle schema in there, and I need the headline, author, and publication date."},{"title":"Organization info from company homepage","prompt":"Fetch the JSON-LD structured data from https://acme-corp.com so I can see what organization or local business schema they're publishing."}],"resultDescription":"Returns the raw text content of the first script[type='application/ld+json'] element found on the page or in the provided HTML. Typically a JSON object or array conforming to schema.org vocabulary, e.g. Product, Article, Organization, BreadcrumbList, etc.","failureModes":["No JSON-LD script tag found on the page — returns empty or null result","URL is blocked by SSRF protection (private IPs, localhost) — returns an error","URL is unreachable or returns non-200 HTTP status","HTML input exceeds 200,000 character limit — rejected","Malformed HTML prevents CSS selector from matching","URL string shorter than 8 characters or longer than 2048 characters — validation error","Payment of $0.003 USDC not provided — 402 response"],"whenToPreferThis":"Use this endpoint when you need to extract machine-readable JSON-LD structured data from a public web page or a block of HTML. Ideal for SEO auditing, product data extraction, entity recognition, and schema.org compliance checks. Prefer the free sandbox endpoint POST /v1/sandbox/css-jsonld when available to avoid the $0.003 charge. Use this paid endpoint when sandbox is unavailable or rate-limited.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-02T03:25:23.022Z","isFirstParty":false,"canonicalSlug":"agentshelf-css-json-ld-extractor-adb6aed2"}