Sand AISand AI MAGI-2MAGI-2 artık SandBase'de: yerel sesli 1080p videoŞimdi deneyin

TikTok Tag Detail

API dokümanları
https://api.sandbase.ai/v1/api/tiktok/web/tag-detail

Retrieves detail information for a specified TikTok hashtag via the web platform based on the provided tag name parameter.

Fiyat
$0.001USD / çağrı
Yöntem
POST
Yanıt
JSON
Parametreler
1 gerekli · 0 isteğe bağlı

Oynatma Alanı

Girdi
Tag name
ÇıktıÖrnek
Yanıtoutputs · 1.3 KB · 53 satır
[
  {
    "data": {
      "challengeInfo": {
        "challenge": {
          "coverLarger": "",
          "coverMedium": "",
          "coverThumb": "",
          "desc": "",
          "id": "72988465",
          "isCommerce": false,
          "profileLarger": "",
          "profileMedium": "",
          "profileThumb": "",
          "stats": {
            "videoCount": 0,
            "viewCount": 9000000000
          },
          "title": "openai"
        },
        "challengeAnnouncement": {
          "body": "",
          "title": ""
        },
        "stats": {
          "videoCount": 0,
          "viewCount": 9000000000
        },
        "statsV2": {
          "videoCount": "363927",
          "viewCount": "8965521395"
        }
      },
      "cookie": "tt_chain_token=0k5cdiqY7uSA4maNu10+1w==;",
      "extra": {
        "fatal_item_ids": [],
        "logid": "20261006203925E0289067E818CE19A121",
        "now": 1791290365000
      },
      "log_pb": {
        "impr_id": "20261006203925E0289067E818CE19A121"
      },
      "shareMeta": {
        "desc": "Watch awesome short videos created with trending hashtag #openai",
        "title": "#openai on TikTok"
      },
      "statusCode": 0,
      "status_code": 0,
      "status_msg": "",
      "tt_chain_token": "0k5cdiqY7uSA4maNu10+1w=="
    }
  }
]

Örnekler

Bir örnek seçerek girdilerini ve sonucunu playground'a yükleyin.

API README

TikTok Tag Detail API

Returns detail data for one TikTok hashtag, including its ID, title, and view and video counts. It needs one input: the hashtag name in tag_name, without the # sign.

Use cases

  • Track how many views and videos a hashtag such as openai has gathered.
  • Convert a hashtag name into its numeric challenge ID for use in other tools.
  • Check whether a hashtag is marked as commercial before using it in a campaign.
  • Read the share title and description TikTok shows for a hashtag page.

Request

curl -X POST "https://api.sandbase.ai/v1/api/tiktok/web/tag-detail" \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"tag_name": "openai"}'

The result is returned in outputs[0].data.

Parameters

NameTypeRequiredDescription
tag_namestringYesTag name

Example response

Real response for the request above, trimmed: lists keep their first item and long strings are cut.

{
  "challengeInfo": {
    "challenge": {
      "coverLarger": "",
      "coverMedium": "",
      "coverThumb": "",
      "desc": "",
      "id": "72988465",
      "isCommerce": false,
      "profileLarger": "",
      "profileMedium": "",
      "profileThumb": "",
      "stats": {
        "videoCount": 0,
        "viewCount": 9100000000
      },
      "title": "openai"
    },
    "challengeAnnouncement": {
      "body": "",
      "title": ""
    },
    "stats": {
      "videoCount": 0,
      "viewCount": 9100000000
    },
    "statsV2": {
      "videoCount": "377014",
      "viewCount": "9077075330"
    }
  },
  "cookie": "tt_chain…",
  "extra": {
    "fatal_item_ids": [],
    "logid": "20261103154429F2959E7F1D151604ED12",
    "now": 1793691870000
  },
  "log_pb": {
    "impr_id": "20261103154429F2959E7F1D151604ED12"
  },
  "shareMeta": {
    "desc": "Watch awesome short videos created with trending hashtag #openai",
    "title": "#openai on TikTok"
  },
  "statusCode": 0,
  "status_code": 0,
  "status_msg": "",
  "tt_chain_token": "0k5cdiqY…"
}

Response fields

FieldMeaning
challengeInfo.challenge.idNumeric ID of the hashtag (challenge) as a string.
challengeInfo.challenge.titleThe hashtag name, shown without the # sign.
challengeInfo.challenge.isCommerceBoolean flag that shows whether the hashtag is marked as commercial.
challengeInfo.challenge.descHashtag description text. It is an empty string for this tag.
challengeInfo.statsV2.viewCount / challengeInfo.statsV2.videoCountTotal views and total videos for the hashtag, returned as numeric strings. Prefer these over the stats fields, because stats.videoCount is 0 in this response.
challengeInfo.stats.viewCount / challengeInfo.stats.videoCountThe same counts as plain numbers. viewCount looks rounded, and videoCount is 0 here.
challengeInfo.challenge.coverLarger / coverMedium / coverThumbCover image URLs in three sizes. They are empty strings for this tag.
shareMeta.title / shareMeta.descTitle and description text TikTok uses when someone shares the hashtag page.
statusCode / status_msgRequest status. 0 in statusCode means the call worked, and status_msg holds a message if there is one.

Notes

  • Pass the hashtag name as plain text in tag_name, for example openai.
  • Use challengeInfo.statsV2 for counts, since the values in challengeInfo.stats can be 0 or rounded.
  • To list videos under a hashtag, call TikTok Tag Posts.

Pricing

$0.001 per successful call. Failed calls are not charged. It is included in the daily free quota of each organization.

Daha fazlasını keşfedin

İlgili APIs

Tüm APIs
APIFiyatYanıt
TikTok$0.001 çağrı başınaJSON
TikTok$0.001 çağrı başınaJSON
TikTok$0.001 çağrı başınaJSON
TikTok$0.001 çağrı başınaJSON
TikTok$0.001 çağrı başınaJSON
TikTok$0.05 çağrı başınaJSON

Kılavuzlar:TikTok API pricing: official access vs per-call dataBest TikTok API in 2026: Pricing Compared

Sorular

SSS

TikTok Tag Detail API'sini nasıl kullanırım?

SandBase API anahtarınızı Authorization başlığında (Bearer) ve parametreleri JSON gövdesi olarak ile https://api.sandbase.ai/v1/api/tiktok/web/tag-detail adresine bir POST isteği gönderin. Ayrıca bu sayfadaki Playground’da kod yazmadan da deneyebilirsiniz.

TikTok Tag Detail API'sinin fiyatı nedir?

çağrı başına $0.001, SandBase bakiyenizden tahsil edilir. Yalnızca yaptığınız çağrılar için ücretlendirilirsiniz; abonelik yoktur.

TikTok Tag Detail API'si hangi parametreleri kabul eder?

Gerekli: tag_name (string). Parametreler tablosu ve bu sayfadaki Playground, tüm alanları listeler.

TikTok Tag Detail API'si ne döndürür?

Aynı HTTP isteğinde döndürülen bir JSON yanıtı (senkron). Bu sayfadaki README'de örnek bir yanıt yer alır.

Bir TikTok geliştirici hesabına veya API anahtarına ihtiyacım var mı?

Hayır. TikTok Tag Detail, SandBase üzerinden çalışır; bu nedenle tek bir SandBase API anahtarı bu uç noktayı ve katalogdaki diğer tüm API'leri ve modelleri kapsar. TikTok API erişimi için ayrıca başvuru yapmanız gerekmez.