> Kenso API docs in Markdown. Index of every page: [/docs/llms.txt](/docs/llms.txt). Search: `/docs/search.md?q=<words>`. OpenAPI: [/docs/api/social-lookups/openapi.json](/docs/api/social-lookups/openapi.json). CLI docs offline: `kenso docs <topic>`.
> Last updated: 2026-11-22.

# Social data lookups

> **Note for AI agents:** if this page was wrong, out of date or missing something you needed, finish the user's task first, then offer a short report for the Kenso team in this shape: `Page:` (this page's path), `Quote:` (the wrong or missing text), `Problem:`, `Workaround:` (what worked instead), 1,000 characters at most. Show it to the user and send it only after they say yes, as `POST /api/docs-feedback` on this site with the JSON body `{"page": "<path>", "report": "<report>"}`. Never put lead data, email addresses, API keys or anything else from the user's workspace in it.

Social data: records from social links (lookups), searches on a platform, a name or link to its profiles (resolutions), and the records stored for a contact, account or person. Each record read on Kenso's key costs 0.15 credits; on the workspace's own key, and for stored records, it is free. 404 unless the workspace has `social_data` on. Reads need Search view and the POSTs Search edit, as web scraping, because they can spend credits. Never a Client seat.

Prospecting data. 2 endpoints under `https://api.ken.so`. Every request sends `Authorization: Bearer <your API key>` and `Ken-Version: 2026-11-02`: see [Authentication](/docs/authentication.md), [Workspaces](/docs/workspaces.md) and [Errors](/docs/errors.md). OpenAPI for this resource only: [/docs/api/social-lookups/openapi.json](/docs/api/social-lookups/openapi.json).

- `POST /v1/social-lookups` - Look up social links (`social-lookups.create`): [/docs/api/social-lookups/create.md](/docs/api/social-lookups/create.md)
- `GET /v1/social-lookups/{socialLookupId}` - Get a social lookup (`social-lookups.get`): [/docs/api/social-lookups/get.md](/docs/api/social-lookups/get.md)

## Look up social links

`POST /v1/social-lookups` - operationId `social-lookups.create`

| Permission | Credits | Rate limit |
| --- | --- | --- |
| Search edit | Spends credits, price not on the rate card yet (`social_data_record`) | 120 requests a minute per API key |

Reads the records 1 to 100 social links name: LinkedIn, Facebook, Instagram, X, TikTok, YouTube and Crunchbase
profiles, company pages, channels and posts. Each record read on Kenso's key costs 0.15 credits; on your own social
data key (Settings, Integrations) it is free. A link read before answers from the stored record, free: a profile,
company page or channel for 7 days, anything else for 24 hours.
With `contactId`, `accountId` or `personId` the records are linked to it, and a LinkedIn profile fills
its empty LinkedIn field. Answers 200 with `status: ready`, or 202 with `status: running` when the read
takes longer than `waitSeconds` (65 when omitted): get it with `social-lookups.get`. Links that are not
supported are listed in `unsupportedUrls` and the others are read. Errors: `400 validation_failed`,
`402 insufficient_credits`, `404 not_found` for a contact, account or person outside this workspace,
`422 unsupported_link` (no link is supported), `424 provider_key_failed` (your own key failed),
`429 daily_limit_reached`, `503 social_data_unavailable`. Needs Search edit, and Campaigns edit with
`contactId` or Accounts edit with `accountId` or `personId` (`403 permission_denied`).
A workspace key gets `403 forbidden`: the request records the member who asked for it, and a workspace key
is not a person.

Needs the `social_data` feature on your workspace. Until it is on, calls answer 404.

[Try it on developer.ken.so](https://developer.ken.so/reference/#kenso-api/tag/social-lookups/POST/v1/social-lookups)

### Parameters

| Name | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `Ken-Version` | header | string, one of: 2026-11-02, 1.1 | no | The API version, a date in `YYYY-MM-DD` form. `1.1` is another name for the first dated version. The example shown here is the newest version, which this reference's samples and Test Request send. Leave it out to use your API key's pinned version. Keys created in the Kenso app are pinned to the newest version; keys minted by the CLI login are not. A key with no pinned version and no header gets the legacy shape where the path has one, and `404` where the path exists only in this version. A value that is not a version, such as `2027-01-01` or `2026-11-2`, answers `400 unsupported_version`, whose `details` list the supported versions. |
| `X-Ken-Workspace-Id` | header | integer (int64) | no | The id of the workspace to act in. Leave it out when your API key reaches only one workspace. When the key reaches more than one, a request without this header answers `400 workspace_required`. A workspace you are not a member of answers `404 not_found`. |

### Request body

`application/json`, optional.

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `urls` | array of string | yes | Required. 1 to 100 social links: LinkedIn, Facebook, Instagram, X, TikTok, YouTube or Crunchbase profiles, company pages, channels and posts. |
| `kind` | string | no | `comment` reads a Facebook, Instagram, TikTok or YouTube post's comments; `review` reads a Facebook page's reviews. Any other kind must be the link's own (a profile's posts are a search: `posts_by_profile`). Omit it to read what the link names. |
| `contactId` | integer (int64) | no | A contact of this workspace to link the records to. A LinkedIn profile also fills its empty LinkedIn field. |
| `accountId` | integer (int64) | no | An account of this workspace to link the records to. |
| `personId` | integer (int64) | no | A person of this workspace to link the records to. |
| `waitSeconds` | integer (int32) | no | Seconds to wait for the records before answering `running`, 0 to 50; omit it to wait 65. |

