API reference · Apollo
apollo/company-search
Integrate this model through SandBase's unified API, with production-ready schemas and examples.
Production endpoint
Send your first request
OpenAI-compatible endpoint with unified authentication and usage tracking.
POST
https://api.sandbase.ai/v1/runModel ID
apollo/company-search01
Input Schema
24 parameters · 0 required · 24 optional
| Parameter | Type | Required | Description |
|---|---|---|---|
page | integer | Optional | The page number of Apollo data to retrieve (1-based, max 500). Use with per_page. · Min: -9007199254740991 · Max: 500 |
per_page | integer | Optional | The number of results per page (max 100). · Min: -9007199254740991 · Max: 100 |
organization_ids[] | string[] | Optional | — |
revenue_range[max] | integer | Optional | Min: 0 · Max: 9007199254740991 |
revenue_range[min] | integer | Optional | Min: 0 · Max: 9007199254740991 |
q_organization_name | string | Optional | Filter to a specific company name (partial matches accepted). |
organization_locations[] | string[] | Optional | Company HQ locations (cities, US states, countries). |
total_funding_range[max] | integer | Optional | Min: 0 · Max: 9007199254740991 |
total_funding_range[min] | integer | Optional | Min: 0 · Max: 9007199254740991 |
q_organization_job_titles[] | string[] | Optional | Job titles listed in active job postings at the company. |
organization_job_locations[] | string[] | Optional | Locations of jobs the company is actively recruiting for. |
organization_not_locations[] | string[] | Optional | Company HQ locations to exclude. |
q_organization_domains_list[] | string[] | Optional | Company domain names (no www/@). Up to 1,000 per request. |
q_organization_keyword_tags[] | string[] | Optional | Keywords associated with companies, e.g. 'mining', 'consulting'. |
latest_funding_date_range[max] | string | Optional | Latest date of the company's most recent funding round (YYYY-MM-DD). |
latest_funding_date_range[min] | string | Optional | Earliest date of the company's most recent funding round (YYYY-MM-DD). |
latest_funding_amount_range[max] | integer | Optional | Min: 0 · Max: 9007199254740991 |
latest_funding_amount_range[min] | integer | Optional | Min: 0 · Max: 9007199254740991 |
organization_num_jobs_range[max] | integer | Optional | Min: 0 · Max: 9007199254740991 |
organization_num_jobs_range[min] | integer | Optional | Min: 0 · Max: 9007199254740991 |
organization_num_employees_ranges[] | string[] | Optional | Headcount ranges, e.g. '1,10', '250,500', '10000,20000'. |
organization_job_posted_at_range[max] | string | Optional | Latest job-posting date at the company (YYYY-MM-DD). |
organization_job_posted_at_range[min] | string | Optional | Earliest job-posting date at the company (YYYY-MM-DD). |
currently_using_any_of_technology_uids[] | string[] | Optional | — |
02
Output Schema
| Field | Type | Description |
|---|---|---|
id | string | Unique identifier for the generation task |
status | string | Task status: pending, running, completed, failed, timeout |
model | string | Model used for the generation |
outputs | array | Array of output items |
outputs[].url | string | URL of the generated artifact |
outputs[].content_type | string | MIME type (e.g. image/png, video/mp4) |
error | object | null | Error details if failed, null on success |
error.type | string | Machine-readable error type code |
error.message | string | Human-readable error description |
Async Workflow
This model uses asynchronous execution. Submit a request and poll for the result.
- Submit — POST to /v1/run, receive an
id - Poll — GET /v1/run/{id} until status is
completed,failed, ortimeout - Retrieve — Read
outputsfrom the completed response
03
Code Examples
Ready-to-run snippets
# Step 1: Submit
curl -X POST https://api.sandbase.ai/v1/run \
-H "Content-Type: application/json" \
-H "Authorization: Bearer YOUR_API_KEY" \
-d '{
"model": "apollo/company-search",
"prompt": "a beautiful sunset over mountains"
}'
# Step 2: Poll result (replace <id>)
curl https://api.sandbase.ai/v1/run/<id> \
-H "Authorization: Bearer YOUR_API_KEY"
