[Integrations](https://spiral.ai/integrations) › [opencode](https://spiral.ai/integrations/opencode) › [Apollo company details by ID](https://spiral.ai/integrations/opencode/apollo-company-details-by-id)

# How to Use Apollo company details by ID in opencode

Returns Apollo's detailed record for a company identified by its Apollo ID. Use it to revisit a business already identified in Apollo without matching its domain again.

|  |  |
| --- | --- |
| Model | Apollo company details by ID |
| Available through | Alexandria |
| Category | Lead Gen |
| Price | $0.026189 per call. |
| Returns | json |
| Runs | In the background |
| Setup | About 2 minutes, no API key |

## Prompts to try with Apollo company details by ID in opencode

- Use Apollo company details by ID to look this up and give me the result as a table. Save the result in ./assets.
- Pull the latest numbers from Apollo company details by ID and tell me what changed since last week.
- Check Apollo company details by ID and summarize what you find in three bullet points.
- Pull the newest data from Apollo company details by ID and give me the result as a table.
- Check Apollo company details by ID every morning and tell me only when something changed.

## How to set up Apollo company details by ID 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 Apollo company details by ID**: 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": "apollo/companies/info",
    "input": {
      "id": "<id>"
    }
  }'
```

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

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

## Apollo company details by ID tools and prices

- [Apollo · Complete company information](https://spiral.ai/tools/alexandria/apollo/companies/info) (Alexandria): $0.026189 per call.

## What can you do with Apollo company details by ID in opencode?

Build an internal company research view that combines Apollo company records with news and current hiring activity. A coding agent can add the results to project files for territory reviews, meeting briefs, or company comparisons.

### Prepare company meeting briefs

Find the right business, retrieve its company record, and add current hiring activity and recent reporting. Prepare a brief that distinguishes company attributes from reported events and open positions.

### Review a sales territory

Build a headquarters-based company shortlist and review available company details. Use news and hiring activity to identify businesses that deserve closer research before assigning sales effort.

### Assess potential business partners

Discover prospective partners and compare their available company records. Add company reporting and open roles to a partnership review without treating either as proof of willingness to partner.

### Maintain an internal competitor brief

Find relevant businesses, refresh known company records, and compare news and current postings across a competitor shortlist. Use the results to propose questions for product and sales research.

### Fill gaps in company records

Add available industry, headcount, revenue, funding, and location information to internal business records. Research one company, process a shortlist, or revisit a company already identified by Apollo ID.

### Research staffing prospects

Find companies that fit a staffing agency's target market and inspect their current postings. Add company context before deciding which businesses merit a recruiting services proposal.

### Research event sponsors

Build a company shortlist for a business event, compare available company details, and review recent reporting. Prepare internal sponsor recommendations grounded in company fit and documented events.

### Review funding context

Compare available funding round information across known companies and read related company news. Prepare an internal business development brief that separates database funding details from news coverage.

## Overview

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

## Apollo company details by ID in other agents

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

## More opencode guides

- [Apollo bulk people enrichment](https://spiral.ai/integrations/opencode/apollo-bulk-people-enrichment)
- [Apollo company job postings](https://spiral.ai/integrations/opencode/apollo-company-job-postings)
- [Apollo bulk company profiles](https://spiral.ai/integrations/opencode/apollo-bulk-company-profiles)
- [Apollo company news](https://spiral.ai/integrations/opencode/apollo-company-news)
- [Anymail Finder reverse email lookup](https://spiral.ai/integrations/opencode/anymail-finder-reverse-email-lookup)
- [Apollo company profile](https://spiral.ai/integrations/opencode/apollo-company-profile)

## Questions about Apollo company details by ID in opencode

**Can opencode use Apollo company details by ID?**

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

**How much does Apollo company details by ID cost in opencode?**

$0.026189 per call. 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 Apollo company details by ID in opencode?**

No. Spiral runs Apollo company details by ID on its own Alexandria account. You sign in to Spiral once and never paste a key.

**How long does it take to set up Apollo company details by ID in opencode?**

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

**Does opencode wait while Apollo company details by ID runs?**

Apollo company details by ID runs in the background. opencode starts the run, checks on it and gives you the json when it's ready.

**Does Apollo cover companies outside the United States?**

Yes. Apollo describes its company database as covering millions of companies worldwide; that does not establish complete coverage of every business in a country.

**Where does Apollo get its data?**

Apollo describes four inputs: its contributor network, engagement tools, public web crawling, and third-party providers. It cross-checks records across those inputs, so its database is not sourced solely from public websites.

**How often does Apollo refresh its database?**

Apollo says it runs monthly checks across the full database. It also describes updates when it captures new signals, which does not mean every company field changes on a fixed monthly date.

**Can Apollo's company information be inaccurate?**

Yes. Apollo acknowledges inaccurate company account information and provides a correction process for saved accounts; that process does not cover records imported from a CRM or another source.

**Does a company's location include every office?**

Apollo's company search uses headquarters location. A business headquartered in Boston will not match a Chicago headquarters search just because it has a Chicago office.

