Spiral gives your agent every tool with one account. Browse the tools →

VS Code · Lead Gen

How to Use Apollo company search in VS Code

Returns companies matching your criteria from Apollo's database, with up to 100 results per page. Use it to discover businesses for a shortlist before researching known companies in detail.

Prompts to try with Apollo company search in VS Code

Copy an example into VS Code, or ask in your own words.

Use Apollo company search to find 25 companies headquartered in Austin, Texas, with 51 to 200 employees. Save the returned company shortlist in research/austin-companies.json.

Apollo company searchVS Code
Try asking
  • Use Apollo company search to look this up and give me the result as a table. Save the result in ./assets.

  • Pull the latest numbers from Apollo company search and tell me what changed since last week.

  • Check Apollo company search and summarize what you find in three bullet points.

  • Pull the newest data from Apollo company search and give me the result as a table.

How to set up Apollo company search in VS Code

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

Use Spiral's MCP server

  1. Add the hosted server

    Use Add to VS Code on the console's Agents & MCP page, or run:

    code --add-mcp '{"name":"spiral","type":"http","url":"https://api.spiral.ai/mcp"}'
  2. Sign in

    VS Code asks you to sign in when it first starts the server: sign in to Spiral and click Authorize. No API key. Run MCP: List Servers from the Command Palette to check that Spiral is running.

Use the Spiral skill

  1. Send VS Code 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.

    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 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": "apollo/companies/search",
        "input": {
          "page": 1
        }
      }'

Then paste one of the prompts above: VS Code finds Apollo company search on Spiral, shows the price and runs it.

Apollo company search providers and prices

Spiral runs Apollo company search through Alexandria. Open a card for today's price, with every fee included.

AlexandriaLead Gen
Apollo · Company search
apollo/companies/search

Settings you can ask for

Ask VS Code for any of these in your prompt.

SettingAllowed valuesDefaultDescription
Pagea number1

Page of results, from 1.

Per pagea number up to 10025

Results per page, maximum 100.

Every API field of Apollo · Company search is on its tool page: open its card above.

What can you do with Apollo company search in VS Code?

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.

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.

Questions about Apollo company search in VS Code

Can VS Code use Apollo company search?

Yes. Add Spiral to VS Code as an MCP server, and VS Code can find and run Apollo company search like any built-in tool.

How much does Apollo company search cost in VS Code?

$0.026189 per call. You pay from your Spiral balance as you go, with no subscription, and a failed run is not charged. Your VS Code plan is separate.

Do I need an Alexandria account to use Apollo company search in VS Code?

No. Spiral runs Apollo 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 Apollo company search in VS Code?

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

Does VS Code wait while Apollo company search runs?

Apollo company search runs in the background. VS Code 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.

Get started

Start using Apollo company search in VS Code

One Spiral account for every tool your agent needs. No subscription; you pay per run.

Paste this into VS Code:

Set up VS Code

set up https://spiral.ai/SKILL.md
Are you an AI agent? See setup options