Skip to Content

Key Concepts

Endpoint

The API is accessed via:

https://api.theorg.com/v1

Authentication

The API uses API keys to authenticate requests. You can view and manage your API keys via Settings → API.

Authentication to the API is performed by passing the key in a header called X-Api-Key.

Your API keys carry many privileges, so be sure to keep them secure! Do not share your secret API keys in publicly accessible areas such as GitHub, client-side code, and so forth.

All API requests must be made over HTTPS. Calls made over plain HTTP will fail. API requests without authentication will also fail.

Rate Limiting

You can make 15 requests per second to a single endpoint of our API across API keys within an account. Accounts exceeding the rate will encounter 429 ("Too Many Requests") responses.

Credits and Usage

The API uses a universal credit system where API credits can be used accross endpoints.

All accounts have 100 API credits pr. month.

💡

Enterprise customers may have a custom monthly credit allowance or even unlimited credits subject to the rate limits and fair usage policy. Talk to sales for more info.


Various endpoints have different credit costs below is an overview of how credits apply:

API EndpointDescriptionCredit cost
/companies/chartReturning full org charts for companies10 pr. successful request
/companies/chart/managersReturns the manager of a given report1 pr. successful find
/positionsReturns rich information about positions1 pr. returned row
💡

Requests can be replayed any ammount of times within 24 hours of the initial request at no additional cost.

Buying Extra Credits

Extra credits can be bought via Settings → API, by clicking Buy credits. All monthly credits are used before these extra credits are applied.

Credit costs are based on subscription level:

Subscription TierPr. credit costMonthly Limit
Free$0.0510,000
Basic$0.0410,000
Premium$0.0310,000
Enterprise$0.02Unlimited
💡

Once purchased, extra credits never expire.

Last updated on