---
title: "Look up a public profile"
method: POST
path: "/profiles/lookup"
tags: ["Profiles"]
---

# Look up a public profile

`POST /profiles/lookup`

## Request

- Base URL: `https://api.socially.run/v1`
- URL: `https://api.socially.run/v1/profiles/lookup`
- Auth: HTTP bearer

Read a public profile on Instagram, TikTok, YouTube, LinkedIn, X, Facebook or a website. A `found` answer includes the profile, recent posts and platform details when available: account ids, links, creation dates and public counts. Instagram's `userId` and `graphId` name different ids; neither grants permission. Missing fields are null; unsupported blocks are absent. Data outcomes answer 200: `found`, `notFound` (confirmed by the platform, cached an hour) or `undecided` (refunded, never cached). 1 credit on a miss, 0 on a hit. `extractedAt` is the original read time, including cache and snapshot hits.

## Request body

- object
  - `input` string, required: A profile URL, post URL, website or @handle.
  - `platform` 'instagram' | 'linkedin' | 'youtube' | 'tiktok' | 'x' | 'facebook' | 'website'
  - `posts` integer: Recent posts to return (0–15). Default 10. This limits the answer, not the source read.
  - `refresh` boolean: Bypass the cache and the snapshot; costs a credit even when fresh.

## Response `200`

Look up a public profile

- object
  - `data` unknown, required

## Other responses

- `400`: VALIDATION_ERROR / INVALID_TARGET / SSRF_BLOCKED: the issues, never the values.
- `401`: UNAUTHORIZED / INVALID_TOKEN: the key is missing or wrong.
- `402`: PAYMENT_REQUIRED / PLAN_GATE: clears by upgrading or buying credits, never by waiting.
- `429`: RATE_LIMIT_EXCEEDED / QUOTA_EXCEEDED: Retry-After says when it clears.
- `default`: Any other failure.

---

[API](https://skmtc.dev/socially/apis/socially-run-send-a-profile-link-get-its-public-data-as-json.md) · [All operations](https://skmtc.dev/socially/apis/socially-run-send-a-profile-link-get-its-public-data-as-json/llms.txt) · [OpenAPI document](https://skmtc.dev/socially/apis/socially-run-send-a-profile-link-get-its-public-data-as-json/revisions/5a0b24534b90?raw)
