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.

POSThttps://api.sandbase.ai/v1/run
Model IDapollo/company-search
01

Input Schema

24 parameters · 0 required · 24 optional

ParameterTypeRequiredDescription
pageintegerOptionalThe page number of Apollo data to retrieve (1-based, max 500). Use with per_page. · Min: -9007199254740991 · Max: 500
per_pageintegerOptionalThe number of results per page (max 100). · Min: -9007199254740991 · Max: 100
organization_ids[]string[]Optional
revenue_range[max]integerOptionalMin: 0 · Max: 9007199254740991
revenue_range[min]integerOptionalMin: 0 · Max: 9007199254740991
q_organization_namestringOptionalFilter to a specific company name (partial matches accepted).
organization_locations[]string[]OptionalCompany HQ locations (cities, US states, countries).
total_funding_range[max]integerOptionalMin: 0 · Max: 9007199254740991
total_funding_range[min]integerOptionalMin: 0 · Max: 9007199254740991
q_organization_job_titles[]string[]OptionalJob titles listed in active job postings at the company.
organization_job_locations[]string[]OptionalLocations of jobs the company is actively recruiting for.
organization_not_locations[]string[]OptionalCompany HQ locations to exclude.
q_organization_domains_list[]string[]OptionalCompany domain names (no www/@). Up to 1,000 per request.
q_organization_keyword_tags[]string[]OptionalKeywords associated with companies, e.g. 'mining', 'consulting'.
latest_funding_date_range[max]stringOptionalLatest date of the company's most recent funding round (YYYY-MM-DD).
latest_funding_date_range[min]stringOptionalEarliest date of the company's most recent funding round (YYYY-MM-DD).
latest_funding_amount_range[max]integerOptionalMin: 0 · Max: 9007199254740991
latest_funding_amount_range[min]integerOptionalMin: 0 · Max: 9007199254740991
organization_num_jobs_range[max]integerOptionalMin: 0 · Max: 9007199254740991
organization_num_jobs_range[min]integerOptionalMin: 0 · Max: 9007199254740991
organization_num_employees_ranges[]string[]OptionalHeadcount ranges, e.g. '1,10', '250,500', '10000,20000'.
organization_job_posted_at_range[max]stringOptionalLatest job-posting date at the company (YYYY-MM-DD).
organization_job_posted_at_range[min]stringOptionalEarliest job-posting date at the company (YYYY-MM-DD).
currently_using_any_of_technology_uids[]string[]Optional
02

Output Schema

FieldTypeDescription
idstringUnique identifier for the generation task
statusstringTask status: pending, running, completed, failed, timeout
modelstringModel used for the generation
outputsarrayArray of output items
outputs[].urlstringURL of the generated artifact
outputs[].content_typestringMIME type (e.g. image/png, video/mp4)
errorobject | nullError details if failed, null on success
error.typestringMachine-readable error type code
error.messagestringHuman-readable error description

Async Workflow

This model uses asynchronous execution. Submit a request and poll for the result.

  1. Submit — POST to /v1/run, receive an id
  2. Poll — GET /v1/run/{id} until status is completed, failed, or timeout
  3. Retrieve — Read outputs from 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"