{"uid":"cap_185hpGHY_jiadWYUYEwEk","slug":"17711-url-extract-with-question-b8453857","name":"17711 URL Extract with Question","description":"URL extract with a question: ask any web page a question and get structured data as JSON that matches your schema","url":"https://api.17711.xyz/registry/url-extract-service/v1/url-extract/get_structured_data?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"url":{"type":"string","description":"Address of the web page to read (`http` or `https`)."},"schema":{"default":null,"description":"Optional JSON Schema the answer must satisfy. When given, the answer is validated against it\nand automatically corrected where a safe fix exists (type coercion, missing defaults,\nout-of-range numbers, unknown properties); anything that cannot be fixed is reported in\n`remaining_issues`. Omitted = a free-form JSON answer, returned as-is."},"question":{"type":"string","description":"What to extract or answer, in plain language, e.g. \"list the pricing plans with their name\nand monthly price in USD\"."},"max_age_seconds":{"type":["integer","null"],"format":"uint64","default":null,"minimum":0,"description":"The oldest answer you accept, in seconds. Omit it for the default (an identical question about\nthe same page up to 1 hour old); `0` forces a fresh read of the page and a fresh answer. The\nresponse always says how old it is."}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.02","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.02/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.02","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.02","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_o-mZTGVbuh7AU2SZPTlf4","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.02","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 and answers a natural-language question about it, returning the answer as structured JSON validated against an optional schema","exampleAgentPrompt":"Go to https://stripe.com/pricing and extract the pricing plan names and their monthly costs as JSON — use the schema {\"plans\": [{\"name\": \"string\", \"monthly_price_usd\": \"number\"}]}.","exampleUseCases":[{"title":"Competitive pricing research","prompt":"Go to https://www.notion.so/pricing and extract all the plan names, monthly prices, and key features into structured JSON — use this schema: {\"plans\": [{\"name\": \"string\", \"monthly_usd\": \"number\", \"features\": [\"string\"]}]}."},{"title":"Job listing extraction","prompt":"Pull all current job openings from https://www.anthropic.com/careers and give me back a JSON list of job titles, departments, and locations."},{"title":"Blog post metadata extraction","prompt":"Look at https://openai.com/blog/gpt-4o and tell me the author, publish date, and a one-sentence summary of the article — return it as JSON with fields author, date, and summary."}],"resultDescription":"A JSON object containing the answer to the question, structured according to the provided JSON schema if one was given. Also includes information about the age of the cached answer and any remaining schema validation issues that could not be automatically corrected.","failureModes":["URL is unreachable or returns an error (network error or 4xx/5xx response)","Page content is JavaScript-rendered and not accessible via static fetch","The answer cannot be coerced to satisfy the provided JSON schema, reported in remaining_issues","Rate limiting or payment failure via x402 protocol","The cached answer is stale and max_age_seconds is set too low for the page to be re-fetched in time","Question is too ambiguous to produce a deterministic structured answer"],"whenToPreferThis":"Choose this endpoint when you need to extract structured, schema-validated data from a specific known URL by asking a natural language question about its content. It is ideal over generic scrapers when you want the answer shaped to a precise JSON schema with automatic correction. Prefer it over web search when you already have the exact URL and want a typed, validated answer rather than raw HTML or free-form text.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-13T18:41:35.705Z","isFirstParty":false,"canonicalSlug":"17711-url-extract-with-question-b8453857"}