# websearch.fast > Web search API for programs and agents: search with page text, page reading, places, research and crawl jobs, and an MCP server. It uses relay.fast accounts and keys; calls are charged per unit from the relay.fast balance, and errors and empty results are free. Every page of this site has a Markdown twin at the same path with `.md` added, and also answers `Accept: text/markdown`. Send the key as `Authorization: Bearer $WEBSEARCH_API_KEY`. The base URL is `https://api.websearch.fast/v1/web`. ## Start - [Quick start](https://websearch.fast/docs.md): get a key, search, read a page, handle errors. - [MCP server](https://websearch.fast/mcp.md): client setup and tools. - [From the Serper request format](https://websearch.fast/docs/migrate.md): change the host and the key; path table and differences. - [OpenAPI](https://websearch.fast/openapi.json): OpenAPI 3.1 file of the Web API. - [Pricing](https://websearch.fast/pricing.json): unit weights and the price per 1,000 credits. ## Endpoints - [Search](https://websearch.fast/docs/search.md): Web results, optionally with the text of the top pages. - [Autocomplete](https://websearch.fast/docs/autocomplete.md): Query suggestions for a prefix. - [Knowledge](https://websearch.fast/docs/knowledge.md): The knowledge panel of one entity. - [Search by image](https://websearch.fast/docs/lens.md): Pages that show the same or a similar image. Planned. - [Fetch](https://websearch.fast/docs/fetch.md): Clean Markdown or text of up to 20 pages. - [Extract](https://websearch.fast/docs/extract.md): Structured data from pages by a JSON Schema. Planned. - [Map a site](https://websearch.fast/docs/map.md): The URLs of one site from its sitemaps and links. Planned. - [Crawl](https://websearch.fast/docs/crawl.md): Read many pages of one site as a job. Planned. - [Research](https://websearch.fast/docs/research.md): A sourced report on a question, as a job. Planned. - [Batch](https://websearch.fast/docs/batch.md): Up to 100 calls in one request. - [Place details](https://websearch.fast/docs/places-details.md): The full record of one place. Planned. - [Place reviews](https://websearch.fast/docs/places-reviews.md): Reviews of one place, paged. Planned. - [Geocode](https://websearch.fast/docs/geocode.md): An address or place name to coordinates. - [Reverse geocode](https://websearch.fast/docs/reverse-geocode.md): Coordinates to an address. - [Usage](https://websearch.fast/docs/usage.md): What a key spent on web calls. - [Status](https://websearch.fast/docs/status.md): Which endpoints are on. ## Concepts - [Authentication](https://websearch.fast/docs/concepts/authentication.md): How to send a relay.fast key to the Web API, which headers work where, and what a 401 means. - [Errors](https://websearch.fast/docs/concepts/errors.md): The error shape of the Web API, every error code with its status, the warnings of a 200 response, and when to retry. - [Rate limits](https://websearch.fast/docs/concepts/rate-limits.md): Rate and concurrency limits of the Web API, the headers that report them, request sizes and deadlines. - [Caching and freshness](https://websearch.fast/docs/concepts/caching.md): How the Web API caches results and pages, how to ask for a fresh copy, and what the cache fields mean. - [Pagination](https://websearch.fast/docs/concepts/pagination.md): How to page through search results, reviews and job lists. - [Batches and jobs](https://websearch.fast/docs/concepts/jobs.md): How research, crawl and asynchronous batch jobs run, how to poll them, and how idempotency keys work. - [Webhooks](https://websearch.fast/docs/concepts/webhooks.md): How job webhooks are delivered and signed, and how to verify the signature. - [Privacy of queries](https://websearch.fast/docs/concepts/privacy.md): What the Web API stores about your queries, pages and jobs, and for how long. ## Optional - [API reference](https://websearch.fast/docs/reference.md): every operation and schema. - [Changelog](https://websearch.fast/changelog.md) - [Full text](https://websearch.fast/llms-full.txt): all documentation pages in one file.