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

opencode · Lead Gen

How to Use People Data Labs person enrichment in opencode

Returns one matched person record with available employment information and social profiles. Use it to research a known public business leader rather than search for people by criteria.

Prompts to try with People Data Labs person enrichment in opencode

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

Use People Data Labs person enrichment for Satya Nadella with microsoft.com, then populate a career brief in this project's existing biography component using the returned employers and titles.

People Data Labs person enrichmentopencode
Try asking
  • Use People Data Labs person enrichment for Brian Chesky with airbnb.com. Create a career timeline from the returned work experience in the project's existing timeline view.

  • Use People Data Labs person enrichment to look this up and give me the result as a table. Save the result in ./assets.

  • Pull the latest numbers from People Data Labs person enrichment and tell me what changed since last week.

  • Check People Data Labs person enrichment and summarize what you find in three bullet points.

How to set up People Data Labs person enrichment 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 People Data Labs person enrichment

    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": "people-data-labs/person/enrich",
        "input": {
          "pdl_id": "<pdl_id>"
        }
      }'

Then paste one of the prompts above: opencode finds People Data Labs person enrichment on Spiral, shows the price and runs it.

People Data Labs person enrichment providers and prices

Spiral runs People Data Labs person enrichment through Alexandria. Open a card for today's price, with every fee included.

AlexandriaLead Gen
People Data Labs · Person enrichment
people-data-labs/person/enrich

Settings you can ask for

Ask opencode for any of these in your prompt.

SettingAllowed valuesDefaultDescription
Titlecaseon or offoff

Return titlecased values. Responses are lowercase otherwise, which matters when the output is shown to a person rather than matched on.

Min likelihood1 to 102

Refuse a match below this confidence, 1-10, default 2. At 2 the match is only 10-30% likely to be the record asked for. Raising it turns a weak match into a 404, which is the cheaper answer: a 404 is free here and a wrong record is not.

Include if matchedon or offoff

Return matching inputs: top-level matched for enrichment, or matched_on within Identify candidates.

Every API field of People Data Labs · Person enrichment is on its tool page: open its card above.

What can you do with People Data Labs person enrichment in opencode?

Build a public executive research view populated with People Data Labs employment records and professional profile links. A coding agent can map returned records into your project's biography pages and comparison tables.

Prepare a business interview

Build a career brief for a public founder or executive, using returned employers, titles, and role dates to draft specific interview questions.

Research conference speakers

Compare the professional backgrounds of public business speakers before choosing panel topics. Use their recorded roles to identify relevant experience.

Maintain an internal leadership directory

Populate an internal directory of public company leaders with available job titles, employers, and professional profile links.

Check an executive biography

Compare an editorial biography with recorded employers and role dates. Turn discrepancies into questions for further reporting.

Prepare a company leadership brief

Summarize the recorded professional backgrounds of a company's public executives before a business meeting or company research discussion.

Compare founder career paths

Compare prior employers and job titles across named public founders for an article about professional routes into entrepreneurship.

Questions about People Data Labs person enrichment in opencode

Can opencode use People Data Labs person enrichment?

Yes. Add Spiral to opencode as an MCP server, and opencode can find and run People Data Labs person enrichment like any built-in tool.

How much does People Data Labs person enrichment cost in opencode?

$0.104754 per call. 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 People Data Labs person enrichment in opencode?

No. Spiral runs People Data Labs person enrichment on its own Alexandria account. You sign in to Spiral once and never paste a key.

How long does it take to set up People Data Labs person enrichment in opencode?

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

Does opencode wait while People Data Labs person enrichment runs?

People Data Labs person enrichment runs in the background. opencode starts the run, checks on it and gives you the json when it's ready.

How large is the People Data Labs person dataset?

People Data Labs describes its dataset as containing nearly three billion individual profiles. That figure describes the underlying dataset, not a promise that a particular person will match.

How often does the data update?

API data updates roll out monthly. Job verification and location update dates describe when information appeared in a source, so a monthly refresh does not mean every record was recently confirmed.

Is all of the data collected from public websites?

No. People Data Labs identifies two source categories: proprietary sources and public data sources.

Will every matched profile have complete information?

No. People Data Labs represents fields without data as null, so matching a profile does not guarantee a complete employment record or a populated social profile.

Are the returned skills standardized?

Skills are self-reported and are not canonicalized. People Data Labs treats “java” and “java 8.0” as separate skills.

Get started

Start using People Data Labs person enrichment 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