Company Data

Clean Company API

12min

This section covers basic information on the Clean Company API.

Clean Company endpoints

Our API is a data retrieval tool. The endpoints do not support analytic features.

Clean Company API features one search endpoint and two collect endpoints to retrieve clean company data.

Use the endpoints with any API-compatible application.

Request type

Endpoint

POST

/v1/professional_network/clean_company/search/es_dsl

GET

/v1/professional_network/clean_company/collect/{company_id}

GET

/v1/professional_network/clean_company/collect/{shorthand_name}

Request types

All Clean Company API requests must be made over HTTPS. Requests made over HTTP will fail.

Clean data API supports two types of requests:

  • Search endpoints support POST requests only.
  • Collect endpoints support the GET requests only.

Endpoint /v1/professional_network/clean_company/search/es_dsl information.

Make a POST request to collect a set of IDs using:

  • an Elasticsearch DSL schema that maps directly to our output data.

The IDs can then be used in GET requests to receive Clean Company data.

Information for /v1/professional_network/clean_company/collect/{company_id} and /v1/professional_network/clean_company/collect/{shorthand_name} endpoints.

Make a query using the GET method to:

  • Convert the collected IDs to clean company data
  • Convert the shorthand names from the company profile URLs to clean company data.

Rate limits

The Clean Company API endpoints restrict the number of requests allowed per second for each client's API token.

Clean Company API search endpoints

Clean Company API collect endpoints

Allow 27 requests per second.

Allow 54 requests per second.

Authorization

To start using our API, you need a (JWT) token. Your account manager or sales will generate the token for you upon your request for the API plan.

Use the token to authorize and begin your queries. If you are unsure about the process, check out the tutorials on authorization located at the bottom of this section for guidance.



All requests to the Clean Company API must contain an Authorization header that consists of a Bearer authentication string and the JSON Web Token (JWT).

Authorization header
Authorization header

Python
Ruby
Node.js
PHP

POST
GET {ID}


All Clean Company API requests must be made over HTTPS. Requests made over HTTP will fail.

Use any API-compatible tool to authorize and start querying in the API.

If you're unsure where to begin, consider trying the tools we've provided tutorials for, such as Postman (cURL requests) and Swagger UI.

Credits and tokens

The token issued for you has a set amount of search and collect credits.

One search credit is deducted for one successful (200) request in the search endpoints:

  • /v1/professional_network/clean_company/search/es_dsl


One collect credit is deducted for one successful (200) request in the collection endpoints:

  • /v1/professional_network/clean_company/collect/{company_id}
  • /v1/professional_network/clean_company/collect/{shorthand_name}

Discuss your credit needs with your account manager.