How to Use LeadOcean company search in opencode
Returns company records matching a business search, including firmographics and available website technology data. Use it to discover companies when you have a name or business description rather than a confirmed domain.
Prompts to try with LeadOcean company search in opencode
Copy an example into opencode, or ask in your own words.
Use LeadOcean company search for businesses matching cybersecurity. Add a review table showing the returned company names, domains and descriptions.
Use LeadOcean company search to look this up and give me the result as a table. Save the result in ./assets.
Pull the latest numbers from LeadOcean company search and tell me what changed since last week.
Check LeadOcean company search and summarize what you find in three bullet points.
Pull the newest data from LeadOcean company search and give me the result as a table.
How to set up LeadOcean company search in opencode
Pick the way that suits you. Each takes about two minutes.
Use Spiral's MCP server
- Add the server
Leave out --global to add Spiral to the current project only. No header and no client ID or secret: opencode registers itself with Spiral.
opencode mcp add spiral --global --url https://api.spiral.ai/mcp
- Sign in
Your browser opens. Sign in to Spiral, pick the organization and click Authorize, then return to the terminal. No API key. Inside opencode, /mcps starts the same sign-in.
opencode mcp auth spiral
- Check it
Spiral shows as connected.
opencode mcp list
Use the Spiral skill
- Send opencode this message
Your agent reads Spiral's skill and sets itself up.
set up https://spiral.ai/SKILL.md
- Sign in or paste a key
Approve Spiral in the browser, or give the agent a key from the console.
Use the Spiral CLI
- Install and sign in
Installs the Spiral CLI, signs you in and adds its skill to your coding agents.
npx -y spiral-cli@latest init
Call the Spiral API
- Create an API key
In the console, under API keys.
- Run LeadOcean company search
One request; the result comes back by polling or a webhook.
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>" } }'
Then paste one of the prompts above: opencode finds LeadOcean company search on Spiral, shows the price and runs it.
LeadOcean company search providers and prices
Spiral runs LeadOcean company search through Alexandria. Open a card for today's price, with every fee included.
Settings you can ask for
Ask opencode for any of these in your prompt.
| Setting | Allowed values | Default | Description |
|---|---|---|---|
| Slim | on or off | Drop the technology list, tags, specialties, financials, and empty fields. Default false. | |
| Count | on or off | 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 | 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. |
| Order | ranked or stable | ranked (default) scores the page. stable walks the snapshot in id order. | |
| Max founded | a number | Latest year founded. Records with no figure are left out. | |
| Max funding | a number | Total funding raised, in USD, upper bound. | |
| Max revenue | a number | Annual revenue ceiling, in USD. Records with no figure are left out. | |
| Min founded | a number | Earliest year founded. Records with no figure are left out. | |
| Min funding | a number | Total funding raised, in USD, lower bound. | |
| Min revenue | a number | Annual revenue floor, in USD. Records with no figure are left out. | |
| Max employees | a number | Company headcount, upper bound. Records with no figure are left out. | |
| Min employees | a number | Company headcount, lower bound. Records with no figure are left out. | |
| Min followers | a number | Minimum company LinkedIn followers. 0 means no minimum. | |
| Max last funding year | a number | Funded no later than this year. | |
| Min last funding year | a number | Funded no earlier than this year. | |
| Has mailable contacts | on or off | True keeps companies with a verified, catch_all_valid, or catch_all email on at least one person. |
Every API field of LeadOcean · Company search is on its tool page: open its card above.
What can you do with LeadOcean company search in opencode?
Build a company research table with LeadOcean firmographics, market breakdowns or aggregate staff-role summaries. A coding agent can turn the returned data into project fixtures, comparison views and internal account reports.
Research potential business partners
Count software companies in a target state, search for relevant businesses, and inspect company details. Summarize the business roles represented in LeadOcean's staff records to prepare a partnership research brief.
Assess a regional business market
Compare company counts across headquarters states, inspect matching businesses, and review their firmographics. Add an aggregate summary of represented staff roles at selected companies to describe the organizations in the sample.
Prepare an event sponsor shortlist
Size a relevant industry segment, discover candidate businesses, and review company details for sponsor fit. Summarize represented business functions at shortlisted companies for the event planning brief.
Build a competitor landscape
Count companies matching a business description, inspect search results, and compare individual company records. Use aggregate role summaries from company staff records as additional organizational context.
Complete business account records
Resolve company names to candidate domains, then retrieve company details to add industry, headquarters and headcount information to an internal account table.
Check a market definition against real companies
Count a proposed business segment and inspect matching company records. Use the count breakdowns and company descriptions to judge whether the query captures the intended market.
More on LeadOcean company search and opencode
Overview
LeadOcean company search in other agents
Questions about LeadOcean company search in opencode
Can opencode use LeadOcean company search?
Yes. Add Spiral to opencode as an MCP server, and opencode can find and run LeadOcean company search like any built-in tool.
How much does LeadOcean company search cost in opencode?
Up to $0.034918 per run. You pay from your Spiral balance as you go, with no subscription, and a failed run is not charged. Your opencode plan is separate.
Do I need an Alexandria account to use LeadOcean company search in opencode?
No. Spiral runs LeadOcean company search on its own Alexandria account. You sign in to Spiral once and never paste a key.
How long does it take to set up LeadOcean company search in opencode?
About two minutes: add the server, then sign in, then check it.
Does opencode wait while LeadOcean company search runs?
LeadOcean company search runs in the background. opencode starts the run, checks on it and gives you the json when it's ready.
How many companies does LeadOcean cover?
LeadOcean reports 73,728,117 companies in its search index as of November 13, 2026. That is the indexed company population, not a claim that every business is included.
Where does LeadOcean's data come from?
LeadOcean names three sources: publicly accessible professional information on the web, its own collection and verification, and licensed data partners. Its privacy policy describes the database as business-context information.
What does a company record contain?
Company details include industry, headcount, headquarters, revenue, funding and detected website technologies where available. Company search returns matching company records, while company count returns totals and breakdowns without company rows.
Does LeadOcean provide a complete employee directory?
The company people endpoint lists the people LeadOcean holds at a domain. It returns thin professional records without contact points, so the result should be described as LeadOcean's represented staff data.
How detailed are the company count breakdowns?
Company count provides five breakdowns: industry, headcount band, headquarters country, headquarters state and primary NAICS code. Each breakdown contains its top 20 entries.
Start using LeadOcean company search in opencode
One Spiral account for every tool your agent needs. No subscription; you pay per run.
Paste this into opencode:
set up https://spiral.ai/SKILL.md


