{"name":"CLAUDE_CODE_WEBFETCH_PROXY_PATH","slug":"claude-code-webfetch-proxy-path","family":"env","title":"Environment variables","noun":"environment variable","description":"A path for routing WebFetch through a proxy endpoint. When the API provider is first-party and the value starts with `\/` and contains no `:\/\/`, WebFetch skips its direct fetch and domain preflight and POSTs `{url}` (with `http:\/\/` rewritten to `https:\/\/`) to `ANTHROPIC_BASE_URL` (default `https:\/\/api.anthropic.com`) plus this path, with a 40 second timeout; a failed proxy call fails the fetch with the `web-fetch-ccr-proxy` error. Any other value is ignored.","description_source":"code","described_by":{"bundle":"2.1.168","author":"claude-opus-5-5"},"presence":{"first_seen":"2.1.166","removed_in":"2.1.169","in_current_build":false,"newest_mined":"2.1.308","builds":3,"mined_builds":149,"first_cited":null},"aliases":[],"entries":[{"version":"2.1.166","anchor":"webfetch-proxy-for-first-party-users","heading":"WebFetch proxy for first-party users","line":null,"released_at":"2026-06-05 19:01:59","reason":"found in this entry's text"}],"entries_total":1,"docs":[],"docs_total":0,"gates":[],"related":[{"name":"CLAUDE_CODE_WEBFETCH_CACHE_TTL_MS","slug":"claude-code-webfetch-cache-ttl-ms","description":"You can set how long WebFetch keeps pages cached, in milliseconds."},{"name":"CLAUDE_CODE_WEBFETCH_DEADLINE_MS","slug":"claude-code-webfetch-deadline-ms","description":"WebFetch requests now enforce a timeout and fail with a clear deadline error if exceeded"},{"name":"CLAUDE_CODE_WEBFETCH_USE_CCR_PROXY","slug":"claude-code-webfetch-use-ccr-proxy","description":"Routing WebFetch through the CCR proxy now depends on `CLAUDE_CODE_WEBFETCH_USE_CCR_PROXY` instead of being worked out from session state"}],"url":"https:\/\/changelogs.core-directive.com\/reference\/env\/claude-code-webfetch-proxy-path","family_url":"https:\/\/changelogs.core-directive.com\/reference\/env.json"}