Download company search export results
curl --request GET \
--url https://api.companyenrich.com/v2/companies/search/export/{id}/results \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.companyenrich.com/v2/companies/search/export/{id}/results', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.companyenrich.com/v2/companies/search/export/{id}/results"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text){
"batchId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"kind": "<string>",
"status": "pending",
"creditsCharged": 123,
"resultCount": 123,
"results": [
{
"index": 123,
"company": "<unknown>",
"score": 123
}
]
}{
"type": "<string>",
"title": "<string>",
"status": 123,
"detail": "<string>",
"instance": "<string>"
}{
"type": "<string>",
"title": "<string>",
"status": 123,
"detail": "<string>",
"instance": "<string>"
}{
"type": "<string>",
"title": "<string>",
"status": 123,
"detail": "<string>",
"instance": "<string>"
}{
"type": "<string>",
"title": "<string>",
"status": 123,
"detail": "<string>",
"instance": "<string>",
"errors": {}
}{
"type": "<string>",
"title": "<string>",
"status": 123,
"detail": "<string>",
"instance": "<string>"
}Company · Search Export
Download company search export results
Streams the companies of every settled page, in search result order. Choose the format with format. JSON returns one document whose results array holds the records; NDJSON returns one record per line. Each record has its zero-based index, the V2 company in company, and the ranking score for lookalike searches. CSV has one row per company with the columns index and score, followed by the company columns. Failed pages add no records; see the batch status or raw results. Each download captures a fixed snapshot; later downloads can include newly settled pages. Requires the batch owner’s credentials, or the signature from resultsUrl in a status response.
GET
/
v2
/
companies
/
search
/
export
/
{id}
/
results
Download company search export results
curl --request GET \
--url https://api.companyenrich.com/v2/companies/search/export/{id}/results \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.companyenrich.com/v2/companies/search/export/{id}/results', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.companyenrich.com/v2/companies/search/export/{id}/results"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text){
"batchId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"kind": "<string>",
"status": "pending",
"creditsCharged": 123,
"resultCount": 123,
"results": [
{
"index": 123,
"company": "<unknown>",
"score": 123
}
]
}{
"type": "<string>",
"title": "<string>",
"status": 123,
"detail": "<string>",
"instance": "<string>"
}{
"type": "<string>",
"title": "<string>",
"status": 123,
"detail": "<string>",
"instance": "<string>"
}{
"type": "<string>",
"title": "<string>",
"status": 123,
"detail": "<string>",
"instance": "<string>"
}{
"type": "<string>",
"title": "<string>",
"status": 123,
"detail": "<string>",
"instance": "<string>",
"errors": {}
}{
"type": "<string>",
"title": "<string>",
"status": 123,
"detail": "<string>",
"instance": "<string>"
}Authorizations
Query Parameters
Response
OK