Platform APIs
LinkedIn API
Public profiles, companies, posts, people search and ad transparency in one normalized record.
GET /linkedin/profile?url=...10 credits per profileauth: x-api-keycontent-type: application/jsonenvelope: data + meta
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
| url | string | yes | Public LinkedIn profile URL. |
| sections | string | no | profile, experience, education, company, posts. Defaults to profile. |
| posts_limit | number | no | Recent posts to include, 1 to 50. Adds 1 credit. |
request.sh
curl -s "https://api.cleanfetch.dev/v1/linkedin/profile?url=https://www.linkedin.com/in/williamhgates" \ -H "x-api-key: cf_live_your_key_here"
response.json
200 OK / application/json
{
"data": {
"platform": "linkedin",
"profile": {
"name": "Bill Gates",
"headline": "Co-chair, Bill & Melinda Gates Foundation",
"location": "Seattle, Washington",
"followers": 41200000,
"about": "Co-chair of the Bill & Melinda Gates Foundation.",
"experience": [
{
"title": "Co-chair",
"company": "Bill & Melinda Gates Foundation",
"current": true
}
]
}
},
"meta": {
"requestId": "req_cf_01j9k933p9s",
"lookupStatus": "found",
"creditsCharged": 10,
"latencyMs": 918,
"cached": false
}
}Endpoints
Use /v1/linkedin/profile for a person, /v1/linkedin/company for an organization, /v1/linkedin/posts for recent activity and /v1/linkedin/people-search for public people search. The directory lists all 60 LinkedIn endpoints.
Credits
A public profile lookup costs 10 credits, email costs 20 and a three-URL batch costs 10. Email and batch are paid-only; the free tier allows 5 profile lookups a day. A verified miss costs the same and an upstream failure costs none.
Public scope
The API reads public profile and company pages. It does not use a member session, does not return private contact details and does not bypass connection visibility.