The Org API reference

Introduction

Welcome to our API documentation. Our REST API provides unrestricted structured access to the worlds largest database of organizational charts. Currently the main entrypoint is though a company domain name.

Endpoint

The API is served from https://api.theorg.com/v1.

Authentication

The API uses API keys to authenticate requests. You can view and manage your API keys in your Subscription Center.

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 10 requests per second to a single endpoint of our API.

Data API

Get raw organizational data along with company level information that can be used for internal CRM enrichment, trend analysis, etc.

path Parameters
domain
required
string

The domain name of the company. Example: theorg.com. This attribute is case-insensitive.

Responses

Response Schema: application/json
object (Company)
object (ErrorResponse)

Response samples

Content type
application/json
{}

Embed API

Embed org charts directly on your website or enrich your presentaions or CRM. This service searches companies by either name or a domain and returns embed urls wich can be added to iframes or shared. You must supply either "q", "domain" or "email".

query Parameters
q
string

A search query for a company name. Example: microsoft. This attribute is case-insensitive

domain
string

A search parameter for a company website or email domain. Example: microsoft.com. This attribute is case-insensitive

email
string

A search parameter for a company email. Example: bill@microsoft.com. If provided the "embedUrl" might contain an additional pointer which highlights a position in the org chart. This attribute is case-insensitive

Responses

Response Schema: application/json
Array of objects (CompanySearchResult)

Response samples

Content type
application/json
{}

Contact API

This service provides contact information for a list of position ids and can be used together with the Company Org Chart API.

Request Body schema: application/json
positionIds
Array of numbers <int32> [ items <int32 > ]

List of position ids

Responses

Response Schema: application/json
object (ContactsResult)
object (ErrorResponse)

Request samples

Content type
application/json
{
  • "positionIds": [
    ]
}

Response samples

Content type
application/json
{
  • "data": {
    },
  • "error": {
    }
}