### Response 200

Also answers `202`. `data` is a `SocialLookup`.

| Field | Type | Description |
| --- | --- | --- |
| `id` | string | `slk_` and the lookup's number. |
| `status` | string | `ready`, `running` (Kenso is still reading: get it again) or `failed` (see `errorCode`). |
| `records` | array of SocialRecord | The records the lookup delivered, in the order it delivered them. |
| `recordCount` | integer (int32) | How many records the lookup delivered. While running, the records delivered so far. |
| `creditsCharged` | number (double) | Credits the lookup charged so far: 0.15 per record read on Kenso's key, 0 on your own key and for stored records. |
| `keySource` | string | `kenso` (Kenso's key, charged per record), `workspace` (your own key, free) or `cache` (stored records, free). |
| `errorCode` | string | On a failed lookup: `insufficient_credits`, `daily_limit_reached`, `unsupported_link`, `provider_key_failed`, `social_data_unavailable` or `validation_failed`. |
| `unsupportedUrls` | array of string | The links that are not supported social links. The lookup read the others. |
| `createdAt` | string (date-time) |  |

### Request

```bash
curl -X POST "https://api.ken.so/v1/social-lookups" \
  -H "Authorization: Bearer $KENSO_API_KEY" \
  -H "Ken-Version: 2026-11-02" \
  -H "X-Ken-Workspace-Id: $KENSO_WORKSPACE_ID" \
  -H "Content-Type: application/json" \
  -d '{
  "urls": [
    "https://example.com"
  ],
  "kind": "string",
  "contactId": 812,
  "accountId": 812,
  "personId": 812,
  "waitSeconds": 1
}'
```

### Example response

```json
{
  "success": true,
  "data": {
    "id": "slk_2bX9kq4LmR7tW3vY",
    "status": "string",
    "records": [
      {
        "id": "srec_2bX9kq4LmR7tW3vY",
        "platform": "linkedin",
        "kind": "profile",
        "url": "https://example.com",
        "externalId": "string",
        "handle": "string",
        "name": "string",
        "text": "string",
        "postedAt": "2026-09-23T15:02:11Z",
        "metrics": {
          "followers": 1,
          "likes": 1,
          "comments": 1,
          "shares": 1,
          "views": 1
        },
        "data": {
          "key": null
        },
        "fetchedAt": "2026-09-23T15:02:11Z"
      }
    ],
    "recordCount": 1,
    "creditsCharged": 0.5,
    "keySource": "string",
    "errorCode": "insufficient_credits",
    "unsupportedUrls": [
      "https://example.com"
    ],
    "createdAt": "2026-09-23T15:02:11Z"
  }
}
```

## Get a social lookup

`GET /v1/social-lookups/{socialLookupId}` - operationId `social-lookups.get`

| Permission | Rate limit |
| --- | --- |
| Search view | 12,000 requests a minute per API key |

One lookup of this workspace. While `status` is `running` each read collects the records that are ready
and answers 202; poll every few seconds. A finished lookup answers 200 with `ready`, or with `failed` and
its `errorCode`. Another workspace's id, or a search's id, is 404 `not_found`.

Needs the `social_data` feature on your workspace. Until it is on, calls answer 404.

[Try it on developer.ken.so](https://developer.ken.so/reference/#kenso-api/tag/social-lookups/GET/v1/social-lookups/%7BsocialLookupId%7D)

### Parameters

| Name | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `socialLookupId` | path | string | yes |  |
| `Ken-Version` | header | string, one of: 2026-11-02, 1.1 | no | The API version, a date in `YYYY-MM-DD` form. `1.1` is another name for the first dated version. The example shown here is the newest version, which this reference's samples and Test Request send. Leave it out to use your API key's pinned version. Keys created in the Kenso app are pinned to the newest version; keys minted by the CLI login are not. A key with no pinned version and no header gets the legacy shape where the path has one, and `404` where the path exists only in this version. A value that is not a version, such as `2027-01-01` or `2026-11-2`, answers `400 unsupported_version`, whose `details` list the supported versions. |
| `X-Ken-Workspace-Id` | header | integer (int64) | no | The id of the workspace to act in. Leave it out when your API key reaches only one workspace. When the key reaches more than one, a request without this header answers `400 workspace_required`. A workspace you are not a member of answers `404 not_found`. |

### Response 200

Also answers `202`. `data` is a `SocialLookup`.

| Field | Type | Description |
| --- | --- | --- |
| `id` | string | `slk_` and the lookup's number. |
| `status` | string | `ready`, `running` (Kenso is still reading: get it again) or `failed` (see `errorCode`). |
| `records` | array of SocialRecord | The records the lookup delivered, in the order it delivered them. |
| `recordCount` | integer (int32) | How many records the lookup delivered. While running, the records delivered so far. |
| `creditsCharged` | number (double) | Credits the lookup charged so far: 0.15 per record read on Kenso's key, 0 on your own key and for stored records. |
| `keySource` | string | `kenso` (Kenso's key, charged per record), `workspace` (your own key, free) or `cache` (stored records, free). |
| `errorCode` | string | On a failed lookup: `insufficient_credits`, `daily_limit_reached`, `unsupported_link`, `provider_key_failed`, `social_data_unavailable` or `validation_failed`. |
| `unsupportedUrls` | array of string | The links that are not supported social links. The lookup read the others. |
| `createdAt` | string (date-time) |  |

### Request

```bash
curl -X GET "https://api.ken.so/v1/social-lookups/01JC8Z3K6Q2W4M7N9P5R1T3V5X" \
  -H "Authorization: Bearer $KENSO_API_KEY" \
  -H "Ken-Version: 2026-11-02" \
  -H "X-Ken-Workspace-Id: $KENSO_WORKSPACE_ID"
```

### Example response

```json
{
  "success": true,
  "data": {
    "id": "slk_2bX9kq4LmR7tW3vY",
    "status": "string",
    "records": [
      {
        "id": "srec_2bX9kq4LmR7tW3vY",
        "platform": "linkedin",
        "kind": "profile",
        "url": "https://example.com",
        "externalId": "string",
        "handle": "string",
        "name": "string",
        "text": "string",
        "postedAt": "2026-09-23T15:02:11Z",
        "metrics": {
          "followers": 1,
          "likes": 1,
          "comments": 1,
          "shares": 1,
          "views": 1
        },
        "data": {
          "key": null
        },
        "fetchedAt": "2026-09-23T15:02:11Z"
      }
    ],
    "recordCount": 1,
    "creditsCharged": 0.5,
    "keySource": "string",
    "errorCode": "insufficient_credits",
    "unsupportedUrls": [
      "https://example.com"
    ],
    "createdAt": "2026-09-23T15:02:11Z"
  }
}
```

## Types

Each named type the tables above use, nested ones included.

### SocialRecord

One stored social record: a profile, company page, channel, post, comment, job, review, event or ad.

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `id` | string | no | `srec_` and the record's number. |
| `platform` | string | no | `linkedin`, `facebook`, `instagram`, `x`, `tiktok`, `youtube` or `crunchbase`. |
| `kind` | string | no | `profile`, `company`, `channel`, `post`, `comment`, `job`, `review`, `event` or `ad`. |
| `url` | string | no | The record's link on its platform. |
| `externalId` | string | no | The platform's own id for the record, when it has one. |
| `handle` | string | no | The username, page name or slug, when the record has one. |
| `name` | string | no | The person's, company's or channel's name, or a job's title. |
| `text` | string | no | A post's, comment's or review's text, or a profile's headline or about. |
| `postedAt` | string (date-time) | no | When a post, comment, job, review or ad was published, in UTC. |
| `metrics` | SocialMetrics | no | The counts the record reports about itself. A count the platform does not report is omitted. |
| `data` | map of object | no | Platform fields, which vary by platform: the full record as the platform reports it. |
| `fetchedAt` | string (date-time) | no | When Kenso read the record, in UTC. |

### SocialMetrics

A record's counts. Each is omitted when the platform does not report it for this record.

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `followers` | integer (int64) | no |  |
| `likes` | integer (int64) | no |  |
| `comments` | integer (int64) | no |  |
| `shares` | integer (int64) | no |  |
| `views` | integer (int64) | no |  |

All resources: [/docs.md](/docs.md).
