TikTok · Search

Search photo posts by keyword

Send search keywords; get the photo posts (slideshows) TikTok finds, as video records with image links, counts and author.

POST/v1/tiktok/photoSearch

$0.00042per record

1,000 records
≈ $0.42
minimum per page of 20 records
$0.001349

Works with trial balancePages with a cursor

Try it in the console

Send it

POST with a JSON body, or GET with the same parameters in the query string. Your key goes in the Authorization header.

curl -X POST "https://api.silklinedata.com/v1/tiktok/photoSearch" \
  -H "Authorization: Bearer $SILKLINE_KEY" \
  -H "Content-Type: application/json" \
  -d '{"limit":5,"keywords":["cats"]}'

What comes back

Records from a real request on 2026-11-09. Names, avatars and profile links of ordinary users show as <masked>; long text is cut here, not in the API.

200 OK · fetched 2026-11-09
{
  "data": [
    {
      "type": "video",
      "videoId": "7703307623151504662",
      "url": "https://www.tiktok.com/@c***1504662",
      "description": "#cutecat #smallcat #socute #fyp #meow…",
      "hashtags": [
        "cutecat",
        "smallcat",
        "socute"
      ],
      "createdAt": "2026-11-01T20:47:59Z",
      "durationSeconds": 0,
      "playCount": 534400,
      "likeCount": 152600,
      "commentCount": 424,
      "shareCount": 63400,
      "collectCount": 11423,
      "downloadCount": null,
      "authorHandle": "<masked>",
      "authorName": "<masked>",
      "authorFollowerCount": 21600,
      "authorVerified": "<masked>",
      "authorId": "<masked>",
      "authorSecUid": "<masked>",
      "authorAvatarUrl": "<masked>",
      "authorBio": "<masked>",
      "authorRegion": null,
      "musicTitle": "som original",
      "musicAuthor": "<masked>",
      "coverUrl": "https://p16-common-sign.tiktokcdn-us.…",
      "videoUrl": null,
      "textLanguage": "un",
      "isPinned": null,
      "isSlideshow": true,
      "mentions": [],
      "width": 0,
      "height": 0,
      "musicId": "7451100017054731013",
      "musicOriginal": true,
      "authorFollowingCount": 44,
      "isPaidContent": null,
      "isAd": false,
      "keyword": "cats",
      "imageUrls": [
        "https://p19-common-sign.tiktokcdn-us.…",
        "https://p16-common-sign.tiktokcdn-us.…",
        "https://p16-common-sign.tiktokcdn-us.…"
      ]
    },
    {
      "type": "video",
      "videoId": "7590263889506340109",
      "url": "https://www.tiktok.com/@c***0109",
      "description": "Happy new year #fyp #catsoftiktok #to…",
      "hashtags": [
        "fyp",
        "catsoftiktok",
        "toes"
      ],
      "createdAt": "2026-01-01T05:40:38Z",
      "durationSeconds": 0,
      "playCount": 7500000,
      "likeCount": 1400000,
      "commentCount": 3805,
      "shareCount": 575100,
      "collectCount": 121744,
      "downloadCount": null,
      "authorHandle": "<masked>",
      "authorName": "<masked>",
      "authorFollowerCount": 184000,
      "authorVerified": "<masked>",
      "authorId": "<masked>",
      "authorSecUid": "<masked>",
      "authorAvatarUrl": "<masked>",
      "authorBio": "<masked>",
      "authorRegion": null,
      "musicTitle": "original sound",
      "musicAuthor": "<masked>",
      "coverUrl": "https://p19-common-sign.tiktokcdn-us.…",
      "videoUrl": null,
      "textLanguage": "en",
      "isPinned": null,
      "isSlideshow": true,
      "mentions": [],
      "width": 0,
      "height": 0,
      "musicId": "7572472750200130335",
      "musicOriginal": true,
      "authorFollowingCount": 129,
      "isPaidContent": null,
      "isAd": false,
      "keyword": "cats",
      "imageUrls": [
        "https://p16-common-sign.tiktokcdn-us.…",
        "https://p16-common-sign.tiktokcdn-us.…",
        "https://p19-common-sign.tiktokcdn-us.…"
      ]
    }
  ],
  "cursor": "c1.Hq8vR2mTn5wK.yJ0dXA…",
  "meta": {
    "request_id": "req_01JD8Q…",
    "charged_usd": "0.001349",
    "balance_usd": "9.875000",
    "items": 2
  }
}

