{"slug":"readfetch-com-v1-section-51c838","title":"Extract one heading or one CSS selector from a public page instead of the whole ","host":"readfetch.com","method":"POST","resource":"https://readfetch.com/v1/section","category":"search","description":"Extract one heading or one CSS selector from a public page instead of the whole document. Returns matched Markdown or text, title, chars, content_sha256, and billed. If the heading is missing, returns HTTP 200 with empty text and `available_headings` so you can retry. `mode`: fast (plain HTTP) or re","price_listed":0.003,"price_asked":0.003,"state":"answering","state_label":"Answering","checks_7d":7,"answered_7d":7,"latency_ms_median":1171,"reported_calls_30d":4,"reported_payers_30d":1,"networks":["eip155:8453"],"badge":"unverified","paid_checks_7d":0,"paid_ok_7d":0,"example_input":{"body":{"format":"markdown","heading":"Introduction","max_chars":8000,"mode":"render","url":"https://example.com"},"bodyType":"json","description":"Read one heading or one selector instead of the whole page - ten to a hundred times fewer tokens.","method":"POST","type":"http"},"output_schema":{"$defs":{},"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"properties":{"body":{"oneOf":[{"required":["heading"]},{"required":["selector"]}],"properties":{"format":{"default":"markdown","description":"Output flavour for the matched section (markdown default).","enum":["markdown","text"],"type":"string"},"heading":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Heading text to match (case-insensitive, whitespace-normalised). Required unless `selector` is set — send exactly one of `heading` or `selector`, not both.","example":"Introduction"},"max_chars":{"default":8000,"description":"Truncate matched text after this many characters.","maximum":20000,"minimum":100,"type":"number"},"mode":{"default":"render","description":"fast = HTTP-first; render = one browser pass when plain HTTP fails (default).","enum":["fast","render"],"type":"string"},"selector":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"CSS selector; up to 20 matches concatenated. Required unless `heading` is set — use selector when the section has no stable heading text."},"url":{"description":"Public page URL to extract from.","format":"uri","type":"string"}},"required":["url"],"type":"object"},"bodyType":{"const":"json"},"method":{"enum":["POST"]},"type":{"const":"http"}},"required":["type","method","body"],"type":"object"},"output":{"properties":{"available_headings":{"items":{"type":"string"},"type":"array"},"billed":{"type":"boolean"},"chars":{"type":"integer"},"content_sha256":{"type":"string"},"hint":{"type":["string","null"]},"matched":{"properties":{"kind":{"type":"string"},"label":{"type":"string"},"level":{"type":"integer"}},"type":"object"},"status":{"type":"string"},"status_code":{"type":"integer"},"text":{"type":"string"},"title":{"type":"string"},"url":{"format":"uri","type":"string"},"used_browser":{"type":"boolean"}},"type":"object"}}},"history":[{"day":"2026-11-26","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.003,"price_match":true,"latency_ms":1463,"error":null},{"day":"2026-11-25","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.003,"price_match":true,"latency_ms":1476,"error":null},{"day":"2026-11-24","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.003,"price_match":true,"latency_ms":1171,"error":null},{"day":"2026-11-23","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.003,"price_match":true,"latency_ms":1478,"error":null},{"day":"2026-11-22","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.003,"price_match":true,"latency_ms":316,"error":null},{"day":"2026-11-21","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.003,"price_match":true,"latency_ms":326,"error":null},{"day":"2026-11-20","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.003,"price_match":true,"latency_ms":324,"error":null},{"day":"2026-11-19","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.003,"price_match":true,"latency_ms":330,"error":null},{"day":"2026-11-18","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.003,"price_match":true,"latency_ms":323,"error":null},{"day":"2026-11-17","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.003,"price_match":true,"latency_ms":927,"error":null},{"day":"2026-11-16","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.003,"price_match":true,"latency_ms":320,"error":null},{"day":"2026-11-15","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.003,"price_match":true,"latency_ms":315,"error":null},{"day":"2026-11-14","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.003,"price_match":true,"latency_ms":313,"error":null},{"day":"2026-11-13","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.003,"price_match":true,"latency_ms":310,"error":null},{"day":"2026-11-12","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.003,"price_match":true,"latency_ms":316,"error":null},{"day":"2026-11-11","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.003,"price_match":true,"latency_ms":1157,"error":null},{"day":"2026-11-10","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.003,"price_match":true,"latency_ms":317,"error":null},{"day":"2026-11-09","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.003,"price_match":true,"latency_ms":317,"error":null},{"day":"2026-11-08","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.003,"price_match":true,"latency_ms":1155,"error":null},{"day":"2026-11-07","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.003,"price_match":true,"latency_ms":314,"error":null},{"day":"2026-11-06","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.003,"price_match":true,"latency_ms":327,"error":null},{"day":"2026-11-05","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.003,"price_match":true,"latency_ms":311,"error":null},{"day":"2026-11-04","reachable":false,"status":null,"valid_402":false,"asked_usdc":null,"price_match":null,"latency_ms":null,"error":"TimeoutError"},{"day":"2026-11-03","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.003,"price_match":true,"latency_ms":309,"error":null},{"day":"2026-11-02","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.003,"price_match":true,"latency_ms":1441,"error":null},{"day":"2026-11-01","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.003,"price_match":true,"latency_ms":310,"error":null},{"day":"2026-10-31","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.003,"price_match":true,"latency_ms":318,"error":null},{"day":"2026-10-29","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.003,"price_match":true,"latency_ms":320,"error":null}],"description_full":"Extract one heading or one CSS selector from a public page instead of the whole document. Returns matched Markdown or text, title, chars, content_sha256, and billed. If the heading is missing, returns HTTP 200 with empty text and `available_headings` so you can retry. `mode`: fast (plain HTTP) or render (default, Chromium when the page blocks HTTP). `max_chars` truncates output (default 8000, max 20000). Prefer readfetch_text for full articles; readfetch_scrape when content n","last_updated":"2026-11-23T09:33:23.238Z","schemes":["exact"]}