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

opencode · Lead Gen

How to Use Data Legion detailed professional profile in opencode

Returns a matched professional profile with added seniority, job function, experience, tenure, and quality metadata, without contact data. Use it for executive research that needs more context than a job title.

Prompts to try with Data Legion detailed professional profile in opencode

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

Use Data Legion detailed professional profile to look up Lisa Su with AMD as the company, then add the returned seniority, function, and experience to our executive detail component.

Data Legion detailed professional profileopencode
Try asking
  • Use Data Legion detailed professional profile to look this up and give me the result as a table. Save the result in ./assets.

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

  • Check Data Legion detailed professional profile and summarize what you find in three bullet points.

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

How to set up Data Legion detailed professional profile 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 professional profile

    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/enrich-premium-no-contact",
        "input": {
          "city": "<city>"
        }
      }'

Then paste one of the prompts above: opencode finds Data Legion detailed professional profile on Spiral, shows the price and runs it.

Data Legion detailed professional profile providers and prices

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

AlexandriaLead Gen
Data Legion · Person enrichment (premium-no-contact)
datalegion/people/enrich-premium-no-contact

Settings you can ask for

Ask opencode for any of these in your prompt.

SettingAllowed valuesDefaultDescription
Titlecaseon or offoff

If true, format text fields in title case (names, job titles, company names, locations, skills, headlines). Raw fields, IDs, URLs, codes, and confidence fields are excluded.

Pretty printon or offoff

If true, pretty-print JSON response with indentation.

Min confidencehigh, moderate, or low

Minimum match confidence level to include in results: 'high', 'moderate', or 'low'. Matches below this threshold will be filtered out.

Every API field of Data Legion · Person enrichment (premium-no-contact) is on its tool page: open its card above.

What can you do with Data Legion detailed professional profile 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.

Complete existing executive research records

Match known public executives by name and company, then append returned professional fields to an internal research database.

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 professional profile in opencode

Can opencode use Data Legion detailed professional profile?

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

How much does Data Legion detailed professional profile cost in opencode?

Up to $0.069836 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 professional profile in opencode?

No. Spiral runs Data Legion detailed professional profile 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 professional profile in opencode?

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

Does opencode wait while Data Legion detailed professional profile runs?

Data Legion detailed professional profile 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 professional profile 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