TikTok data API

TikTok Profile Picture API

Fetch the largest profile picture TikTok publishes for any public account from its username. The response is small: the username, the user id, a link to the image and whether it is the full-size version.

Request

GET /v1/tiktok/profiles/{username}/picture · 1 credit per successful call

cURL
curl "https://api.igramapi.com/v1/tiktok/profiles/example_creator/picture" \
  -H "Authorization: Bearer YOUR_API_KEY"

Response

200 OK · application/json
{
  "username": "example_creator",
  "user_id": "6812345678901234567",
  "url": "https://v16-webapp-prime.tiktok.com/video/tos/example/avatar.jpeg",
  "is_hd": true,
  "cached": false
}

All values above are made-up examples. Media links are temporary TikTok CDN addresses.

Parameters

NameInDescription
usernamerequired path TikTok username. A leading @ or a profile URL is accepted.

Response fields

FieldTypeDescription
username / user_idstringThe account.
urlstringPicture URL (temporary).
is_hdbooleanTrue for the large version.
cachedbooleanTrue when served from the short-lived cache.

Largest size available

You get the large version of the picture, not the small thumbnail used in lists. is_hd is false only when TikTok offers nothing bigger than the medium size.

A direct image link

The link opens in a browser and can be fetched from a server, with no extra headers or login.

Tiny response

Only the username, the user id, the URL and the HD flag. For counts and bio, use the TikTok Profile API.

1 credit per call

Answers come from a short-lived cache shared with the Profile API, and cached tells you when.

Why avatars need special care

TikTok picture links are signed and expire after a while, and they change when the creator updates their photo. Do not save the URL as a permanent reference. Fetch the image from the link right away and store the file yourself, or call the API again when you need it.

Where it helps

CRMs and influencer databases use it to show creator avatars, and content tools use it for profile cards and link previews. The TikTok Profile API returns the same picture together with the counts, bio and verification.

Frequently asked questions

Can I save the image permanently?

The link expires, so fetch the image from it and store the file on your side.

What if the account has no picture?

The API returns HTTP 404 with the error code picture_unavailable.

How is this different from the Profile API?

The Profile API returns the whole header: counts, bio, link and verification, with the picture inside. This endpoint returns only the picture. Both cost 1 credit.

Our errors cost nothing. Failures on our side (status 500 or above) and invalid requests (400, 422) are refunded, and every error has the same shape. See error handling and credits and rate limits.

Try the TikTok Profile Picture API free

Create a key and make your first request in minutes. 100 free credits every month.