{"slug":"readfetch-com-v1-fetch-b1afa1","title":"Send an HTTP request (GET, POST, PUT, PATCH, DELETE, HEAD) through egress and re","host":"readfetch.com","method":"POST","resource":"https://readfetch.com/v1/fetch","category":"search","description":"Send an HTTP request (GET, POST, PUT, PATCH, DELETE, HEAD) through egress and return status_code, response headers, and body as text or base64 (`binary: true`). `max_bytes` caps the stored body; `follow_redirects` (default true) and `timeout_s` (95 s ceiling) apply to the full redirect chain. Use `j","price_listed":0.0015,"price_asked":null,"state":"effects","state_label":"Not tested: has real-world effects","checks_7d":0,"answered_7d":0,"latency_ms_median":null,"reported_calls_30d":31,"reported_payers_30d":6,"networks":["eip155:8453"],"badge":"unverified","paid_checks_7d":0,"paid_ok_7d":0,"example_input":{"body":{"binary":false,"follow_redirects":true,"max_bytes":10000000,"method":"GET","timeout_s":95,"url":"https://example.com"},"bodyType":"json","description":"Raw HTTP through the same egress. JSON APIs, GraphQL, PDFs, byte ranges - anything that is not a page.","method":"POST","type":"http"},"output_schema":{"$defs":{},"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"properties":{"body":{"properties":{"binary":{"default":false,"description":"When true, return body as base64 instead of UTF-8 text.","title":"Binary","type":"boolean"},"body":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Raw request body string for POST/PUT/PATCH (mutually exclusive with json_body).","title":"Body"},"follow_redirects":{"default":true,"description":"Follow 3xx redirects (default true).","title":"Follow Redirects","type":"boolean"},"headers":{"anyOf":[{"additionalProperties":{"type":"string"},"type":"object"},{"type":"null"}],"default":null,"description":"Optional request headers, e.g. Authorization or Accept.","title":"Headers"},"json_body":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"default":null,"description":"JSON object serialized as the request body (Content-Type application/json).","title":"Json Body"},"max_bytes":{"default":10000000,"description":"Stop reading and truncate once the response body exceeds this size (bytes).","maximum":50000000,"minimum":1024,"title":"Max Bytes","type":"integer"},"method":{"default":"GET","description":"HTTP method (GET default).","enum":["GET","POST","PUT","PATCH","DELETE","HEAD"],"title":"Method","type":"string"},"timeout_s":{"default":95,"description":"Total budget for the whole call in seconds, redirect hops included.","maximum":95,"minimum":1,"title":"Timeout S","type":"number"},"url":{"description":"Request URL (http or https).","format":"uri","maxLength":2083,"minLength":1,"title":"Url","type":"string"}},"required":["url"],"title":"FetchRequest","type":"object"},"bodyType":{"const":"json"},"method":{"enum":["POST"]},"type":{"const":"http"}},"required":["type","method","body"],"type":"object"},"output":{"properties":{"billed":{"type":"boolean"},"content_type":{"type":"string"},"size":{"type":"integer"},"status":{"type":"string"},"status_code":{"type":"integer"},"text":{"type":"string"},"url":{"format":"uri","type":"string"}},"type":"object"}}},"history":[],"description_full":"Send an HTTP request (GET, POST, PUT, PATCH, DELETE, HEAD) through egress and return status_code, response headers, and body as text or base64 (`binary: true`). `max_bytes` caps the stored body; `follow_redirects` (default true) and `timeout_s` (95 s ceiling) apply to the full redirect chain. Use `json_body` for JSON POST/PUT payloads; use `body` for raw bytes or strings. Prefer readfetch_text for readable HTML articles; readfetch_pdf to extract PDF text (not raw bytes alone)","last_updated":"2026-11-24T15:40:21.168Z","schemes":["exact"]}