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

opencode · Lead Gen

How to Use Data Legion detailed search with contact data in opencode

Returns matching profiles with professional history, available contact fields, derived role insights, and quality metadata. Use it when business research needs both detailed professional attributes and contact data rather than a known-person lookup.

Prompts to try with Data Legion detailed search with contact data in opencode

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

Use Data Legion detailed search with contact data to look this up and give me the result as a table. Save the result in ./assets.

Data Legion detailed search with contact dataopencode
Try asking
  • Pull the latest numbers from Data Legion detailed search with contact data and tell me what changed since last week.

  • Check Data Legion detailed search with contact data and summarize what you find in three bullet points.

  • Pull the newest data from Data Legion detailed search with contact data and give me the result as a table.

  • Check Data Legion detailed search with contact data every morning and tell me only when something changed.

How to set up Data Legion detailed search with contact data 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.

    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.

    opencode mcp auth spiral
  3. Check it

    Spiral shows as connected.

    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.

    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 detailed search with contact data

    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/people/search-premium-with-contact",
        "input": {
          "query": "<query>"
        }
      }'

Then paste one of the prompts above: opencode finds Data Legion detailed search with contact data on Spiral, shows the price and runs it.

Data Legion detailed search with contact data providers and prices

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

AlexandriaLead Gen
Data Legion · Person search (premium-with-contact)
datalegion/people/search-premium-with-contact

Settings you can ask for

Ask opencode for any of these in your prompt.

SettingAllowed valuesDefaultDescription
Limit1 to 11

Rows to return, in place of a LIMIT clause. Default 1. This product stops at 1 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 · Person search (premium-with-contact) is on its tool page: open its card above.

What can you do with Data Legion detailed search with contact data in opencode?

Build an internal executive research view that turns Data Legion jobs, employers, and career histories into readable records. A coding agent can map returned professional fields into your project's existing data model and interface.

Prepare public executive meeting briefs

Build an internal brief from a public business leader's returned job, employer, and career history before a business meeting.

Research leadership backgrounds for investment reviews

Compare the returned professional histories of public company leaders, including previous employers and available employment dates.

Draft conference speaker research notes

Turn returned professional profiles for publicly announced business speakers into internal notes about roles, career history, and relevant experience.

Prepare partnership discussions

Review a public business leader's professional background and previous organizations to prepare relevant questions for a partnership conversation.

Compare professional classifications

Compare public business leaders using returned seniority, job function, experience, and tenure classifications alongside their career histories.

Questions about Data Legion detailed search with contact data in opencode

Can opencode use Data Legion detailed search with contact data?

Yes. Add Spiral to opencode as an MCP server, and opencode can find and run Data Legion detailed search with contact data like any built-in tool.

How much does Data Legion detailed search with contact data cost in opencode?

Up to $0.139672 per run. 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 Data Legion detailed search with contact data in opencode?

No. Spiral runs Data Legion detailed search with contact data 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 detailed search with contact data in opencode?

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

Does opencode wait while Data Legion detailed search with contact data runs?

Data Legion detailed search with contact data runs in the background. opencode starts the run, checks on it and gives you the json when it's ready.

Does Data Legion cover professionals worldwide?

Data Legion describes its person dataset as more than 188 million US professional profiles. That published scope does not establish worldwide coverage.

How fresh are the professional profiles?

Data Legion refreshes person data monthly. A monthly refresh is not a promise that a newly announced job change already appears in a profile.

Does every profile include a job and employer?

No. Data Legion's published coverage table lists current job titles on 66% of profiles and current company names on 64%.

Is all the information collected from public pages?

No. Data Legion says it combines publicly available information with commercially licensed sources.

What does Premium add to the professional data?

Premium adds derived seniority, job function, decision-maker classification, experience, and tenure. Contact inclusion is a separate distinction from Base versus Premium.

Get started

Start using Data Legion detailed search with contact data in opencode

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

Paste this into opencode:

Set up opencode

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