REST API: create a key and send a request
The Traaker REST API lets you read your data from your own tools (BI, data warehouse, scripts): brands, prompts, audits and the detailed answers of each engine, conversations, competitors, Targets and content audits.
This page takes you from zero to your first request. The detail of every route is in the API and webhooks reference.
Create an API key
Section titled “Create an API key”- Open Settings then Integrations, REST API section.
- Click Create API key.
- Copy the key right away: it starts with
trk_api_and is shown only once, when you create it.
Create one key per tool: if one of them is compromised or retired, you revoke its key without touching the others.
An API key is not an MCP token (trk_mcp_…): the two are not interchangeable.
Follow and revoke your keys
Section titled “Follow and revoke your keys”The table in the REST API section lists your keys with their name, the start and end of the key, their creation date and their last use. Only the start and end are visible: the full key is no longer shown after it is created.
To revoke a key, click the trash icon (Revoke) at the end of its row, in Settings then Integrations. Requests that use it then receive a 401.
Base URL and authentication
Section titled “Base URL and authentication”Every route starts from:
https://api.traaker.ai/api/public/v1Each request sends the key in the Authorization header:
Authorization: Bearer <your key>Your first request
Section titled “Your first request”List your brands:
curl -H "Authorization: Bearer <your key>" \ https://api.traaker.ai/api/public/v1/brandsWhat a key can see
Section titled “What a key can see”A key is bound to the organization that created it. Every response is limited to that organization: there is no organization parameter, and no route can read another organization’s data.
Response format
Section titled “Response format”- Every response is a
{ data, meta }object, never a bare array. - A field that does not apply is present and
null, never omitted.
Rate limit
Section titled “Rate limit”The limit is 1,000 requests per hour per organization. Over it, the API answers 429 with a retryAfterMs field: how long to wait before retrying, in milliseconds.
Reading and writing
Section titled “Reading and writing”Most routes read your data. Two families write:
- Personas can be created, updated and deleted through the API, without spending credits.
- Content audits and the Instant Analysis of a URL spend credits: see Credits and quotas.
Creating a content audit accepts an Idempotency-Key header, so the same request can be sent again without creating two audits. It also accepts a callback URL, callbackUrl, called at the end of each run: see Webhooks.
Common errors
Section titled “Common errors”| Code | Meaning |
|---|---|
401 |
Missing, malformed or revoked key. |
403 |
API access is not enabled for the account. |
429 |
Rate limit reached: wait retryAfterMs. |
Other codes (400, 404, 409, 422…) are described route by route in the reference.
Going further
Section titled “Going further”- API and webhooks reference: every route, its parameters and examples.
- API and MCP: the overview of API, webhook and MCP access.