Guide
Getting started
Your account and key, your first consumer, and a first count, search and entity read, with each request and what comes back.
Atlas holds public UK register data about organisations and premises, joined into one set of entities, and returns it as JSON over HTTPS. This guide takes you from a new account to your first search and your first entity. Concepts defines every word used here.
Every path starts with https://api.atlas.oromiq.com/v1. Call Atlas from your servers, never from a browser or an app you ship.
Your account and your key
We set every client up ourselves, with you. You get your client id (cl_ and a random part) and your client key (ak_ and 40 characters). The key is shown once: keep it in your secret store, never in source code.
The client key manages your account (your plan, consumers, their subscriptions and keys, and the bill) and reads data as one of your consumers, named in the x-atlas-consumer header. The client on its own never reads data. Send the key as a bearer token on every call. Your account and keys has the detail.
Authorization: Bearer ak_EXAMPLEclientKeyNotARealKey000000000000Make a consumer
A consumer is a party inside your account that reads data: a tenant, an environment, a customer of yours. Each draws on your plan's tokens up to a cap you set, and has its own subscriptions, holdings and usage; nothing crosses between them. Make one per party.
Your account is on a plan: GET /v1/plans lists them, and sandbox is there for trying things out. A new consumer is on your plan, so leave tier out. Every consumer reads the layers of the packs your plan includes; subscribe it to any other layer it needs at the same time. GET /v1/layers lists every layer with its publisher and licence. The label is yours to choose, never your own id for the party: keep the mapping from consumer id to your own records on your side.
curl https://api.atlas.oromiq.com/v1/consumers \
--request POST \
--header 'Authorization: Bearer ak_EXAMPLEclientKeyNotARealKey000000000000' \
--header 'Content-Type: application/json' \
--data '{ "label": "Northfield staging", "subscriptions": ["companies_house", "cqc"] }'{
"data": {
"consumerId": "cn_8fHq2LmNcV0pXyT3rW6aZe",
"label": "Northfield staging",
"status": "active",
"tier": "sandbox",
"createdAt": "2026-10-02T09:14:31.000Z",
"subscriptions": ["companies_house", "cqc"],
"keys": [],
"tokenCap": null,
"customPrice": false
}
}See what you can search on
Every data call names the consumer in x-atlas-consumer. Start with the catalogue: every field you may put a condition on, the operators each takes, its options, the sort keys, the columns a row's values hold, and the fields that can narrow a search on their own (narrowingFields). layers=subscribed stands for every layer the consumer is subscribed to. Read it again when the x-atlas-surface header changes, which means the fields have changed.
curl 'https://api.atlas.oromiq.com/v1/catalogue?layers=subscribed' \
--header 'Authorization: Bearer ak_EXAMPLEclientKeyNotARealKey000000000000' \
--header 'x-atlas-consumer: cn_8fHq2LmNcV0pXyT3rW6aZe'{
"data": {
"fields": [
{
"key": "cqc.rating",
"label": "Overall rating",
"type": "enum",
"layer": "cqc",
"options": [
{ "value": "Outstanding", "label": "Outstanding" },
{ "value": "Good", "label": "Good" }
],
"operators": ["equals", "not_equals", "in", "not_in", "is_set", "is_not_set"],
"narrowing": true,
"levels": ["organisation", "premises"]
}
],
"narrowingFields": ["name", "localAuthority", "region", "postcode", "cqc.rating", "cqc.beds"]
}
}Count before you search
A search takes 1 to 20 conditions, all of which must be met. At least one must be on a narrowing field with a positive operator, so no search lists a register whole. POST /v1/search/count takes the same body as a search and returns how many entities match and the most reading them could cost, so use it while your users build their conditions.
curl https://api.atlas.oromiq.com/v1/search/count \
--request POST \
--header 'Authorization: Bearer ak_EXAMPLEclientKeyNotARealKey000000000000' \
--header 'x-atlas-consumer: cn_8fHq2LmNcV0pXyT3rW6aZe' \
--header 'Content-Type: application/json' \
--data '{ "layers": ["cqc", "companies_house"], "conditions": [
{ "field": "region", "operator": "equals", "value": "South East" },
{ "field": "cqc.rating", "operator": "in", "value": ["Requires Improvement", "Inadequate"] } ] }'{
"data": { "total": 214, "capped": false, "cost": { "results": 214, "perRow": 1, "atMost": 214 } }
}Run the search
The same body to POST /v1/search returns the first page; add sort and limit to choose the order and the page size. charged says what the page cost; what each call costs is on the pricing page.
A row carries the entity's id and name, its values for each column, its primaryRecord (the register record to store if you keep a register id for it), its layers and, in searchFacts, the values that met each condition. Every search is saved for 90 days: send the page's next back as cursor for the next page, until next is null. Search explains the operators and narrowing.
{
"data": [
{
"entityId": "prm_pdFPkhx7RuGEeFl8Q1pP",
"level": "premises",
"name": "BRACKENFOLD HOUSE",
"values": {
"kind": "premises",
"place": "Kent",
"operator": "BRACKENFOLD CARE LTD",
"status": "active",
"cqc.rating": "Requires Improvement",
"cqc.beds": 32
},
"primaryRecord": { "layer": "cqc", "source": "locations", "externalId": "1-2000000001" },
"layers": ["cqc"],
"searchFacts": [
{ "field": "cqc.rating", "label": "Overall rating", "values": ["Requires Improvement"] }
]
}
],
"next": "ss1.ss_Q7cWm2Rk9TzLp4Xv.2",
"meta": { "limit": 2, "returned": 2, "total": 214, "capped": false, "page": 1, "pages": 107 },
"charged": 2,
"attributions": [
{
"layer": "cqc",
"text": "Contains Care Quality Commission data. Not endorsed by the Care Quality Commission."
}
]
}Read one entity
GET /v1/entities/{entityId} returns everything the layers in scope hold about one entity: its register records, its identifiers, its facts with their dates, its relations, and the attribution lines you must show with its data. Every read gives the data as it is now, with the layers you ask for now, at the record price; an entity you hold is read for nothing. Entities has the rest.
curl 'https://api.atlas.oromiq.com/v1/entities/prm_pdFPkhx7RuGEeFl8Q1pP?layers=cqc' \
--header 'Authorization: Bearer ak_EXAMPLEclientKeyNotARealKey000000000000' \
--header 'x-atlas-consumer: cn_8fHq2LmNcV0pXyT3rW6aZe'{
"data": {
"id": "prm_pdFPkhx7RuGEeFl8Q1pP",
"level": "premises",
"name": "OAKFIELD HOUSE",
"status": "active",
"identifiers": {},
"records": [
{
"layer": "cqc",
"source": "locations",
"externalId": "1-2000000001",
"name": "Oakfield House",
"confidence": "match",
"joinedBy": "identifier",
"verified": true,
"current": true,
"status": "active",
"since": "2014-03-03"
}
],
"layers": ["cqc"],
"facts": [
{
"layer": "cqc",
"source": "locations",
"key": "cqc.rating",
"label": "Overall rating",
"value": "Good",
"type": "enum",
"asOf": "2025-06-17"
}
],
"relations": [
{
"type": "operates",
"direction": "in",
"entityId": "org_7pmXa7UUhqFbGdQw9mE1",
"name": "BRACKENFOLD CARE LTD",
"since": "2014-03-03",
"until": null,
"current": true,
"confidence": "match",
"verified": true
}
],
"attribution": [
{
"layer": "cqc",
"text": "Contains Care Quality Commission data. Not endorsed by the Care Quality Commission."
}
],
"held": false,
"charged": 40
}
}Where next
- Concepts: the words the API uses.
- Your account and keys: consumers, keys, plans and rate limits.
- Errors: every code, and what to do about it.
- Search: the operators, narrowing and saved searches.
- Entities: records, facts, relations and the network map.
- The API reference: every operation, with an example and its error codes.