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>"
}Body
application/json
