UnifAPI Docs

Resolve a LinkedIn username to its entity id

Returns the entity id (`ACoAA…`) for a LinkedIn vanity username. Pass the id instead of the username to /linkedin/users/{username}/… routes to skip the lookup.

Pricing — $ · min $0.009

Minimum 9 credits ($0.009) per call. Records returned above the minimum bill 1 credit ($0.001) each.

GET
/linkedin/resolve/user-id

Authorization

bearerAuth
AuthorizationBearer <token>

UnifAPI API key. Provider credentials are managed by UnifAPI.

In: header

Query Parameters

username*string

LinkedIn profile handle. Not an organization slug. A /in/{handle} URL is accepted.

Length1 <= length

Header Parameters

Unifapi-Version?"2026-07-01"

Pin the API version an integration was built against (date-based, e.g. 2026-07-01). Omit to use the current version. Public URL paths stay stable and unversioned; breaking changes ship under a new dated version and are announced with Deprecation and Sunset response headers. The served version is echoed in every response's Unifapi-Version header. Policy: https://unifapi.com/versioning.md

Default"2026-07-01"

Value in

  • "2026-07-01"

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

application/json

application/json

application/json

curl -X GET "https://example.com/linkedin/resolve/user-id?username=string"
{  "request_id": "string",  "data": {    "entity_id": "string",    "username": "string"  },  "billing": {    "credits_charged": 0,    "records_charged": 0,    "balance_remaining": 0,    "truncated_due_to_balance": true  }}