# Get LinkedIn company (https://snitchfeed.com/docs/api/linkedin/company/get)

**Authentication:** All requests require `Authorization: Bearer <api_key>` header. Obtain your API key from the SnitchFeed platform under Integrations → API Keys.

## `POST /data/linkedin/company/get`

**Full URL:** `https://api.snitchfeed.com/v1/data/linkedin/company/get`

**Summary:** Get LinkedIn company

Fetch a public LinkedIn company profile (industry, size, locations, followers) by company page URL. Costs 4 credits per successful request.

**Recommended client timeout: 90 seconds.** Most requests resolve in 2-5 seconds, but set your HTTP client timeout to at least 90 seconds to avoid false timeouts on slower lookups.

Credits

Each **successful** response deducts **4 credits** from your organization. Requests that fail (4xx / 5xx) are not billed.

See the [credits documentation](https://snitchfeed.com/docs/api/credits) for the full rate table.

### Request Body

**Content-Type:** `application/json`

#### Fields

Request body for `POST /data/linkedin/company/get`.

| Field | Type | Required | Description |
|-------|------|:--------:|-------------|
| `url` | string | ✓ | Public LinkedIn company page URL, e.g. `https://www.linkedin.com/company/snitchfeed`. (minLength: 1, maxLength: 2048) |

### Responses

#### `200`: Company profile

#### Response fields

Successful `POST /data/linkedin/company/get` response.

| Field | Type | Required | Description |
|-------|------|:--------:|-------------|
| `requestId` | string | ✓ | Server-generated id for this request (logging / support). |
| `company` | object | ✓ | One normalized LinkedIn company profile. |
| `id` | string | ✓ | Stable LinkedIn company identifier. |
| `name` | string | ✓ | Company display name. |
| `universalName` | string,null | ✓ | LinkedIn universal name / slug when provided. |
| `linkedinUrl` | string,null | ✓ | Canonical LinkedIn company URL. |
| `description` | string,null | ✓ | Company profile description. |
| `tagline` | string,null | ✓ | Company tagline when provided. |
| `websiteUrl` | string,null | ✓ | Company website URL. |
| `industry` | string,null | ✓ | Primary industry name. |
| `foundedYear` | integer,null | ✓ | Founded year when provided. |
| `followerCount` | integer | ✓ | LinkedIn follower count. (min: 0) |
| `employeeCount` | integer | ✓ | Employee count when provided. (min: 0) |
| `employeeCountRange` | object,null | ✓ | LinkedIn company employee count range. |
| `headquarter` | object,null | ✓ | Normalized LinkedIn company location. |
| `locations` | object[] | ✓ | Known company locations. |
| `specialities` | string[] | ✓ | Company specialties listed on LinkedIn. |
| `logoUrl` | string,null | ✓ | Company logo URL. |

#### `400`: Validation or bad request

#### Response fields

Validation error

| Field | Type | Required | Description |
|-------|------|:--------:|-------------|
| `requestId` | string | ✓ | Server-generated id for this request (logging / support). |
| `error` | object | ✓ |  |
| `code` | "validation_error" | ✓ |  |
| `message` | string | ✓ |  |
| `issues` | object[] | ✓ |  |

**Example:**
```json
{
  "requestId": "01HXYZABCDEF",
  "error": {
    "code": "validation_error",
    "message": "query: String must contain at least 1 character(s)",
    "issues": [
      {
        "path": "query",
        "message": "String must contain at least 1 character(s)"
      }
    ]
  }
}
```

#### `401`: Unauthorized

#### Response fields

Unauthorized

| Field | Type | Required | Description |
|-------|------|:--------:|-------------|
| `requestId` | string | ✓ | Server-generated id for this request (logging / support). |
| `error` | object | ✓ |  |
| `code` | "unauthorized" | ✓ |  |
| `message` | string | ✓ |  |

**Example:**
```json
{
  "requestId": "01HXYZABCDEF",
  "error": {
    "code": "unauthorized",
    "message": "Invalid or revoked API key."
  }
}
```

#### `403`: Forbidden: the credential lacks the `search:read` scope, the organization's plan does not include API access (API keys only), or the authorizing user's role lacks the required permission.

#### Response fields

Forbidden — the API key lacks a required scope, or its owner's role lacks the underlying permission.

| Field | Type | Required | Description |
|-------|------|:--------:|-------------|
| `requestId` | string | ✓ | Server-generated id for this request (logging / support). |
| `error` | object | ✓ |  |
| `code` | "forbidden" | ✓ |  |
| `message` | string | ✓ |  |

**Example:**
```json
{
  "requestId": "01HXYZABCDEF",
  "error": {
    "code": "forbidden",
    "message": "This credential does not have the \"search:read\" scope."
  }
}
```

#### `429`: Rate limited (20 requests per minute per surface) or too many concurrent in-flight requests (max 2 per organization)

#### Response fields

Rate limited or too many concurrent in-flight requests

| Field | Type | Required | Description |
|-------|------|:--------:|-------------|
| `requestId` | string | ✓ | Server-generated id for this request (logging / support). |
| `error` | object | ✓ |  |
| `code` | "rate_limited" | ✓ |  |
| `message` | string | ✓ |  |
| `retryAfter` | integer | ✓ | Seconds until the rate limit resets (same value as the `Retry-After` response header). |

**Example:**
```json
{
  "requestId": "01HXYZABCDEF",
  "error": {
    "code": "rate_limited",
    "message": "Rate limit exceeded for linkedin. Try again later.",
    "retryAfter": 42
  }
}
```

#### `502`: Upstream error

#### Response fields

Upstream error

| Field | Type | Required | Description |
|-------|------|:--------:|-------------|
| `requestId` | string | ✓ | Server-generated id for this request (logging / support). |
| `error` | object | ✓ |  |
| `code` | "upstream_error" | ✓ |  |
| `message` | string | ✓ |  |

**Example:**
```json
{
  "requestId": "01HXYZABCDEF",
  "error": {
    "code": "upstream_error",
    "message": "LinkedIn search could not be completed. You won't be charged for this request."
  }
}
```

#### `503`: LinkedIn company lookup temporarily unavailable

#### Response fields

LinkedIn search temporarily unavailable

| Field | Type | Required | Description |
|-------|------|:--------:|-------------|
| `requestId` | string | ✓ | Server-generated id for this request (logging / support). |
| `error` | object | ✓ |  |
| `code` | "linkedin_unavailable" | ✓ |  |
| `message` | string | ✓ |  |

**Example:**
```json
{
  "requestId": "ce8f36c6-c9e6-4ab1-93b3-d11bbbe886aa",
  "error": {
    "code": "linkedin_unavailable",
    "message": "LinkedIn search is temporarily unavailable. Retry later. You won't be charged for this request."
  }
}
```
