{"uid":"cap_Qvpw_uMCM1cH_yttGbMT4","slug":"x402-url-extractor-extract-b018d1b3","name":"x402 URL Extractor – /extract","description":"Extract a public web page into clean structured JSON for agent workflows: title, description, main text, all JSON-LD, Open Graph and Twitter metadata, headings, links, and AI-crawler and structured-data signals. Follows redirects and enforces timeout, response-size, and SSRF safeguards.","url":"https://x402-url-extractor-production.up.railway.app/extract?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","description":"Public http(s) URL to extract."}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","required":["ok","url","title","status","sourceOk","requestedUrl","finalUrl"],"properties":{"ok":{"type":"boolean"},"url":{"type":"string"},"text":{"type":"string"},"error":{"type":["object","null"]},"links":{"type":"array"},"title":{"type":"string"},"jsonLd":{"type":"array"},"status":{"type":"integer"},"capture":{"type":"object"},"finalUrl":{"type":"string"},"headings":{"type":"object"},"sourceOk":{"type":"boolean"},"openGraph":{"type":"object"},"aiReadiness":{"type":"object"},"description":{"type":["string","null"]},"requestedUrl":{"type":"string"}}}}}}},"responseSchema":{"type":"json","example":{"ok":true,"url":"https://example.com","title":"Example Domain","jsonLd":[],"aiReadiness":{"hasJsonLd":false,"schemaTypes":[]},"description":null}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.005","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.005/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_uGYMrlizhc_WK6omCVlgM","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.005","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Fetches a public URL and returns its title, description, JSON-LD structured data, and AI-readiness metadata for $0.05 USDC per call via x402.","exampleAgentPrompt":"Can you extract the title, description, and any structured JSON-LD data from https://example.com so I can see what metadata the page exposes?","exampleUseCases":null,"resultDescription":"Returns a JSON object with: ok (boolean), url (the fetched URL), title (page title string), description (meta description or null), jsonLd (array of JSON-LD objects found on the page), and aiReadiness object containing hasJsonLd (boolean) and schemaTypes (array of detected schema.org types).","failureModes":["URL is not publicly accessible or returns a non-2xx status — ok: false with error message","URL parameter missing — request rejected with validation error","Private or paywalled pages may return empty or partial metadata","Payment not included or insufficient — HTTP 402 returned requiring x402 USDC payment","Malformed URL input — error response from schema validation"],"whenToPreferThis":"Use this endpoint when you need quick, lightweight metadata extraction (title, description, JSON-LD) from a single public URL and want to assess its AI/structured-data readiness. Prefer this over /read (full page content) or /scan (deeper multi-signal scan) when you only need surface-level page metadata at the lowest cost ($0.05).","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-01T12:36:01.523Z","isFirstParty":false,"canonicalSlug":"x402-url-extractor-extract-b018d1b3"}