Create company list export
curl --request POST \
--url https://api.promptloop.com/v0.1/company-lists/exports \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '
{
"query": "Developer tools startups serving fintech teams"
}
'import requests
url = "https://api.promptloop.com/v0.1/company-lists/exports"
payload = { "query": "Developer tools startups serving fintech teams" }
headers = {
"x-api-key": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'x-api-key': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({query: 'Developer tools startups serving fintech teams'})
};
fetch('https://api.promptloop.com/v0.1/company-lists/exports', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"status": "success",
"data": {
"datasetId": "<string>",
"datasetFileId": "<string>",
"fileId": "<string>",
"rowCount": 123,
"downloadUrl": "<string>",
"downloadUrlExpiresInSeconds": 123,
"searchCriteria": {
"query": "<string>",
"limit": 123,
"country": "<string>",
"businessModels": [
"<string>"
],
"naicsCodes": [
123
]
}
},
"message": "<string>",
"error": {
"code": 123,
"details": "<string>"
},
"request_id": "<string>"
}{
"status": "error",
"data": {},
"message": "<string>",
"error": {
"code": 123,
"details": "<string>"
},
"request_id": "<string>"
}{
"status": "error",
"data": {},
"message": "<string>",
"error": {
"code": 123,
"details": "<string>"
},
"request_id": "<string>"
}{
"status": "error",
"data": {},
"message": "<string>",
"error": {
"code": 123,
"details": "<string>"
},
"request_id": "<string>"
}Company Lists
Create company list export
Runs a semantic company search with optional country, business model, and NAICS filters, persists the results as a dataset, and returns a short-lived signed download URL.
POST
/
v0.1
/
company-lists
/
exports
Create company list export
curl --request POST \
--url https://api.promptloop.com/v0.1/company-lists/exports \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '
{
"query": "Developer tools startups serving fintech teams"
}
'import requests
url = "https://api.promptloop.com/v0.1/company-lists/exports"
payload = { "query": "Developer tools startups serving fintech teams" }
headers = {
"x-api-key": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'x-api-key': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({query: 'Developer tools startups serving fintech teams'})
};
fetch('https://api.promptloop.com/v0.1/company-lists/exports', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"status": "success",
"data": {
"datasetId": "<string>",
"datasetFileId": "<string>",
"fileId": "<string>",
"rowCount": 123,
"downloadUrl": "<string>",
"downloadUrlExpiresInSeconds": 123,
"searchCriteria": {
"query": "<string>",
"limit": 123,
"country": "<string>",
"businessModels": [
"<string>"
],
"naicsCodes": [
123
]
}
},
"message": "<string>",
"error": {
"code": 123,
"details": "<string>"
},
"request_id": "<string>"
}{
"status": "error",
"data": {},
"message": "<string>",
"error": {
"code": 123,
"details": "<string>"
},
"request_id": "<string>"
}{
"status": "error",
"data": {},
"message": "<string>",
"error": {
"code": 123,
"details": "<string>"
},
"request_id": "<string>"
}{
"status": "error",
"data": {},
"message": "<string>",
"error": {
"code": 123,
"details": "<string>"
},
"request_id": "<string>"
}Authorizations
Body
application/json
Primary semantic search query used to find matching companies
Example:
"Developer tools startups serving fintech teams"
Optional saved dataset/list name
Example:
"Fintech Devtools Companies"
Optional saved dataset/list description
Example:
"Semantic company export for fintech-facing developer tools"
Requested export size. Server-side max is 5000 rows.
Example:
500
Optional hard country filter using ISO-style country code
Example:
"US"
Optional hard business model filter. v1 supports b2b or b2c.
Available options:
b2b, b2c Example:
"b2b"
Optional hard include filter for one or more NAICS codes
Example:
[541511, 541512]
Response
Successfully created company list export
