TRAKI Developer API
Connect your own systems to TRAKI. One API in three parts, one for each kind of key holder.
The TRAKI Developer API lives at https://api.traki.io/v1. It has three parts. The address and the key both say which part you are using, and a key for one part is refused by the other two.
Pick your API
Account API
traki_account_.Publisher API
traki_publisher_.Buyer API
traki_buyer_.| You are | Use | Keys start | Addresses start |
|---|---|---|---|
| The TRAKI customer who owns the account | The Account API | traki_account_ | /v1/account/ |
| A publisher sending traffic to an account | The Publisher API | traki_publisher_ | /v1/publisher/ |
| A buyer buying from an account | The Buyer API | traki_buyer_ | /v1/buyer/ |
Quickstart
Every part answers GET /v1/<part>/key with the details of the key you sent. It needs no scope, so it is the first call to make.
export TRAKI_KEY="traki_account_test_..." # your own key, from the Developers page in the portal
curl https://api.traki.io/v1/account/key \
-H "Authorization: Bearer $TRAKI_KEY"Each part has its own five-minute quickstart: Account, Publisher, Buyer.
How the docs are organised
Each part has the same four kinds of page:
- Getting started. What the part is for, and a quickstart that ends with a real answer.
- Concepts. Keys, scopes, errors, paging, rate limits, safe retries, versions, test mode and webhooks.
- Guides. One task from start to finish.
- Reference. One page per route, built from the same code that runs the API, with examples in cURL, Node, Python and PHP.
Every error answer links to its entry on the errors page. What TRAKI promises, and what you must do on your side, is on the security page.
Status
The Account API reads every part of an account and can add and change buyers, publishers, campaigns, numbers, webhooks and the suppression list. The Buyer API and the Publisher API serve each party's own view. The changelog lists each change.
Test mode is open: a key that contains _test_ works on a separate test copy of your account with sample data, no real calls and no charges.
For AI coding assistants
The docs are also published as plain text: /developers/llms.txt lists every page, and /developers/llms-full.txt holds all of them in one file.