LeadOcean · Company search
leadocean/companies/searchFind companies, people and contact details with LeadOcean · Company search from Alexandria through one Spiral API key. Search companies by name, domain, industry, headcount, funding, or technology. An empty page costs nothing. limit is 1 to 10, and omitting it requests 1. companies/count is the free call with breakdowns. Use companies/enrich to read one domain. It runs in the background and returns structured JSON. Pay as you go, with no subscription.
Pricing
Up to $0.034918 per run.
Limits
- Runs
- In the background
- Returns
- json
- Longest queue wait
- 1 hour
- Run deadline
- 5 minutes
- Longest run, end to end
- 225 minutes
- Largest inline input
- 1 MB
- Largest input file
- 2 GB
- Largest output
- 5 GB
Input
| Field | Kind | Default | Description |
|---|---|---|---|
q | text | — | Free text over the company name and description. |
sic | list | — | SIC codes. |
name | list | — | Company name phrase. Wrap a value in [brackets] for an exact name. |
slim | true or false | — | Drop the technology list, tags, specialties, financials, and empty fields. Default false. |
count | true or false | — | Also return meta.total. Company search already counts the total on the first page. With limit 1 and count true, the call is a free sizing request. |
limit | number 1 to 10 | 1 | Rows to return, from 1 to 10. LeadOcean allows up to 100; this cap keeps a page within 100 Firecrawl credits. Each returned row costs 10 credits. An empty page costs nothing. Omitting it sends 1. |
naics | list | — | NAICS codes. Any code the company carries. |
order | one of ranked, stable | — | ranked (default) scores the page. stable walks the snapshot in id order. |
cursor | text | — | Opaque page token. Send meta.nextCursor back unchanged. |
domain | list | — | Company website domains, without a scheme or path. |
fields | list | — | Dotted paths to keep, such as company_data.company_name. Everything else is omitted. |
hqCity | list | — | Headquarters city keywords. |
hqState | list | — | Headquarters state or region. A code such as TX also matches Texas. |
industry | list | — | Company industry. Send LeadOcean's exact industry label. |
keywords | list | — | Phrases in the company description, specialties, tags, and name, or an exact industry label. |
linkedin | list | — | Company LinkedIn URLs. |
hqCountry | list | — | Headquarters country. ISO 3166-1 alpha-2 codes. |
investors | list | — | Lead investor name keywords. |
maxFounded | number | — | Latest year founded. Records with no figure are left out. |
maxFunding | number | — | Total funding raised, in USD, upper bound. |
maxRevenue | number | — | Annual revenue ceiling, in USD. Records with no figure are left out. |
minFounded | number | — | Earliest year founded. Records with no figure are left out. |
minFunding | number | — | Total funding raised, in USD, lower bound. |
minRevenue | number | — | Annual revenue floor, in USD. Records with no figure are left out. |
companyType | list | — | Legal type of the company. |
excludeName | list | — | Company name phrases to exclude. |
fundingType | list | — | Type of the most recent funding round. |
hqContinent | list | — | Continent of the headquarters. |
naicsSector | list | — | Two-digit NAICS sector. |
maxEmployees | number | — | Company headcount, upper bound. Records with no figure are left out. |
minEmployees | number | — | Company headcount, lower bound. Records with no figure are left out. |
minFollowers | number | — | Minimum company LinkedIn followers. 0 means no minimum. |
naicsPrimary | list | — | The one NAICS code the company is filed under. |
technologies | list | — | Technologies detected on the company website. |
employeeRange | list | — | Headcount bracket, such as 51-200. |
hqSalesRegion | list | — | Commercial region of the headquarters. |
excludeIndustry | list | — | Industries to exclude. Send LeadOcean's exact industry label. |
excludeKeywords | list | — | Company keywords, or exact industry labels, to exclude. |
maxLastFundingYear | number | — | Funded no later than this year. |
minLastFundingYear | number | — | Funded no earlier than this year. |
hasMailableContacts | true or false | — | True keeps companies with a verified, catch_all_valid, or catch_all email on at least one person. |
technologyCategories | list | — | What a detected technology is for. Send LeadOcean's category label. |
Same request in code
curl https://api.spiral.ai/v1/runs \
-H "Authorization: Bearer $SPIRAL_API_KEY" \
-H "Content-Type: application/json" \
-H "Idempotency-Key: $(uuidgen)" \
-d '{
"provider": "alexandria",
"model": "leadocean/companies/search",
"input": {
"q": "<q>"
}
}'Frequently asked questions
How much does LeadOcean · Company search cost?
Up to $0.034918 per run. You pay as you go from one Spiral balance, with no subscription, and a failed run is not charged.
How do I use LeadOcean · Company search through an API?
Send `POST /v1/runs` with `"provider": "alexandria"`, `"model": "leadocean/companies/search"` and the input fields on this page, using one Spiral API key. It runs in the background: poll the run, or name a webhook to be told when it finishes.
Do I need an account with Alexandria to use LeadOcean · Company search?
No. Spiral runs it on its own Alexandria account and charges your Spiral balance.
Can my AI agent use LeadOcean · Company search?
Yes. Agents find and run it through Spiral's MCP server, CLI or agent skill, with the same API key.