curl --request POST \
--url https://api.datalayer.so/v1/lists/results \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"export_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}
'import requests
url = "https://api.datalayer.so/v1/lists/results"
payload = { "export_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a" }
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({export_id: '3c90c3cc-0d44-4b50-8888-8dd25736052a'})
};
fetch('https://api.datalayer.so/v1/lists/results', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"data": {
"export_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"entity": "person",
"status": "pending",
"max_records": 5000,
"reserved_credits": 50,
"returned_count": 5000,
"additional_matches": true,
"failure_code": "provider_rejected",
"ids_available": true,
"record_ids": [
"<string>"
],
"failure": "lookup_rejected"
},
"meta": {
"retrieved_at": "2023-11-07T05:31:56Z",
"billing_status": "credits_settled",
"profiles_used": 0,
"request_id": "<string>",
"contract_version": "2026-10-19",
"credit_version": "datalayer_credits_v1",
"upstream_requests": 4,
"lookup_requests": 4,
"credits_used": 50,
"receipt": {
"version": "datalayer_credits_v1",
"request_id": "<string>",
"reserved": 50,
"settled": 50,
"released": 50,
"items": [
{
"kind": "company",
"reference": "<string>",
"credits": 0,
"repeat": true
}
]
},
"replayed": true
}
}{
"error": {
"code": "<string>",
"message": "<string>"
}
}{
"error": {
"code": "<string>",
"message": "<string>"
}
}{
"error": {
"code": "<string>",
"message": "<string>"
}
}{
"error": {
"code": "<string>",
"message": "<string>"
}
}{
"error": {
"code": "<string>",
"message": "<string>"
}
}{
"error": {
"code": "<string>",
"message": "<string>"
}
}{
"error": {
"code": "<string>",
"message": "<string>"
}
}{
"error": {
"code": "<string>",
"message": "<string>"
}
}{
"error": {
"code": "<string>",
"message": "<string>"
}
}{
"error": {
"code": "<string>",
"message": "<string>"
}
}Get list results
Read one account-scoped list. Pending keeps the reservation. Ready returns record IDs. A later read costs zero. Empty and failed lists release the reservation. The job token is discarded when the list completes or fails. Record IDs are removed 7 days after completion; returned_count remains and ids_available is false.
curl --request POST \
--url https://api.datalayer.so/v1/lists/results \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"export_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}
'import requests
url = "https://api.datalayer.so/v1/lists/results"
payload = { "export_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a" }
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({export_id: '3c90c3cc-0d44-4b50-8888-8dd25736052a'})
};
fetch('https://api.datalayer.so/v1/lists/results', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"data": {
"export_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"entity": "person",
"status": "pending",
"max_records": 5000,
"reserved_credits": 50,
"returned_count": 5000,
"additional_matches": true,
"failure_code": "provider_rejected",
"ids_available": true,
"record_ids": [
"<string>"
],
"failure": "lookup_rejected"
},
"meta": {
"retrieved_at": "2023-11-07T05:31:56Z",
"billing_status": "credits_settled",
"profiles_used": 0,
"request_id": "<string>",
"contract_version": "2026-10-19",
"credit_version": "datalayer_credits_v1",
"upstream_requests": 4,
"lookup_requests": 4,
"credits_used": 50,
"receipt": {
"version": "datalayer_credits_v1",
"request_id": "<string>",
"reserved": 50,
"settled": 50,
"released": 50,
"items": [
{
"kind": "company",
"reference": "<string>",
"credits": 0,
"repeat": true
}
]
},
"replayed": true
}
}{
"error": {
"code": "<string>",
"message": "<string>"
}
}{
"error": {
"code": "<string>",
"message": "<string>"
}
}{
"error": {
"code": "<string>",
"message": "<string>"
}
}{
"error": {
"code": "<string>",
"message": "<string>"
}
}{
"error": {
"code": "<string>",
"message": "<string>"
}
}{
"error": {
"code": "<string>",
"message": "<string>"
}
}{
"error": {
"code": "<string>",
"message": "<string>"
}
}{
"error": {
"code": "<string>",
"message": "<string>"
}
}{
"error": {
"code": "<string>",
"message": "<string>"
}
}{
"error": {
"code": "<string>",
"message": "<string>"
}
}get_list_results. Read one list export that belongs to the authenticated account. Send
export_id only. A job token or account ID is not accepted. Another
account’s export is export_not_found.
pending keeps the credit reservation. ready returns record_ids,
returned_count and additional_matches. The first successful delivery
settles 1 credit per 100 returned IDs, rounded up. A later read of the same
export costs zero and keeps the original receipt.
empty and failed release the reservation and return no IDs. Read failure
for a failed list. lookup_rejected is the same outcome as the deprecated
failure_code value provider_rejected. Other failure codes match failure.
A lookup timeout while the export is still pending does not release the reservation;
retry this call. Enriching a returned ID with get_person_profile or get_company_profile
uses the existing profile price.
The job token is discarded when the export completes or fails. Record IDs
remain for 7 days after completion. After that, a read still returns
returned_count with ids_available: false and an empty record_ids list.
That later read stays free.Authorizations
Headers
Recommended for every paid operation. Account-scoped and bound to normalized operation/input. Retry exactly the same key after transport loss: a committed credit result is replayed from persisted normalized bytes without a data lookup or another debit. Changed input, key expiry or paid-anchor expiry returns 409. In-flight requests return request_in_progress. Network delivery and D1 commit are not atomic. If omitted a request ID is created.
1 - 128^[A-Za-z0-9_-]{1,128}$