How to Use Data Legion company profile search in Grok Build
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 Grok Build
Copy an example into Grok Build, 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.
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 Grok Build
Pick the way that suits you. Each takes about two minutes.
Use Spiral's MCP server
- Add the server
Add --scope project to add Spiral to the current repository only. No header and no client ID or secret: Grok registers itself with Spiral.
grok mcp add --transport http spiral https://api.spiral.ai/mcp
- Sign in
Start grok and run /mcps. Select Spiral and press i. Your browser opens: sign in to Spiral, pick the organization and click Authorize. No API key.
- Check it
grok mcp doctor spiral
Use the Spiral skill
- Send Grok Build 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 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: Grok Build 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.
Settings you can ask for
Ask Grok Build for any of these in your prompt.
| Setting | Allowed values | Default | Description |
|---|---|---|---|
| Limit | 1 to 12 | 1 | 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. |
| Offset | 0 to 10000 | 0 | Rows to skip. 0 to 10000. Ordering can change between Data Legion builds. |
| Titlecase | on or off | When true, Data Legion title-cases display text. Identifiers, URLs, and codes stay as stored. | |
| Pretty print | on 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 Grok Build?
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.
More on Data Legion company profile search and Grok Build
Overview
Data Legion company profile search in other agents
Questions about Data Legion company profile search in Grok Build
Can Grok Build use Data Legion company profile search?
Yes. Add Spiral to Grok Build as an MCP server, and Grok Build can find and run Data Legion company profile search like any built-in tool.
How much does Data Legion company profile search cost in Grok Build?
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 Grok Build plan is separate.
Do I need an Alexandria account to use Data Legion company profile search in Grok Build?
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 Grok Build?
About two minutes: add the server, then sign in, then check it.
Does Grok Build wait while Data Legion company profile search runs?
Data Legion company profile search runs in the background. Grok Build 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.
Start using Data Legion company profile search in Grok Build
One Spiral account for every tool your agent needs. No subscription; you pay per run.
Paste this into Grok Build:
set up https://spiral.ai/SKILL.md


