Data tools

LinkedIn scraper API

Profiles, companies, employees, jobs, posts, ads and work emails from LinkedIn, as JSON.

One API key, REST or MCP. Pay per result from a prepaid balance — failed runs pay only for what they delivered.

LinkedInlovelyjsoninput"urls": ["https://www.linkedin…

Get LinkedIn profiles

LinkedIn

Public LinkedIn profile by URL: headline, experience, education, skills, location.

$0.015 / profileDetails →

Get LinkedIn companies

LinkedIn

LinkedIn company pages: description, industry, size, headquarters, website, followers.

$0.008 / companyDetails →

Search LinkedIn jobs

LinkedIn

LinkedIn job postings for a title/skill and location (or a jobs search URL): title, company, location, salary, posted date, applicants, description.

$0.0009 / job + $0.00225 / callDetails →

Get LinkedIn posts

LinkedIn

Recent posts from LinkedIn profiles or company pages, with engagement counts.

$0.003 / postDetails →

Search LinkedIn people

LinkedIn

Search LinkedIn people by keyword, location, company and title. One call returns up to 25 short profiles.

$0.15 / callDetails →

List LinkedIn company employees

LinkedIn

Employees of LinkedIn companies, filterable by job title, location and keyword: name, headline, position, profile URL.

$0.0045 / profile + $0.03 / callDetails →

Find email from a LinkedIn profile

LinkedIn

Work email address for LinkedIn profile URLs.

$0.005 / emailDetails →

Get LinkedIn company posts

LinkedIn

Recent posts from LinkedIn company pages with engagement counts.

$0.003 / postDetails →

Search LinkedIn companies

LinkedIn

Search LinkedIn companies by keyword, location and size: name, industry, size, URL.

$0.003 / company + $0.0015 / callDetails →

LinkedIn Ad Library

LinkedIn

Ads from the LinkedIn Ad Library for an advertiser or keyword search URL: copy, format, dates.

$0.0027 / adDetails →

Hand it to your AI agent

Copy this prompt into Claude Code, Cursor, Codex or any coding agent. It tells the agent where the docs are and how to use your API key.

Use the Lovely Router LinkedIn data tools to get data for me. They return JSON and are billed per result.

- Docs (read first): https://lovelyrouter.com/docs/tools.md and https://lovelyrouter.com/docs/tools/run.md and https://lovelyrouter.com/docs/api/tools.md
- Tools for this:
  - `linkedin-profile`: Get LinkedIn profiles ($0.015 / profile)
  - `linkedin-company`: Get LinkedIn companies ($0.008 / company)
  - `linkedin-jobs`: Search LinkedIn jobs ($0.0009 / job + $0.00225 / call)
  - `linkedin-posts`: Get LinkedIn posts ($0.003 / post)
  - `linkedin-people-search`: Search LinkedIn people ($0.15 / call)
  - `linkedin-company-employees`: List LinkedIn company employees ($0.0045 / profile + $0.03 / call)
  - `linkedin-email-finder`: Find email from a LinkedIn profile ($0.005 / email)
  - `linkedin-company-posts`: Get LinkedIn company posts ($0.003 / post)
  - `linkedin-company-search`: Search LinkedIn companies ($0.003 / company + $0.0015 / call)
  - `linkedin-ads`: LinkedIn Ad Library ($0.0027 / ad)
- Run: POST https://lovelyrouter.com/v1/tools/<id>/run with `{"input": {...}, "max_results": N}`. A 200 has the finished run with `items`; a 202 means it is still running, so poll the `poll` path until `status` is `succeeded`, `failed`, `timed_out` or `stopped`.
- Each tool takes its own input fields: read them with GET https://lovelyrouter.com/v1/tools/<id> (public, no key needed) before the first run.
- If you support MCP, you can instead connect the server https://lovelyrouter.com/mcp (Streamable HTTP, same key; https://lovelyrouter.com/docs/tools/mcp.md) and use suggest_tools, get_tool and run_tool.
- Auth: read my API key from the LOVELY_API_KEY environment variable and send it as `Authorization: Bearer $LOVELY_API_KEY`. Never print or commit the key. If it is not set, ask me to create one at https://lovelyrouter.com/app/keys.
- Billing is prepaid: every call is charged to my balance, so test with a small request before running anything large.
- Every docs page is plain Markdown; the full index is https://lovelyrouter.com/llms.txt.

My task: <describe the data you need and the output format>
curl https://lovelyrouter.com/v1/tools/linkedin-profile/run \
  -H "Authorization: Bearer $LOVELY_API_KEY" \
  -H "content-type: application/json" \
  -d '{"input":{"urls":["https://www.linkedin.com/in/williamhgates"]},"max_results":10}'

Each tool page lists its input fields and an example input. Agents can use every tool over MCP: MCP server

Frequently asked questions

What data can I get from LinkedIn?

10 tools: Get LinkedIn profiles, Get LinkedIn companies, Search LinkedIn jobs, Get LinkedIn posts, Search LinkedIn people, List LinkedIn company employees, Find email from a LinkedIn profile, Get LinkedIn company posts, Search LinkedIn companies, LinkedIn Ad Library. Each returns JSON and has its own page with its input fields and price.

Is this a LinkedIn scraper?

Yes. If you searched for a LinkedIn scraper, a LinkedIn profile scraper or a LinkedIn jobs scraper, this is it: Profiles, companies, employees, jobs, posts, ads and work emails from LinkedIn, as JSON.

How much does it cost to scrape LinkedIn?

Each tool has its own price per result, from $0.0009. You pay only for results delivered, from a prepaid balance with no subscription.

Do I need a LinkedIn account or API key?

No. You call the tools with your Lovely Router API key and get JSON back; there is nothing to set up on LinkedIn.

Can AI agents use these tools?

Yes. Connect Claude Code, Cursor or any MCP client to the Lovely Router MCP server and the agent picks the right tool with suggest_tools and runs it with run_tool.

Can I use the data any way I like?

You are responsible for using the data lawfully, including privacy law when results contain personal data. See the Acceptable Use Policy.

Acceptable Use Policy · Use cases · Pricing