# Icecrawl > Intelligent Resourcing's internal web scraper. Turns a URL into clean > markdown. Firecrawl v2 API compatible: any Firecrawl SDK or the Firecrawl > MCP works with the base URL below. This file is for agents that USE > Icecrawl, not for working on it. Base URL: https://icecrawl.altzeros.com Auth: `Authorization: Bearer $ICECRAWL_TOKEN` on every call except GET /health. Get the token from your environment. Never print it, log it or put it in a URL. ## Quick start ``` POST https://icecrawl.altzeros.com/v2/scrape Authorization: Bearer $ICECRAWL_TOKEN content-type: application/json {"url": "https://www.xero.com/au/about/", "formats": ["markdown"]} ``` The page is in `data.markdown`. Page title, language and final URL are in `data.metadata`. ## Which route to use - One page: `POST /v2/scrape`. The only route that retries through a proxy and Firecrawl Cloud when a site blocks us. - Find a page on a site (careers, team, contact, about): `POST /v2/map` with `{"url": "...", "search": "careers"}`, then scrape the URL you want. Cheaper than crawling. - Many pages on easy sites: `POST /v2/batch/scrape` with `{"urls": [...]}`, then poll `GET /v2/batch/scrape/{id}` until `status` is `completed`. No fallback: re-scrape blocked pages one by one with /v2/scrape. - A whole section of a site: `POST /v2/crawl` with `{"url": "...", "limit": 25}`, then poll `GET /v2/crawl/{id}`. Keep `limit` small. Jobs expire after 1 hour. - Web search: `POST /v2/search` costs Firecrawl credits on every call. Use your own search tool first. ## Formats - `markdown` (default): main content only. Use this to read a page. - `html`: main content as HTML. - `rawHtml`: full page source. Only when you must parse markup (structured data tags, specific elements). It is about 100x larger than markdown. - `links`: every link on the page. Ask for several in one call; it costs the same. Not available: `json`, `summary`, `screenshot`, browser `actions`. Extract fields from the markdown yourself. ## Reading the answer `data.metadata.tier` says who fetched the page: - `direct`: free. - `proxy`: free to you; uses the Webshare bandwidth allowance. - `cloud`: cost 1 Firecrawl credit. - `none`: every tier was blocked. Do not retry the same URL; report it. `data.metadata.statusCode` is the site's own status. A 404 or 410 is final: the page does not exist, do not retry. Before using the content, check it is the page and not a bot check: a title like "Just a moment..." or "Access denied", or a few lines of text, means it was blocked. ## Saving credits - Send `x-icecrawl-tiers: direct,proxy` to forbid the paid tier when the page is nice to have, not needed. - Do not scrape the same URL twice in one task; keep what you fetched. - Do not loop over search results with scrape unless you need every page. ## Limits - One scrape ends within 90 seconds, however many tiers it tries. Use a client timeout of at least 100 seconds. - Known unscrapeable: Glassdoor. - Internal use only. Public web pages only; private addresses are refused. ## Errors `{"success": false, "code": "...", "error": "..."}` - 401 UNAUTHORIZED: token missing or wrong. - 400 BAD_REQUEST: missing `url` or bad JSON. - 502 TIER_UNREACHABLE: service trouble. Check GET /health, then stop and report. ## More - API docs: https://icecrawl.altzeros.com/api/docs - Status: https://icecrawl.altzeros.com/health