USE CASE

LinkedIn profiles as a tool for your AI agent

Language models don't know who your prospect is or where they work now. Expose ProfileHunt as a tool and the agent can look up any public LinkedIn profile mid-conversation and get back structured JSON it can reason over.

Get API key 100 free credits with a work email

The fields that matter

headline
A one-line summary the model can quote.
about
The person's own description of their work.
experience
Current and past roles with dates, so the model doesn't guess.
recent_posts
What they've been talking about lately, for personalised drafts.
scraped_at
When the data was read, so the agent can say how current it is.

How to set it up

  1. Define a tool that takes a LinkedIn URL.
  2. When the model calls it, POST the URL to ProfileHunt and return the profile JSON as the tool result.
  3. Return a short message instead when status is gone or unavailable, so the model doesn't invent a profile.

Tool definition (JSON Schema)

{
  "name": "get_linkedin_profile",
  "description": "Look up a person's public LinkedIn profile: headline, about, location, current and past roles, education, followers and recent posts. Input must be a linkedin.com/in/ URL.",
  "input_schema": {
    "type": "object",
    "properties": {
      "url": { "type": "string", "description": "e.g. https://www.linkedin.com/in/williamhgates" }
    },
    "required": ["url"]
  }
}

Questions

Which agent frameworks does it work with?
Any that can make an HTTPS request from a tool: the Anthropic and OpenAI SDKs, LangChain, n8n's AI Agent node and others. The tool above is in Anthropic's format; OpenAI calls the schema field parameters.
How long does a call take?
Usually a few seconds, because the profile is read live. Tell the agent to call it once per person and reuse the result.
Is the full profile small enough for a prompt?
It depends on how much the profile shows. If you need it smaller, drop photo_url and the post texts before passing it on.

More use cases

Set it up in

ProfileHunt returns only what a LinkedIn profile shows to logged-out visitors. You are responsible for how you use it: follow the privacy and anti-spam laws that apply to you, such as the GDPR or India's DPDP Act, and our Terms. ProfileHunt is not affiliated with LinkedIn Corporation.