[Integrations](https://spiral.ai/integrations) › [opencode](https://spiral.ai/integrations/opencode) › [LeadOcean company details](https://spiral.ai/integrations/opencode/leadocean-company-details)

# How to Use LeadOcean company details in opencode

Returns one company's industry, headcount, headquarters, revenue, funding and detected website technologies where available. Use it to research a known business by its domain or LinkedIn company page.

|  |  |
| --- | --- |
| Model | LeadOcean company details |
| Available through | Alexandria |
| Category | Lead Gen |
| Price | Up to $0.0052377 per run. |
| Returns | json |
| Runs | In the background |
| Setup | About 2 minutes, no API key |

## Prompts to try with LeadOcean company details in opencode

- Use LeadOcean company details for stripe.com. Create a company summary component using the returned industry, headquarters and headcount.
- Use LeadOcean company details for atlassian.com and hubspot.com. Generate an internal comparison table of their returned industries, headquarters and headcount.
- Use LeadOcean company details to look this up and give me the result as a table. Save the result in ./assets.
- Pull the latest numbers from LeadOcean company details and tell me what changed since last week.
- Check LeadOcean company details and summarize what you find in three bullet points.

## How to set up LeadOcean company details in opencode

Pick the way that suits you. Each takes about two minutes.

### Use Spiral's MCP server

1. **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.

```bash
opencode mcp add spiral --global --url https://api.spiral.ai/mcp
```

2. **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.

```bash
opencode mcp auth spiral
```

3. **Check it**: Spiral shows as connected.

```bash
opencode mcp list
```

### Use the Spiral skill

1. **Send opencode this message**: Your agent reads Spiral's skill and sets itself up.

```
set up https://spiral.ai/SKILL.md
```

2. **Sign in or paste a key**: Approve Spiral in the browser, or give the agent a key from the console.

### Use the Spiral CLI

1. **Install and sign in**: Installs the Spiral CLI, signs you in and adds its skill to your coding agents.

```bash
npx -y spiral-cli@latest init
```

### Call the Spiral API

1. **Create an API key**: In the console, under API keys.

2. **Run LeadOcean company details**: One request; the result comes back by polling or a webhook.

```bash
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/enrich",
    "input": {
      "domain": "<domain>"
    }
  }'
```

Then paste one of the prompts above: opencode finds LeadOcean company details on Spiral, shows the price and runs it.

Setup guide in the docs: https://spiral.ai/docs/quickstarts/opencode

## LeadOcean company details tools and prices

- [LeadOcean · Company enrichment](https://spiral.ai/tools/alexandria/leadocean/companies/enrich) (Alexandria): Up to $0.0052377 per run.

## Settings you can ask for

| Setting | Allowed values | Default | Description |
| --- | --- | --- | --- |
| domain |  | — | Company domain, such as stripe.com. No scheme or path. |
| linkedin_url |  | — | Company LinkedIn page URL. |

## What can you do with LeadOcean company details 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.

## Overview

- [Alexandria](https://spiral.ai/providers/alexandria)
- [All opencode guides](https://spiral.ai/integrations/opencode)

## LeadOcean company details in other agents

- [Amp](https://spiral.ai/integrations/amp/leadocean-company-details)
- [ChatGPT](https://spiral.ai/integrations/chatgpt/leadocean-company-details)
- [Claude](https://spiral.ai/integrations/claude-desktop/leadocean-company-details)
- [Claude Code](https://spiral.ai/integrations/claude-code/leadocean-company-details)
- [Cline](https://spiral.ai/integrations/cline/leadocean-company-details)
- [Codex](https://spiral.ai/integrations/codex/leadocean-company-details)
- [Cursor](https://spiral.ai/integrations/cursor/leadocean-company-details)
- [Devin](https://spiral.ai/integrations/devin/leadocean-company-details)
- [dots](https://spiral.ai/integrations/dots/leadocean-company-details)
- [Factory Droid](https://spiral.ai/integrations/factory-droid/leadocean-company-details)
- [Gemini](https://spiral.ai/integrations/gemini/leadocean-company-details)
- [Gemini CLI](https://spiral.ai/integrations/gemini-cli/leadocean-company-details)
- [Google Antigravity](https://spiral.ai/integrations/antigravity/leadocean-company-details)
- [goose](https://spiral.ai/integrations/goose/leadocean-company-details)
- [Grok](https://spiral.ai/integrations/grok/leadocean-company-details)
- [Grok Build](https://spiral.ai/integrations/grok-build/leadocean-company-details)
- [Hermes](https://spiral.ai/integrations/hermes/leadocean-company-details)
- [Instinct](https://spiral.ai/integrations/instinct/leadocean-company-details)
- [Manus](https://spiral.ai/integrations/manus/leadocean-company-details)
- [Muse](https://spiral.ai/integrations/muse/leadocean-company-details)
- [Muse Code](https://spiral.ai/integrations/muse-code/leadocean-company-details)
- [n8n](https://spiral.ai/integrations/n8n/leadocean-company-details)
- [Notion](https://spiral.ai/integrations/notion/leadocean-company-details)
- [OpenClaw](https://spiral.ai/integrations/openclaw/leadocean-company-details)
- [Perplexity](https://spiral.ai/integrations/perplexity/leadocean-company-details)
- [Raycast](https://spiral.ai/integrations/raycast/leadocean-company-details)
- [VS Code](https://spiral.ai/integrations/vscode/leadocean-company-details)
- [Windsurf](https://spiral.ai/integrations/windsurf/leadocean-company-details)
- [Zapier](https://spiral.ai/integrations/zapier/leadocean-company-details)

## More opencode guides

- [LeadOcean company count](https://spiral.ai/integrations/opencode/leadocean-company-count)
- [LeadOcean company people](https://spiral.ai/integrations/opencode/leadocean-company-people)
- [Latvia registry publication status](https://spiral.ai/integrations/opencode/latvia-registry-publication-status)
- [LeadOcean company search](https://spiral.ai/integrations/opencode/leadocean-company-search)
- [Latvia company shareholders](https://spiral.ai/integrations/opencode/latvia-company-shareholders)
- [LeadOcean professional profile](https://spiral.ai/integrations/opencode/leadocean-professional-profile)

## Questions about LeadOcean company details in opencode

**Can opencode use LeadOcean company details?**

Yes. Add Spiral to opencode as an MCP server, and opencode can find and run LeadOcean company details like any built-in tool.

**How much does LeadOcean company details cost in opencode?**

Up to $0.0052377 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 details in opencode?**

No. Spiral runs LeadOcean company details 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 details in opencode?**

About two minutes: add the server, then sign in, then check it.

**Does opencode wait while LeadOcean company details runs?**

LeadOcean company details 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.

