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

Claude Code · Lead Gen

How to Use Data Legion company profile search in Claude Code

Returns matching company profiles with core details such as industry, size range, founding year, domains, and offices. Use it to build business lists from criteria when you do not already know which companies to look up.

Prompts to try with Data Legion company profile search in Claude Code

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

Use Data Legion company profile search to find software companies with headquarters in Austin, Texas, and populate this project's comparison table with their names, domains, and size ranges.

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

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

  • Check Data Legion company profile search and summarize what you find in three bullet points.

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

How to set up Data Legion company profile search in Claude Code

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

Use Spiral's MCP server

  1. Add the hosted server

    This adds Spiral to the current project. Add --scope user to use it in every project.

    claude mcp add --transport http spiral https://api.spiral.ai/mcp
  2. Sign in

    Start claude, type /mcp, choose spiral and Authenticate. Sign in to Spiral in the browser and click Authorize. No API key.

Use the Spiral skill

  1. Send Claude 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 Data Legion company profile 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": "datalegion/companies/search-base",
        "input": {
          "query": "<query>"
        }
      }'

Then paste one of the prompts above: Claude Code finds Data Legion company profile search on Spiral, shows the price and runs it.

Data Legion company profile search providers and prices

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

AlexandriaLead Gen
Data Legion · Company search (base)
datalegion/companies/search-base

Settings you can ask for

Ask Claude Code for any of these in your prompt.

SettingAllowed valuesDefaultDescription
Limit1 to 121

Rows to return, in place of a LIMIT clause. Default 1. This product stops at 12 so the quote stays within 125 credits. The vendor's own maximum is 100.

Offset0 to 100000

Rows to skip. 0 to 10000. Ordering can change between Data Legion builds.

Titlecaseon or off

When true, Data Legion title-cases display text. Identifiers, URLs, and codes stay as stored.

Pretty printon or off

When true, Data Legion indents the JSON body.

Every API field of Data Legion · Company search (base) is on its tool page: open its card above.

What can you do with Data Legion company profile search in Claude Code?

Build a company comparison table in your app from Data Legion's industries, size ranges, founding years, domains, and offices. An agent can map returned profiles into your project's account records and add workforce history where available.

Fill gaps in CRM accounts

Add industry, size range, founding year, domains, and office details to business accounts. Look up known companies or search for records that match your account criteria.

Prepare company research briefs

Build a brief from company descriptions, industries, founding years, websites, and social profiles. Use the returned business details to prepare for a customer or partner meeting.

Compare a business shortlist

Put prospective customers, suppliers, or partners side by side using company type, industry, size range, and founding year. Use lookups for a named shortlist or search to assemble candidates.

Review business territories

Organize companies by their returned headquarters and office locations. Separate headquarters from other offices when deciding which businesses belong in a territory review.

Questions about Data Legion company profile search in Claude Code

Can Claude Code use Data Legion company profile search?

Yes. Add Spiral to Claude Code as an MCP server, and Claude Code can find and run Data Legion company profile search like any built-in tool.

How much does Data Legion company profile search cost in Claude Code?

Up to $0.209508 per run. You pay from your Spiral balance as you go, with no subscription, and a failed run is not charged. Your Claude Code plan is separate.

Do I need an Alexandria account to use Data Legion company profile search in Claude Code?

No. Spiral runs Data Legion company profile 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 Data Legion company profile search in Claude Code?

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

Does Claude Code wait while Data Legion company profile search runs?

Data Legion company profile search runs in the background. Claude Code starts the run, checks on it and gives you the json when it's ready.

How many companies does Data Legion cover?

Data Legion's published coverage exceeds 71 million company profiles. Coverage varies by field: its statistics page reports a primary website domain on 52% of records.

How often does Data Legion refresh company data?

Data Legion rebuilds its full dataset monthly. That is the published refresh schedule for the underlying company data.

Does Data Legion collect information from private accounts?

Data Legion says its records come from publicly available and commercially licensed sources. Its sourcing policy explicitly excludes scraping private accounts.

Can I distinguish headquarters from other offices?

Company locations identify the primary office as headquarters and indicate whether each office is still operating. That lets you distinguish a headquarters address from another office in the returned profile.

How much workforce history does Data Legion provide?

Premium company records can contain up to 60 months of headcount, hires, and departures. The series ends at the dataset's as-of month.

Get started

Start using Data Legion company profile search in Claude Code

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

Paste this into Claude Code:

Set up Claude Code

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