Skip to Content

Documentation

Identifiers

Name an account, a post or anything else by its handle, its link or its id.

Every endpoint names what it reads with the same parameters. Give one of them.

Accounts

An account is named by its handle or its profile link.

ParameterExample
handlenike or @nike
urlhttps://www.tiktok.com/@nike

An account's lists take the same parameters as its profile. Some platforms take more, such as TikTok's secUid or YouTube's channelId, and say so on their page. A Reddit community is named by name (AskReddit, with or without r/) or its url.

Posts and Other Things

Anything else is named by its link, its id, a name or a query, as its endpoint asks.

ParameterExample
urlhttps://www.instagram.com/p/Df147tCiAyB/
id7711465226318728461
namefyp
querycoffee
  • A link is the one the app's share button gives.
  • An id is the platform's, as id comes in our answers.
  • A name is a hashtag's, without #.
  • Short links work too: vm.tiktok.com/…, pin.it/…, youtu.be/…, redd.it/….

Every List

Every list also takes two parameters of its own.

ParameterTakes
cursorWhere the next page starts
maxAgeThe oldest cached answer to accept

See Pagination and Caching.

A link to the wrong kind of thing returns 400 INVALID_REQUEST, and says what it is to.

{
  "error": "This link is to an account, not a post.",
  "code": "INVALID_REQUEST",
  "param": "url"
}