Cormorant is a web search and fetch API shared by research projects and AI agents. You send a query or a URL; Cormorant does the hard parts — engines that rate-limit, sites that block bots, PDFs, caching, politeness, cost control — and answers with clean text, metadata and provenance.
The same key reads the records behind the web: the company register, national law, research papers, geodata and named Swiss open data sources, each with its source and its terms.
What you can do#
| You want to… | Use | Typical latency |
|---|---|---|
| Find pages about a topic | POST /v1/search |
1–5 s (cache hit: ms) |
| Read one page, PDF or document | POST /v1/fetch |
0.5–15 s (cache hit: ms) |
| Search or fetch hundreds to 50,000 items | POST /v1/batch/search, POST /v1/batch/fetch |
minutes, asynchronous |
| Get the exact bytes behind a fetch | GET /v1/bodies/{sha256} |
streaming |
| Search or fetch in other languages, with translation | languages, language and translate_to on search and fetch |
as search and fetch |
| Translate a text, keeping the original | POST /v1/translate |
seconds (cache hit: ms) |
| Research a company or topic across languages in one job | POST /v1/collect, GET /v1/collect/{job_id} |
minutes, asynchronous |
| Look up a company, in its own or another language | GET /v1/companies/search, GET /v1/companies/{id} |
ms to 2 s |
| Read an article of Swiss, German or French law as it stood on a day | GET /v1/law/article, GET /v1/law/acts/{ref}/changes |
ms |
| Find research papers and read their open full text | GET /v1/papers/search, GET /v1/papers/{id} |
seconds (from the store: ms) |
| Get the geodata for what you build, by canton or town | GET /v1/geodata/ask, POST /v1/geodata/collections |
ms; copies in the background |
| Read named Swiss open data sources, an edition per year | GET /v1/sources, GET /v1/sources/{source_id}/editions/{year} |
ms to seconds |
| Know when a file, page, site, act or paper changes | POST /v1/watches, GET /v1/watches/events |
on a schedule |
| Read a CSV, a workbook or a PDF as rows, and diff two versions | POST /v1/tables/extract, GET /v1/diff |
seconds |
| Create, rotate and limit API keys | POST /v1/keys, PUT /v1/keys/{prefix}/limits |
ms |
| See your plan, this month's estimate and invoices | GET /v1/account, GET /v1/account/invoices |
ms |
| See requests, cache hits, spend and budget | GET /v1/usage |
ms |
Base URL and authentication#
https://api.cormorant.ch
Every /v1 request carries your project's key:
Authorization: Bearer cmr_…
Your first key comes with your account. After that you create, rotate and revoke keys yourself, in the control center or with an account admin key; each key belongs to one project. See Authentication & keys.
Concepts in one minute#
- Search asks Cormorant's own SearXNG engines first and falls back to the Brave Search API only when they fail or find too little. Results from all engines are merged; no snippet is lost.
- Fetch climbs a ladder of tiers: the standard routes
direct(HTTP with a browser fingerprint),browser(real Chromium) andarchive(Wayback Machine), then the premium routesproxy(residential network),proxy_browser(Chromium on the residential network),proxy_render(rendering service) and, as a last resort for sites behind bot protection,unblocker(unblocking service), which are priced higher — and escalates only when a site blocks. A page that is simply short never reaches a premium route. - The cache is shared across projects: a page or search someone fetched recently is answered at once, billed as a cache hit.
- Text first, bytes on demand.
textis the extracted main text; the exact retrieved bytes are one request away atbody_url. - Languages: search up to six languages at once, fetch a page in a language, and get a machine translation next to every original. See Languages and translation.
- Every response says what it cost (
cost_usd) and carries arequest_idyou can quote to the operator. - Fetch problems are results, not HTTP errors.
/v1/fetchanswers200witherrorset (for examplehttp_404orrobots_disallowed). HTTP error statuses mean something is wrong with the request itself (key, limits, validation, timeouts).
Versioning#
The API is v1. Within v1, fields are only ever added — nothing is renamed
or removed — so ignore fields you do not know. Changes are listed in the
changelog.
Where next#
- Quickstart: a first search and fetch in two minutes.
- Sync vs batch: pick the right endpoint for your volume.
- Languages and translation: other languages and machine translation.
- Company data: the company register.
- Swiss, German and French law, Research papers, Swiss geodata and Swiss open data sources.
- Tables, versions and watches: know when something changes.
- Using Cormorant from AI agents and the MCP server.
- The interactive API reference and the API contract.