Source: https://www.agentweb.us/sites/linkedin.com/get-profile/

# Can an AI agent look up a LinkedIn profile on demand?

By Andrey Marey, Founder of AgentWeb · As of Oct 22, 2026

> **Short answer.** Yes. AgentWeb's `get_profile` turns a LinkedIn /in/ name from a pasted link into the member's profile ID, name, headline, About text and location, using the user's own signed-in session. It is the read your agent does before it reaches out. Pair it with `get_profile_experience`, `get_profile_education` and `get_profile_skills` for the full picture.

## What it does

Resolves a public profile vanity name (the /in/ slug) to the member's profile ID, plus their name, headline, About text, country, location, industry and whether they hold Premium.

## What your agent needs

- The /in/ vanity name from the profile URL.

## What comes back

`profile_urn`, name, headline, `summary` (About), `country_code`, `location_name`, `industry_urn` and `premium`.

## Using it safely

- Use it to understand who someone is before any outreach, not for bulk collection.
- Current title and employer come from `get_profile_experience`.

## Try it


```bash
curl -s https://mcp.agentweb.us/api/execute \
  -H "Authorization: Bearer $AGENTWEB_API_KEY" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: linkedin-get_profile-1" \
  -d '{"domain":"linkedin.com","action":"get_profile","params":{"vanity_name":"<the /in/ slug>"}}'
```

Parameter names shown are illustrative. Your agent gets the exact schema for every action from AgentWeb's `list_actions` tool.

## Frequently asked questions

### Does it show where they work now?

Use `get_profile_experience` for the work history. The row with no end year is the current role.

### Can I tell if they have an Open Profile?

`get_profile` returns `premium`, and Open Profile is a Premium-only setting. `verify_open_profile` gives the actual answer.

### What does it cost?

Each completed action costs $0.05, paid from prepaid blocks of $25, $50 or $100 that never expire. Failed actions are refunded.

### Which AI tools can use it?

Any agent that speaks MCP or HTTP. Add `https://mcp.agentweb.us/mcp` as a remote MCP server in Claude, ChatGPT, Cursor, Codex or Grok, or call the REST endpoint directly.

## Related

- [How to let an AI agent look up a LinkedIn profile before it reaches out](/guides/ai-agent-linkedin-profile-lookup/)
- [Send LinkedIn InMail](/sites/linkedin.com/send-inmail/)
- [Find the people at a company](/sites/linkedin.com/list-people-at-company/)
- [LinkedIn API for AI agents](/sites/linkedin.com/)
