Lists and exports
Exports
Download a saved list or chosen search rows as CSV, at once for small exports or through a background job for large ones.
Use these routes to get records out as a CSV file: a saved list, or search rows you picked. A small export comes back in the same call; a large one runs as a job that you poll and then download. See Lists and exports.
Export search rows#
POSThttps://api.sproutsdata.ai/v1/search/export
- Scope (any one)
- dsp.entities.read, dsp.search.read
- Cost
- Free, except records not yet unlocked
Search rows the client picked, read again and written in the order sent.
Request bodyJSON, required
itemsarray of objectrequired1 to 50000 items2 fields inside
categorystringrequiredWhat a returned row is. The same names as
SearchCategory."company""person""patent""academic_report""news_article""market_report""trend""funding_round""job_opening"idstringrequired1 to 255 charactersA company's
company_ref, domain or LinkedIn page; a person's LinkedIn profile URL; a document'sidfrom search.
request_idstring or nullat most 128 characters
Errors
- 401
No credential, or one that does not verify (auth.unauthorized).
- 403
The credential lacks the scope this route needs (auth.insufficient_scope), or the signed-in user has not chosen a workspace (auth.workspace_required).
- 422
The request is invalid (request.invalid), or its cursor is (pagination.*).
- 429
Too many requests for this key or workspace (quota.burst_exceeded). See
Retry-After. - 503
A service this request needs is unavailable, or the API is at capacity. See
Retry-After.
curl -X POST "https://api.sproutsdata.ai/v1/search/export" \
-H "X-API-Key: $SPROUTS_API_KEY" \
-o export.csv \
-H "Content-Type: application/json" \
-d '{
"items": [
{
"category": "company",
"id": "stripe.com"
},
{
"category": "company",
"id": "adyen.com"
}
]
}'Export a list#
POSThttps://api.sproutsdata.ai/v1/lists/{list_id}/export
- Scope
- dsp.lists.read
- Cost
- Free, except records not yet unlocked
The list as it is now, newest first (offset / limit for a range).
Path parameters
list_idstringrequired1 to 64 characters
Errors
- 401
No credential, or one that does not verify (auth.unauthorized).
- 403
The credential lacks the scope this route needs (auth.insufficient_scope), or the signed-in user has not chosen a workspace (auth.workspace_required).
- 404
No such resource for this workspace (
*.not_found), or no such route (route.not_found). - 422
The request is invalid (request.invalid), or its cursor is (pagination.*).
- 429
Too many requests for this key or workspace (quota.burst_exceeded). See
Retry-After. - 503
A service this request needs is unavailable, or the API is at capacity. See
Retry-After.
curl -X POST "https://api.sproutsdata.ai/v1/lists/0614e3fd-5c2b-4c8e-9a51-7a3d2e1b9f40/export" \
-H "X-API-Key: $SPROUTS_API_KEY" \
-o export.csv \
-H "Content-Type: application/json" \
-d '{
"limit": 1000
}'Get an export job#
GEThttps://api.sproutsdata.ai/v1/exports/{job_id}
- Scope (any one)
- dsp.entities.read, dsp.lists.read, dsp.search.read
- Cost
- Free
Path parameters
job_idstringrequired1 to 64 characters
Response 200application/json
created_atstring (date-time)requiredjob_idstringrequiredstatusstringrequired"queued""running""done""failed"errorstring or nullexpires_atstring (date-time) or nullfile_urlstring or nullfinished_atstring (date-time) or nullrowsinteger or nullskippedinteger or null
Errors
- 401
No credential, or one that does not verify (auth.unauthorized).
- 403
The credential lacks the scope this route needs (auth.insufficient_scope), or the signed-in user has not chosen a workspace (auth.workspace_required).
- 404
No such resource for this workspace (
*.not_found), or no such route (route.not_found). - 422
Validation Error
- 429
Too many requests for this key or workspace (quota.burst_exceeded). See
Retry-After. - 503
A service this request needs is unavailable, or the API is at capacity. See
Retry-After.
curl "https://api.sproutsdata.ai/v1/exports/c7a2e9d4-1b3f-4a6e-8d5c-9e0f1a2b3c4d" \
-H "X-API-Key: $SPROUTS_API_KEY"{
"created_at": "2026-11-27T09:30:00Z",
"error": "string",
"expires_at": "2026-11-27T09:30:00Z",
"file_url": "string",
"finished_at": "2026-11-27T09:30:00Z",
"job_id": "string",
"rows": 0,
"skipped": 0,
"status": "queued"
}Download an export#
GEThttps://api.sproutsdata.ai/v1/exports/{job_id}/file
- Scope (any one)
- dsp.entities.read, dsp.lists.read, dsp.search.read
- Cost
- Free
Path parameters
job_idstringrequired1 to 64 characters
Errors
- 401
No credential, or one that does not verify (auth.unauthorized).
- 403
The credential lacks the scope this route needs (auth.insufficient_scope), or the signed-in user has not chosen a workspace (auth.workspace_required).
- 404
No such resource for this workspace (
*.not_found), or no such route (route.not_found). - 422
Validation Error
- 429
Too many requests for this key or workspace (quota.burst_exceeded). See
Retry-After. - 503
A service this request needs is unavailable, or the API is at capacity. See
Retry-After.
curl "https://api.sproutsdata.ai/v1/exports/c7a2e9d4-1b3f-4a6e-8d5c-9e0f1a2b3c4d/file" \
-H "X-API-Key: $SPROUTS_API_KEY" \
-o export.csvAt once or as a job#
An export of up to 1,000 rows answers 200 with the CSV itself. A larger one, up to 50,000 rows, answers 202 with a job: read it with GET /v1/exports/{job_id} until its status is done (or failed), then download the file from its file_url. A finished file is kept for 24 hours; expires_at says when it goes. An export of more than 50,000 rows is refused with 422 export.too_large.
Search rows are written in the order you send them, and a list newest first (offset and limit export part of it). Records on the Do-Not-Contact list are left out. Each CSV answer carries these headers:
| Header | What it says |
|---|---|
X-Export-Row-Count | Rows in the file. |
X-Export-Skipped | Rows left out. |
X-Export-Field-Tier | full (whole records) or free (the fields a search row shows). |
X-Credits-Charged | What a CSV answered at once cost (the export routes only). |
Cost#
An export is free unless it shows whole records, which happens for a workspace that has bought credits, calling with a key that also holds dsp.entities.read. Then each record the workspace has not unlocked in the last 90 days costs the record lookup price (1 credit by default), all or nothing: if the balance cannot pay, the call answers 402 credits.insufficient. For a job, the balance is checked when the job is started and the charge is made when its file is ready. See Complete records.