Search

Search Photo

get/api/search/photo

Request

  • Base URL
    https://tiktok-api23.p.rapidapi.com
  • URL
    https://tiktok-api23.p.rapidapi.com/api/search/photo
  • Auth
    API key in header x-rapidapi-key

Query parameters

keywordstring required

Search keyword

Example:fornite
cursorinteger

cursor parameter is used for pagination. In the first request, the default value of cursor is 0. For subsequent requests, the value of cursor will be taken from the response of the previous request. In the Search Endpoints, both cursor and search_id need to be provided when pagination is used

search_idstring

search_id parameter is used for pagination. In the first request, the default value of the search_id is 0. For subsequent requests, the value of the cursor will be taken from the response of the previous request (from: log_pb.impr_id). In the Search Endpoints, both cursor and search_id need to be provided when pagination is used

Example:0

Response

Success

has_morenumber

Indicates whether there are more data available to fetch

cursornumber

Cursor for pagination. Use this value in subsequent requests to fetch more data

Example response

{
  "has_more": 1,
  "cursor": 12,
  "log_pb": {
    "impr_id": "202608302053154476338C59B6F2D200DB"
  },
  "item_list": [
    {
      "id": "7665851293465906465",
      "desc": "When did you start playing Fortnite? 💔😔",
      "createTime": 1784845094,
      "video": {
        "id": "7665851293465906465",
        "cover": "https://p16-common-sign.tiktokcdn.com/tos-maliva-i-photomode-us/ade1d9b328b844459b9f1ce1b94ddad7~tplv-photomode-image.jpeg?dr=14555&x-expires=1788264000&x-signature=8xNyD0u1vc4b545W9QcD7IRKon4%3D&t=4d5b0474&ps=13740610&shp=81f88b70&shcp=9b759fb9&idc=my&ftpl=1",
        "originCover": "https://p16-common-sign.tiktokcdn.com/tos-maliva-i-photomode-us/ade1d9b328b844459b9f1ce1b94ddad7~tplv-photomode-image.jpeg?dr=14555&x-expires=1788264000&x-signature=8xNyD0u1vc4b545W9QcD7IRKon4%3D&t=4d5b0474&ps=13740610&shp=81f88b70&shcp=9b759fb9&idc=my&ftpl=1",
        "volumeInfo": {}
      },
      "author": {
        "id": "6986045415510639621",
        "uniqueId": "_sweazyfn_",
        "nickname": "sweazyfn",
        "avatarThumb": "https://p16-common-sign.tiktokcdn.com/tos-useast2a-avt-0068-euttp/04da9cf30ab75be7027f40cf785c577b~tplv-tiktokx-cropcenter:100:100.jpeg?dr=14579&refresh_token=84ab508f&x-expires=1788264000&x-signature=Ebbl9w5s5%2BeiL4HkNXaR0TkIVVg%3D&t=4d5b0474&ps=13740610&shp=a5d48078&shcp=81f88b70&idc=my",
        "avatarMedium": "https://p16-common-sign.tiktokcdn.com/tos-useast2a-avt-0068-euttp/04da9cf30ab75be7027f40cf785c577b~tplv-tiktokx-cropcenter:720:720.jpeg?dr=14579&refresh_token=d99c1afa&x-expires=1788264000&x-signature=pBUlku7s1ybOcPyG1iudkXGX%2FkM%3D&t=4d5b0474&ps=13740610&shp=a5d48078&shcp=81f88b70&idc=my",
        "avatarLarger": "https://p16-common-sign.tiktokcdn.com/tos-useast2a-avt-0068-euttp/04da9cf30ab75be7027f40cf785c577b~tplv-tiktokx-cropcenter:1080:1080.jpeg?dr=14579&refresh_token=d3dd624a&x-expires=1788264000&x-signature=BsmCi8KCcRYB%2FoUnep4Nh2uvs4E%3D&t=4d5b0474&ps=13740610&shp=a5d48078&shcp=81f88b70&idc=my",
        "signature": "224k 🤩❤️",
        "secUid": "MS4wLjABAAAA_jHyugRY4QMsirtiPh52WSaegZD-zqEpJrWTJB0jPcngtn7t74EGvI-A7VaRNgKZ"
      },
      "music": {
        "authorName": "Taylor Swift",
        "coverLarge": "https://p16-sign-va.tiktokcdn.com/tos-maliva-avt-0068/c39c2807c155535cf328225955e00aba~tplv-tiktokx-cropcenter:1080:1080.jpeg?dr=14579&refresh_token=18df4cd3&x-expires=1763632800&x-signature=RX9GiL%2FEZngDo3rcRA1tsqkQmuo%3D&t=4d5b0474&ps=13740610&shp=a5d48078&shcp=81f88b70&idc=my",
        "coverMedium": "https://p16-sign-va.tiktokcdn.com/tos-maliva-avt-0068/c39c2807c155535cf328225955e00aba~tplv-tiktokx-cropcenter:720:720.jpeg?dr=14579&refresh_token=614c3172&x-expires=1763632800&x-signature=d3Q%2FxhrnR1B1G9pX%2FJm60%2Fmgo9E%3D&t=4d5b0474&ps=13740610&shp=a5d48078&shcp=81f88b70&idc=my",
        "coverThumb": "https://p16-sign-va.tiktokcdn.com/tos-maliva-avt-0068/c39c2807c155535cf328225955e00aba~tplv-tiktokx-cropcenter:100:100.jpeg?dr=14579&refresh_token=e9b90fd8&x-expires=1763632800&x-signature=%2BJ97ep4n2G7v%2F2MKOwBcj%2F9MR1E%3D&t=4d5b0474&ps=13740610&shp=a5d48078&shcp=81f88b70&idc=my",
        "duration": 60,
        "id": "7556815852168759313",
        "isCopyrighted": true,
        "original": true,
        "playUrl": "https://v16m.tiktokcdn.com/fb3d5ac2c28d791b79c06cd9ceca27ef/691d9d5e/video/tos/maliva/tos-maliva-v-27dcd7c799-us/oI2Aep2tC9pUdvVpJz2BEJ4nmEEjEAFVAAAFfD/?a=1180&bti=ODszNWYuMDE6&ch=0&cr=0&dr=0&er=0&lr=default&cd=0%7C0%7C0%7C0&br=250&bt=125&ds=5&ft=.NpOcInz7ThSPQcPXq8Zmo&mime_type=audio_mpeg&qs=13&rc=MzwzaXE5cnV3NzMzaTU8NEBpMzwzaXE5cnV3NzMzaTU8NEBvZ2tzMmRjaF5hLS1kMTJzYSNvZ2tzMmRjaF5hLS1kMTJzcw%3D%3D&vvpl=1&l=20251118183239BD2E13106ED74F0A522E&btag=e00050000&cc=3",
        "title": "original sound",
        "tt2dsp": {}
      },
      "challenges": [
        {
          "id": "229207",
          "title": "fyp"
        }
      ],
      "stats": {
        "collectCount": 49800,
        "commentCount": 10300,
        "diggCount": 1100000,
        "playCount": 6600000,
        "shareCount": 100000
      },
      "authorStats": {
        "diggCount": 2276,
        "followerCount": 33300000,
        "heart": 263500000,
        "heartCount": 263500000,
        "videoCount": 78
      },
      "shareEnabled": true,
      "imagePost": {
        "images": [
          {
            "imageURL": {
              "urlList": [
                "https://p16-common-sign.tiktokcdn.com/tos-maliva-i-photomode-us/ade1d9b328b844459b9f1ce1b94ddad7~tplv-photomode-image.jpeg?dr=14555&x-expires=1788264000&x-signature=8xNyD0u1vc4b545W9QcD7IRKon4%3D&t=4d5b0474&ps=13740610&shp=81f88b70&shcp=9b759fb9&idc=my&ftpl=1",
                "https://p19-common-sign.tiktokcdn.com/tos-maliva-i-photomode-us/ade1d9b328b844459b9f1ce1b94ddad7~tplv-photomode-image.jpeg?dr=14555&x-expires=1788264000&x-signature=T9trVeg1%2BZQV1EXyXGX3xC3Sbvo%3D&t=4d5b0474&ps=13740610&shp=81f88b70&shcp=9b759fb9&idc=my&ftpl=1"
              ]
            },
            "imageHeight": 2080,
            "imageWidth": 2080
          }
        ],
        "cover": {
          "imageURL": {
            "urlList": [
              "https://p16-common-sign.tiktokcdn.com/tos-maliva-i-photomode-us/ade1d9b328b844459b9f1ce1b94ddad7~tplv-photomode-image.jpeg?dr=14555&x-expires=1788264000&x-signature=8xNyD0u1vc4b545W9QcD7IRKon4%3D&t=4d5b0474&ps=13740610&shp=81f88b70&shcp=9b759fb9&idc=my&ftpl=1",
              "https://p19-common-sign.tiktokcdn.com/tos-maliva-i-photomode-us/ade1d9b328b844459b9f1ce1b94ddad7~tplv-photomode-image.jpeg?dr=14555&x-expires=1788264000&x-signature=T9trVeg1%2BZQV1EXyXGX3xC3Sbvo%3D&t=4d5b0474&ps=13740610&shp=81f88b70&shcp=9b759fb9&idc=my&ftpl=1"
            ]
          },
          "imageHeight": 2080,
          "imageWidth": 2080
        },
        "shareCover": {
          "imageURL": {
            "urlList": [
              "https://p16-common-sign.tiktokcdn.com/tos-maliva-i-photomode-us/ade1d9b328b844459b9f1ce1b94ddad7~tplv-photomode-image.jpeg?dr=14555&x-expires=1788264000&x-signature=8xNyD0u1vc4b545W9QcD7IRKon4%3D&t=4d5b0474&ps=13740610&shp=81f88b70&shcp=9b759fb9&idc=my&ftpl=1",
              "https://p19-common-sign.tiktokcdn.com/tos-maliva-i-photomode-us/ade1d9b328b844459b9f1ce1b94ddad7~tplv-photomode-image.jpeg?dr=14555&x-expires=1788264000&x-signature=T9trVeg1%2BZQV1EXyXGX3xC3Sbvo%3D&t=4d5b0474&ps=13740610&shp=81f88b70&shcp=9b759fb9&idc=my&ftpl=1"
            ]
          },
          "imageHeight": 2080,
          "imageWidth": 2080
        }
      },
      "item_control": {
        "can_repost": true
      },
      "statsV2": {
        "collectCount": "49811",
        "commentCount": "10300",
        "diggCount": "1100000",
        "playCount": "6600000",
        "repostCount": "0",
        "shareCount": "100000"
      },
      "CategoryType": 120,
      "textLanguage": "en",
      "textTranslatable": true,
      "titleLanguage": "un",
      "authorStatsV2": {
        "diggCount": "2276",
        "followerCount": "33265139",
        "followingCount": "0",
        "friendCount": "0",
        "heart": "263479941",
        "heartCount": "263479941",
        "videoCount": "78"
      },
      "creatorAIComment": {
        "notEligibleReason": 101
      }
    }
  ]
}

Changes