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

AlexandriaLead GenAvailable now

Data Legion · Company search (premium)

datalegion/companies/search-premium

Find companies, people and contact details with Data Legion · Company search (premium) from Alexandria through one Spiral API key. Search the premium company dataset. The API key selects that dataset and field set. The query is sent to Data Legion as written. An empty page costs nothing. total is not billed. It runs in the background and returns structured JSON. Pay as you go, with no subscription.

Pricing

Up to $0.209508 per run.

Limits

Runs
In the background
Returns
json
Longest queue wait
1 hour
Run deadline
5 minutes
Longest run, end to end
225 minutes
Largest inline input
1 MB
Largest input file
2 GB
Largest output
5 GB

Input

FieldKindDefaultDescription
query requiredtext—

SELECT statement Data Legion runs. Do not put LIMIT or OFFSET in it. Exchange does not execute this statement.

limitnumber
1 to 3
1

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

offsetnumber
0 to 10000
0

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

titlecasetrue or false—

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

pretty_printtrue or false—

When true, Data Legion indents the JSON body.

exclude_fieldstext—

Comma-separated fields to drop after include_fields.

include_fieldstext—

Comma-separated fields to keep. Omitted means the whole record.

Same request in code

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-premium",
    "input": {
      "query": "<query>"
    }
  }'

Frequently asked questions

How much does Data Legion · Company search (premium) cost?

Up to $0.209508 per run. You pay as you go from one Spiral balance, with no subscription, and a failed run is not charged.

How do I use Data Legion · Company search (premium) through an API?

Send `POST /v1/runs` with `"provider": "alexandria"`, `"model": "datalegion/companies/search-premium"` and the input fields on this page, using one Spiral API key. It runs in the background: poll the run, or name a webhook to be told when it finishes.

Do I need an account with Alexandria to use Data Legion · Company search (premium)?

No. Spiral runs it on its own Alexandria account and charges your Spiral balance.

Can my AI agent use Data Legion · Company search (premium)?

Yes. Agents find and run it through Spiral's MCP server, CLI or agent skill, with the same API key.