Guide
Your account and keys
The client key and consumers, who may call what, consumer keys, your plan and its pool, packs, overage, rate limits, usage, the statement and the bill.
Every call carries a key as a bearer token, and Atlas reads who is calling from the key alone, never from the body. A call with no key, or with one Atlas does not recognise, is refused with 401 UNAUTHENTICATED. Your account is a client on a plan; the parties that read data through it are its consumers, which draw on the plan's tokens, each up to a cap you set.
Authorization: Bearer ak_EXAMPLEclientKeyNotARealKey000000000000The client key and consumers
Your client key starts ak_. We issue it when we set up your account, and it is shown once: it cannot be shown again.
With the client key alone, the call is the client's own: it reads and changes your plan, makes and changes consumers, sets their subscriptions, caps and keys, and reads the bill. POST /v1/account/key makes a new client key, shown once; any earlier one stops at once. Data is always read as a consumer: name one of your own in the x-atlas-consumer header. Any other id is refused with 403 CONSUMER_NOT_FOUND, exactly as one that does not exist.
This is the usual arrangement: your servers hold one key and call for each of your parties by naming it.
curl https://api.atlas.oromiq.com/v1/subscriptions \
--header 'Authorization: Bearer ak_EXAMPLEclientKeyNotARealKey000000000000' \
--header 'x-atlas-consumer: cn_8fHq2LmNcV0pXyT3rW6aZe'Who may call what
Three kinds of operation, by who may call them. The API reference says on every operation which it is.
- The client only: the account, the plan, consumers, their subscriptions, usage, statements and keys, and the bill. Called with the client key and no
x-atlas-consumer; a consumer is refused with403 CONSUMER_CANNOT_MANAGE. - A consumer only: everything that reads data, and a consumer's own subscriptions, usage, statement and holdings. The client alone is refused with
403 CONSUMER_REQUIRED. - Either:
GET /v1/plans,GET /v1/layers,GET /v1/layers/{layer}/schemaandGET /v1/changelog.
{
"error": {
"code": "CONSUMER_REQUIRED",
"message": "Data is read as a consumer: call with a consumer key, or name one of the client's consumers in x-atlas-consumer."
}
}Consumer keys
A consumer can have a key of its own (ck_ and 40 characters), for a party that calls Atlas from its own servers. The key names its own consumer, so it needs no x-atlas-consumer header; it reads data like any consumer and never manages the account.
Consumer keys are off unless we turn them on for your account. GET /v1/account says which applies to you (consumerKeys.allowed): while they are off, no consumer key is made, and one presented is refused with 403 CONSUMER_KEYS_NOT_ALLOWED.
The client makes a consumer's key with POST /v1/consumers/{consumerId}/keys. The key is in the answer this once, and making it revokes the consumer's previous key at the same moment (replaced: true), so hand the new key over before you make it live. A key can carry an expiry (expiresAt) and the addresses it works from (allowedAddresses); the reference has the limits and the refusals. DELETE /v1/consumers/{consumerId}/keys/{keyId} revokes a key at once. A consumer's keys are listed by prefix, with when each was made, last used and revoked, never the key itself.
{ "expiresAt": "2027-04-30T00:00:00.000Z", "allowedAddresses": ["203.0.113.0/24"] }{
"data": {
"keyId": "ckey_Tz8nQ2vLr5Ka",
"token": "ck_Xq7fK2paEXAMPLEonlyNotARealKey0000000000",
"prefix": "ck_Xq7fK2pa",
"replaced": true
}
}Keeping keys safe
- Call Atlas from your servers. Never put a key in a browser, a mobile app or anything else you ship: anyone who has it can spend your tokens and read what you hold.
- Keep keys in your secret store, never in source code or logs.
- Watch
unusualUsein a consumer's usage: it flags calls running far above that consumer's own recent normal, a sign its key may be in use where it should not be. - If a consumer key may have leaked, revoke it, or make a new one, which revokes the old. If your client key may have leaked, talk to us.
Suspension
A suspended consumer is refused on every call with 403 CONSUMER_SUSPENDED until the client resumes it with PUT /v1/consumers/{consumerId} and "status": "active". Its holdings and saved searches are kept meanwhile.
A suspended client is refused on every call, whichever key it uses. Only we lift that. Errors lists every refusal with what to do about it.
Your plan
Your account is on a plan. The plan sets the monthly tokens every consumer draws on, the consumers and layer packs it includes, the most entities a consumer may hold, its price and the rate. The plans run from sandbox, for building and testing only, through starter, growth, scale and platform to enterprise. GET /v1/plan is yours: monthly, or paid for the year at the annual price; paid by card or by invoice; the consumers included and how many made a charged call this month; the packs included and the ones you chose; your overage; the month's pool and, on an annual plan, the year's. GET /v1/plans lists every plan open to you, and POST /v1/plan/upgrade moves you to another one, monthly or annual: if you pay by card and none is on file yet, the answer is a page to give one and the move is made as the card arrives; otherwise it is made at once. A plan marked retired is kept for the accounts already on it; none can move onto one. Every answer to an account on the sandbox carries the header x-atlas-sandbox: true.
Consumers. A new consumer (POST /v1/consumers) is on your plan: leave tier out. The plan includes a number of consumers; one beyond them is billed at the plan's extra-consumer price in a month it makes a charged call, and where the plan allows no more (the sandbox's one) it is refused with 400 TENANT_LIMIT_REACHED.
Packs. Core layers come with every plan. PUT /v1/plan/packs chooses the packs beyond core, and every consumer of yours then reads their layers (GET /v1/subscriptions lists them with pack, beside the layers you subscribed the consumer to itself). A pack beyond those the plan includes is billed at its price each month. GET /v1/pricing lists the packs and their layers.
Tokens are spent on what a consumer reads. What each action costs in tokens is the same for every plan: GET /v1/pricing lists it with no key, as the pricing page shows it, and GET /v1/plans carries the same list as tokens beside the plans, with the rules a price scales or lapses by. A full read of an entity costs the record price each time and nothing on a held entity; an entity's history is charged once and then free for a time; a report is priced by its scope and a network map by the nodes it returns; counts are free; a held entity and a standing search are charged by the month. A stats query charges a subject as one benchmark position per query and a series as one baseline per measure that carries one; saving a report with either is charged the same way. Reports has the detail. Every answer that charged says so: charged on the call, and on an entity.
{
"data": [
{
"name": "sandbox",
"monthlyPence": 0,
"annualPence": null,
"tokensPerMonth": 1000,
"topUps": false,
"pencePerToken": 0,
"tenantsIncluded": 1,
"extraTenantPence": null,
"packsIncluded": null,
"holdingsCap": 25,
"rights": "No production use, no resale",
"callsPerSecond": 2,
"burst": 10,
"retired": false
}
],
"tokens": {
"searchRow": 1,
"rowExpand": 5,
"lookup": 1,
"record": 40,
"history": 20,
"prefill": 5,
"people": 15,
"position": 15,
"baseline": 25,
"network": 50,
"report": 10,
"standingSearch": 25,
"heldEntity": 5,
"reportSummary": 15,
"dossier": 150
},
"rules": {
"reportPerThousand": 1,
"reportMax": 250,
"networkPerNode": 2,
"networkMaxNodes": 1000,
"historyFreeDays": 30,
"searchRowFreeDays": 90,
"rereadFreeDays": 30
}
}Paying
Each month is paid in advance. When a month opens, your plan and the packs beyond those it includes are charged, less any discount agreed with Atlas, to the card on file, or put on your invoice; an annual plan is charged for the year when its term begins. A move to a dearer plan is charged for the month less what the month already paid. Consumers beyond those included and any overage are charged once the month ends. Prices are on the pricing page and exclude VAT.
GET /v1/billing/accountsays how you pay: whether a billing email is set, whether a card is on file, whether the account is suspended for a payment that failed, and your discount.PUT /v1/billing/accountsets the billing email, which sets billing up.POST /v1/billing/card-sessionandPOST /v1/billing/portal-sessioneach give a page hosted by the payment provider: one to give a card, one to see invoices and receipts and change cards. Send a person to theurl; a card never passes through Atlas or your servers.POST /v1/billing/top-up-sessiongives a page to pay for tokens, added to the month's pool once the payment settles, and shown on the bill as tokens bought.GET /v1/billing/invoiceslists your invoices, newest first;GET /v1/billingshows the charges raised for a month underinvoices.
If a payment fails, the account is suspended at once: every consumer call is refused with 403 CLIENT_SUSPENDED until an invoice is paid, and the billing operations above (and listing your consumers) still answer so you can put it right. The account resumes the moment a payment succeeds. The client console does all of this for your staff.
The pool, overage and caps
Your plan's monthly tokens are one pool every consumer draws on. It is a hard limit unless overage is on: a call that would pass it is refused with 402 TOKENS_EXHAUSTED, nothing is charged and nothing is returned, and everything already bought stays readable. The month renews at 00:00 UTC on the 1st; on an annual plan the pool is the year's tokens, and tokens.year on a usage answer shows it.
Tokens we add lift the month's limit: tokens bought, on a plan that offers them (see Paying), and tokens granted. With overage on (PUT /v1/plan/overage), calls past the allowance go through at the plan's top-up rate, up to a cap in pence you set or without one, and the bill says what it came to.
The client can cap any consumer with tokenCap (PUT /v1/consumers/{consumerId}), so one busy party cannot use up what you meant for another. A cap is at most the plan's allowance; a call that would pass it is refused like one at the allowance.
Held entities. Each entity a consumer held for a day or more in a month is charged once, at the month's end, at the heldEntity price, the same on every plan. Watching it and its alerts cost nothing more.
{ "tokenCap": 15000 }Refunds
A charge is given back whenever its answer cannot be sent, whether the call was refused or failed. The statement lists the refund beside the charge (kind: refund, with refundOf). A retry never pays twice for what it has already bought.
Rate limits
Each consumer may make a burst of calls at once, the plan's burst, and after that calls at the plan's callsPerSecond. The client's own management calls have a limit of their own. Every answer carries the headers:
x-ratelimit-limit: the rate, calls a second.x-ratelimit-remaining: whole calls left before the rate applies.x-ratelimit-reset: seconds until a refused call would be allowed; 0 while calls are allowed.
Past the burst, a call is refused with 429 RATE_LIMITED and Retry-After in seconds. Wait that long, then try again. A refused call is counted in usage under refused and spends nothing.
HTTP/1.1 200 OK
x-ratelimit-limit: 10
x-ratelimit-remaining: 47
x-ratelimit-reset: 0Usage, the statement and the bill
- Usage (
GET /v1/usagefor the calling consumer;GET /v1/consumers/{consumerId}/usagefor the client): the month's calls and refusals, failed calls by outcome, calls by operation, tokens (allowance, granted, bought, spent, balance, cap, when it renews), tokens by kind, a day-by-day series andunusualUse. Counts only, never what was searched. - The statement (
GET /v1/statement, or per consumer for the client): every token movement in a month, newest first: each charge, refund, grant, top-up and the renewal, with the month's spending to date. - The bill (
GET /v1/billing, the client only):clientcarries your plan's lines for the month, in pence: the plan, consumers beyond those included, packs beyond those included, overage and any discount; then one line per consumer that existed in the month, with any tokens bought, the tokens it used by kind and its calls; and the total. A plan's tokens are in its price, so tokens used never add to the bill. A month under way is current at every moment; once it ends it isclosedand never changes.
{
"data": {
"month": "2026-10",
"tier": "growth",
"calls": 18406,
"refused": 12,
"tokens": {
"allowance": 20000,
"granted": 0,
"toppedUp": 0,
"spent": 7401,
"balance": 12599,
"cap": null,
"renewsAt": "2026-11-01T00:00:00.000Z"
}
}
}