---
search:
  tags:
    - LinkedIn
    - GET
seo:
  description: >-
    Look up a LinkedIn user or organization by their URN (e.g. urn:li:person:xyz
    or… Reference for the GET /linkedin/profile/{urn} endpoint in the Ordinal
    API.
sidebar:
  label: Get LinkedIn profile by URN
  badge: GET
title: Get LinkedIn profile by URN
type: openapi-operation
---
Look up a LinkedIn user or organization by their URN (e.g. `urn:li:person:xyz` or `urn:li:organization:xyz`) to get the username, name, and profile picture.

`GET /linkedin/profile/{urn}`

**Responses**

- `200` — LinkedIn profile information
- `401` — Unauthorized - Missing or invalid API key
- `404` — Not Found - Resource does not exist

Response example, 200:

```json
{
  "urn": "urn:li:person:ABC123xyz",
  "username": "johndoe",
  "name": "John Doe",
  "profileImageUrl": "https://media.licdn.com/dms/image/photo.jpg",
  "type": "User"
}
```

Response example, 401:

```json
{
  "code": "UNAUTHORIZED",
  "message": "Invalid or unauthorized API key"
}
```

Response example, 404:

```json
{
  "code": "NOT_FOUND",
  "message": "Post not found or does not belong to this workspace"
}
```
