GET /v1/linkedin/profile

LinkedIn profile API: headline, location and followers by profile URL

Returns a member's public profile: name, about, followers, and under extra the headline, location, connections and current company. Send handle as a profile slug such as williamhgates or a linkedin.com/in URL. We read LinkedIn signed out, so you get what a guest sees, and get_raw is not available.

Price
$0.0005 per call
Batch
Yes, through /v1/batch
Failed calls
Not charged

Example request

curl
curl 'https://api.virev.ai/v1/linkedin/profile?handle=williamhgates' \
  -H "Authorization: Bearer $VIREV_API_KEY"
python
import os
import requests

response = requests.request(
    "GET",
    "https://api.virev.ai/v1/linkedin/profile",
    params={
        "handle": "williamhgates",
    },
    headers={"Authorization": f"Bearer {os.environ['VIREV_API_KEY']}"},
    timeout=60,
)
response.raise_for_status()
print(response.json())

Parameters

NameInTypeDescription
handle requiredquerystringA member or company slug, or its linkedin.com/in or /company URL. Example williamhgates.
cached queryauto | cache_only | liveauto (default) serves a read saved within the last 24 hours for these exact arguments, otherwise fetches. cache_only never contacts LinkedIn (404 not_cached when nothing is saved, whatever its age). live always fetches. Anything else is a 400. Default auto.
get_raw querybooleanNot available on this operation: the upstream document is an HTML page, and true answers 400. The default false returns the normalized type. Default false.

Example response

The example response of the API reference.

json
{
  "data": {
    "id": "251749025",
    "username": "williamhgates",
    "full_name": "Bill Gates",
    "biography": "Creator, Top Voice",
    "followers": 40760678,
    "following": null,
    "posts": null,
    "is_verified": null,
    "is_private": false,
    "avatar_url": "https://media.licdn.com/dms/image/v2/D5603AQF-RYZP55jmXA/profile-displayphoto-shrink_200_200/B56ZRi8g.aGsAY-/0/1736826818802?e=2147483647&v=beta&t=bKWfN6UwwtiCqFWsG7rBELbd48qJOAMLdxhBzzkJV0k",
    "external_url": null,
    "links": [],
    "category": null,
    "business_category": null,
    "is_business": null,
    "is_professional": null,
    "business_email": null,
    "business_phone": null,
    "business_address": null,
    "pronouns": [],
    "highlight_reel_count": null,
    "has_clips": null,
    "is_recently_joined": null,
    "fbid": null,
    "extra": {
      "account_kind": "member",
      "canonical_urn": "urn:li:member:251749025",
      "headline": "Chair of the Gates Foundation. Founder of Breakthrough Energy. Co-founder of Microsoft. Voracious reader. Avid traveler. Active blogger.",
      "location": "Seattle, Washington, United States, US",
      "connections": 8,
      "connections_exact": true,
      "current_company_name": "Gates Foundation",
      "current_company_slug": "gates-foundation",
      "url": "https://www.linkedin.com/in/williamhgates/",
      "followers_approximate": false
    }
  },
  "meta": {
    "source": "live",
    "fetched_at": "2026-10-27T20:38:47.181001+00:00",
    "cost": "$0.0005",
    "balance": "$0.9990",
    "request_id": "req_f1816dc58d602f061fd3412af09ce0e2"
  }
}

How it works

A member's guest profile: name, headline, about, followers and connections. extra carries headline, location, connections and the current company. Returns Profile under data. LinkedIn is read as a signed-out guest and every upstream document is an HTML page, so get_raw is not available.

A field LinkedIn does not carry is null, a list it does not carry is [], and LinkedIn-only facts sit under extra. Unknown, unsupported, and repeated query parameters return 400 before acquisition or billing.

Errors

StatusWhen
400The request parameters are invalid.
401Missing, malformed, or revoked API key.
402Balance is too low for this request.
404cached=cache_only found nothing saved for these arguments (not_cached; call again with cached=auto to fetch it), or the LinkedIn account or item does not exist (not_found). You are not charged.
429Over the per-minute limit. The limit belongs to your organization and all its API keys share it: 100 requests per minute unless an increase was granted. Wait for the Retry-After seconds, then retry. On a live read, code rate_limited means the platform itself rate-limited this read; retry after the Retry-After seconds. You are not charged.
502The upstream fetch failed. You are not charged.
503Billing could not be confirmed, so no upstream data was returned.
504The upstream request timed out. You are not charged.