Skip to Content
Bulk Enrich Company API

Enrich up to 50 company records at once

This endpoint allows you to enrich multiple company’s in one request while staying blazing-fast.

How are credits spent?

  • One credit is spent per matched company.
  • You won’t be charged if no results are found.
  • You won’t be charged if you enrich the same record twice in the lifetime of your account.

Endpoint

Parameters

ParameterExample valueDescription
data
required
See belowThe records to enrich (up to 50 at once). See below for complete details.

Data parameter

The data parameter for the /bulk-enrich-company endpoint is a list of all the companies you wish to enrich.

The data parameter contains the datapoints you have for us to identify the record. We offer the following matching datapoints:

DatapointExample valueDescription
identifier
required
1234abcdA random alpha-numeric string generated on your side to identify the specific matching object. This will be used when you parse the response, to attributes which data object represents which match in the response.
company_name
optional
DeloitteThe company name
company_website
optional
deloitte.comThe company website
company_linkedin_url
optional
https://linkedin.com/company/deloitteThe company’s LinkedIn URL

Minimum requirements for matching

We require at least one of the above datapoint to accurately match a company.

Important note #1: We advise strongly against using only the company_name for matching. Many company have the same name, and this can result in mismatch/inaccurate results. Whenever possible, try to use at least the company_website.

Important note #2: the more datapoints you submit, the better, so whenever possible, submit everything you have for greater accuracy. For example, it is better to submit company_website and company_linkedin_url together rather than just one of them.

Example request

We generated our own identifier (1,2,3,4,5) so that in case of a match, we can reconcile it with the response.

In the below request, the identifier 4 contains an property (full_name). Hence, this record will be ignored and provided in the invalid_datapoints list of the response.

POST "https://api.prospeo.io/bulk-enrich-company" X-KEY: "your_api_key" Content-Type: "application/json" { "data": [ { "identifier": "1", "company_website": "intercom.com" }, { "identifier": "2", "company_linkedin_url": "https://www.linkedin.com/company/deloitte" }, { "identifier": "3", "company_name": "Milka" }, { "identifier": "4", "full_name": "Pinterest" }, ... up to 50 objects ] }

Response

The response structure is as follow:

{ "error": false, "total_cost": 10, "not_matched": ["3"], "invalid_datapoints": ["4"], "matched": [ { "identifier": "1", "company": { ... } }, { "identifier": "2", "company": { ... } } ] }

Response details

PropertyTypeDescription
errorbooleanIndicates if an error has occurred. If false, the request was successful. If true, an error has occurred and a error_code property will be present. See below.
total_costintegerIndicates the total cost of the request. It varies depending on the matches and the enrich_mobile option. Refer to this section to understand how price is calculated.
matchedlistThis list contains all the matched records.
matched.identifierstringThis is the identifier you generated corresponding to the matched record. Use it to know which match is which.
matched.companyobjectThe matched company. See our up-to-date company fields in details here.
not_matchedlistThis list contains all the identifiers that we couldn’t match.
invalid_datapointslistThis list contains all the identifiers that were not meeting our minimum requirements for matching. See this section..

Error codes

HTTP codeerror_code propertyMeaning
400INSUFFICIENT_CREDITSYou do not have enough credit to perform the request.
401INVALID_API_KEYInvalid API key, check your X-KEY header.
429RATE_LIMITEDYou hit the rate limit for your current plan.
400INVALID_REQUESTThe request your submitted is invalid.
400INTERNAL_ERRORAn error occurred on our side, please contact the support.

Rate limit

See our rate limits page.

Last updated on