Fields 39

FieldTypeExample value
typestringvideo
videoIdstring7703307623151504662
urlstringhttps://www.tiktok.com/@c***1504662
descriptionstring#cutecat #smallcat #socute #fyp #meow
hashtagsarray["cutecat","smallcat","socute"]
createdAtstring2026-11-01T20:47:59Z
durationSecondsnumber0
playCountnumber534400
likeCountnumber152600
commentCountnumber424
shareCountnumber63400
collectCountnumber11423
downloadCountnullnull
authorHandlestring<masked>
authorNamestring<masked>
authorFollowerCountnumber21600
authorVerifiedstring<masked>
authorIdstring<masked>
authorSecUidstring<masked>
authorAvatarUrlstring<masked>
authorBiostring<masked>
authorRegionnullnull
musicTitlestringsom original
musicAuthorstring<masked>
coverUrlstringhttps://p16-common-sign.tiktokcdn-us.com/tos-no1a-i-photomod…
videoUrlnullnull
textLanguagestringun
isPinnednullnull
isSlideshowbooleantrue
mentionsarray[]
widthnumber0
heightnumber0
musicIdstring7451100017054731013
musicOriginalbooleantrue
authorFollowingCountnumber44
isPaidContentnullnull
isAdbooleanfalse
keywordstringcats
imageUrlsarray["https://p19-common-sign.tiktokcdn-us.com/tos-no1a-i-photom…

Parameters 2

NameTypeRequiredDescriptionExample
limitintegernoHow many records to return, 1 to 100. A request never returns more than this.5
keywordsarrayyesSearch keywords; each keyword is a separate search (or a separate suggestion lookup). Leave it empty to use a sample keyword (skincare;["cats"]

Paging

Send the cursor of the last answer back with the same parameters to get the next page. Each page is a request of its own, charged on its own; the last page has cursor null.

JavaScript
const params = {"keywords":["cats"]};
const records = [];
let cursor = null;
do {
  const response = await fetch("https://api.silklinedata.com/v1/tiktok/photoSearch", {
    method: "POST",
    headers: { Authorization: `Bearer ${process.env.SILKLINE_KEY}`, "Content-Type": "application/json" },
    body: JSON.stringify({ ...params, limit: 100, ...(cursor ? { cursor } : {}) }),
  });
  const answer = await response.json();
  records.push(...answer.data);
  cursor = answer.cursor;
} while (cursor);
console.log(records.length);

What a request costs

You pay per record; when a request returns few records or none, it is charged at most the endpoint minimum for each page it reads, possibly less, and errors or timeouts on our side are not charged.

Here a page holds up to 20 records and its minimum is $0.001349; a request for 100 records reads 5 pages.

  • 1 record: up to $0.001349
  • 20 records: up to $0.0084
  • 100 records: up to $0.042

The response's meta says what was charged (charged_usd) and what is left (balance_usd). Errors on our side are not charged.

Questions

What parameters does Search photo posts by keyword take?

Required: keywords. Every request also takes limit (1 to 100).

How many records does one request return?

Up to 100 (limit 1 to 100). A page holds up to 20 records, so 100 records take 5 pages in one request.

Can I page through more results?

Yes. While the answer carries a cursor, send it back with the same parameters for the next batch.

How much does it cost?

Per record: record $0.00042. The minimum is $0.001349 per page: with few records or none, a request pays at most that for each page it reads, possibly less. 100 records cost at most $0.042.

What does a request cost when it fails or comes back empty?

You pay per record; when a request returns few records or none, it is charged at most the endpoint minimum for each page it reads, possibly less, and errors or timeouts on our side are not charged. Each answer's meta says what the request was charged and the balance left.