Skip to Content
socialdata

lookup

POST
/v1/lookup

Returns the current counts, profile or caption, and growth of one account or post that you name by a link, a handle, or an id. Use it when you can name the item, and use search_posts or search_accounts to find items you cannot name.

Authorization

apiKey
headerx-api-key<token>

Request Body

application/json
  1. body
ref*string

One account or post, as a link, platform:@handle, platform:account:ID, or platform:post:ID.

Length1 <= length <= 2048
max_age_s?integer

The oldest data you accept, in seconds, beyond which lookup reads the platform again and can cost credits.

Range0 <= value

Response Body

Success

application/json
  1. response
meta*

Facts about this call, in every answer.

result*|

The account card or the post card, as kind says.

Example Request
curl -X POST 'https://api.socialdata.product.studio/v1/lookup' \  -H 'Content-Type: application/json' \  -d '{  "ref": "https://www.tiktok.com/@acme_studio"}'
Example Response
{  "meta": {    "as_of": "2026-11-26T14:00:00Z",    "source": "store",    "credits_spent": 0,    "credits_left_today": 30,    "trace_id": "dd4ea85c713694073f9ab127c28f2318",    "warnings": [      {        "code": "first_observation",        "message": "The service saw this target for the first time in this call."      }    ]  },  "result": {    "kind": "account",    "platform": "instagram",    "platform_account_id": "1789456123",    "profile_url": "https://www.instagram.com/acme.co/",    "avatar": {      "url": "https://media.socialdata.example/images/7431852096741258240.webp?signature=abc123",      "expires_at": "2026-11-26T14:00:00Z",      "width": 512,      "height": 512    },    "handle": "acme.co",    "handle_observed_at": "2026-11-26T14:00:00Z",    "display_name": "Acme Studio",    "display_name_observed_at": "2026-11-26T14:00:00Z",    "biography": "Small cameras for long trips.",    "biography_observed_at": "2026-11-26T14:00:00Z",    "external_url": "https://acme.example/",    "external_url_observed_at": "2026-11-26T14:00:00Z",    "is_verified": true,    "is_verified_observed_at": "2026-11-26T14:00:00Z",    "is_private": false,    "is_private_observed_at": "2026-11-26T14:00:00Z",    "follower_count": 98400000,    "follower_count_observed_at": "2026-11-26T14:00:00Z",    "follower_count_precision": null,    "following_count": 82,    "following_count_observed_at": "2026-11-26T14:00:00Z",    "post_count": 4512,    "post_count_observed_at": "2026-11-26T14:00:00Z",    "total_like_count": null,    "total_like_count_observed_at": "2026-11-26T14:00:00Z",    "total_view_count": null,    "total_view_count_observed_at": "2026-11-26T14:00:00Z",    "availability": {      "status": "available",      "checked_at": "2026-11-26T14:00:00Z",      "last_ok_at": "2026-11-26T14:00:00Z"    },    "tracking": {      "is_tracked": true,      "watchlists": [        "competitors"      ],      "tracked_since": "2026-11-26T14:00:00Z",      "status": "active",      "tier": "hot",      "next_poll_at": "2026-11-26T14:00:00Z",      "is_backfilled": true    },    "first_observed_at": "2026-11-26T14:00:00Z",    "last_observed_at": "2026-11-26T14:00:00Z",    "snapshot_count": 212,    "growth_7d": {      "window_start": "2026-11-26T14:00:00Z",      "window_end": "2026-11-26T14:00:00Z",      "follower_count_change": 1250,      "follower_count_change_pct": 0.026,      "view_count_gained": 410200,      "posts_measured": 18,      "posts_partial": 3,      "posts_unknown": 0    },    "growth_30d": {      "window_start": "2026-11-26T14:00:00Z",      "window_end": "2026-11-26T14:00:00Z",      "follower_count_change": 1250,      "follower_count_change_pct": 0.026,      "view_count_gained": 410200,      "posts_measured": 18,      "posts_partial": 3,      "posts_unknown": 0    },    "posts_30d": 24,    "posts_per_week_30d": 5.6,    "median_view_count_30d": 52000,    "is_partial": false,    "top_posts": [      {        "platform": "tiktok",        "platform_post_id": "7431852096741258240",        "platform_account_id": "6812345098765432101",        "account_handle": "acme_studio",        "account_avatar": {          "url": "https://media.socialdata.example/images/7431852096741258240.webp?signature=abc123",          "expires_at": "2026-11-26T14:00:00Z",          "width": 512,          "height": 512        },        "post_url": "https://www.tiktok.com/@acme_studio/video/7431852096741258240",        "media_type": "short_video",        "media_count": 1,        "posted_at": "2026-11-26T14:00:00Z",        "duration_ms": 31500,        "is_paid_partnership": false,        "title": null,        "caption": "Unboxing the new Acme camera #unboxing #tech",        "hashtags": [          "unboxing",          "tech"        ],        "view_count": 184300,        "like_count": 12650,        "comment_count": 341,        "share_count": 905,        "save_count": 1210,        "repost_count": null,        "quote_count": null,        "observed_at": "2026-11-26T14:00:00Z"      }    ],    "recent_posts": [      {        "platform": "tiktok",        "platform_post_id": "7431852096741258240",        "platform_account_id": "6812345098765432101",        "account_handle": "acme_studio",        "account_avatar": {          "url": "https://media.socialdata.example/images/7431852096741258240.webp?signature=abc123",          "expires_at": "2026-11-26T14:00:00Z",          "width": 512,          "height": 512        },        "post_url": "https://www.tiktok.com/@acme_studio/video/7431852096741258240",        "media_type": "short_video",        "media_count": 1,        "posted_at": "2026-11-26T14:00:00Z",        "duration_ms": 31500,        "is_paid_partnership": false,        "title": null,        "caption": "Unboxing the new Acme camera #unboxing #tech",        "hashtags": [          "unboxing",          "tech"        ],        "view_count": 184300,        "like_count": 12650,        "comment_count": 341,        "share_count": 905,        "save_count": 1210,        "repost_count": null,        "quote_count": null,        "observed_at": "2026-11-26T14:00:00Z"      }    ]  }}