Sand AISand AI MAGI-2MAGI-2 अब SandBase पर है: 1080p वीडियो, नेटीव ऑडियो के साथअभी आज़माएँ

TikTok Ads Location List

API दस्तावेज़
https://api.sandbase.ai/v1/api/tiktok/ads/location-list

Returns the list of supported locations available for advertising targeting on TikTok. Access standard geographical targets to configure ad campaigns.

मूल्य
$0.001USD / कॉल
मेथड
POST
प्रतिक्रिया
JSON
पैरामीटर
0 आवश्यक · 0 वैकल्पिक

प्लेग्राउंड

इनपुट
कोई इनपुट schema उपलब्ध नहीं है
आउटपुटउदाहरण
प्रतिक्रियाoutputs · 496 B · 28 पंक्तियाँ
[
  {
    "data": {
      "code": 0,
      "data": {
        "country": [
          {
            "id": "AR",
            "label": "AR",
            "value": "Argentina"
          },
          {
            "id": "AU",
            "label": "AU",
            "value": "Australia"
          },
          {
            "id": "AT",
            "label": "AT",
            "value": "Austria"
          },
          "… 70 more items in the full response"
        ]
      },
      "msg": "OK"
    }
  }
]

उदाहरण

प्लेग्राउंड में इसके इनपुट और परिणाम लोड करने के लिए कोई उदाहरण चुनें।

API README

TikTok Ads Location List API

Returns the list of countries that TikTok Ads supports as geographic targets. The request takes no input. Each entry gives a country code and a country name.

Use cases

  • Fill a country dropdown in a campaign planning tool with TikTok-supported targets.
  • Check whether a country appears in the TikTok Ads targeting list before building a campaign.
  • Map two-letter country codes to country names in a marketing database.

Request

curl -X POST "https://api.sandbase.ai/v1/api/tiktok/ads/location-list" \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{}'

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

Example response

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

{
  "code": 0,
  "data": {
    "country": [
      {
        "id": "AR",
        "label": "AR",
        "value": "Argentina"
      }
    ]
  },
  "msg": "OK"
}

Response fields

FieldMeaning
codeStatus code of the response. 0 means the call succeeded.
msgStatus message. OK appears on success.
data.country[]List of countries available as ad targeting locations.
data.country[].id / data.country[].labelTwo-letter country code, such as AR or AU. Both fields hold the same code in the sample.
data.country[].valueCountry name in English, such as Argentina.

Notes

  • Send an empty JSON object {}. The API has no request parameters.
  • Use id as the code to store or match against. Use value when you need a display name.
  • To look up places by name on TikTok, call TikTok Location Search.

Pricing

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

और जानें

संबंधित APIs

सभी APIs
APIकीमतप्रतिक्रिया
TikTok$0.001 प्रति कॉलJSON
TikTok$0.001 प्रति कॉलJSON
TikTok$0.001 प्रति कॉलJSON
TikTok$0.001 प्रति कॉलJSON
TikTok$0.001 प्रति कॉलJSON
TikTok$0.001 प्रति कॉलJSON

गाइड्स:TikTok API pricing: official access vs per-call dataBest TikTok API in 2026: Pricing Compared

प्रश्न

FAQ

TikTok Ads Location List API का उपयोग कैसे करें?

https://api.sandbase.ai/v1/api/tiktok/ads/location-list पर Authorization header (Bearer) में अपनी SandBase API key और parameters को JSON body के रूप में भेजें। आप इस पेज के Playground में बिना code लिखे भी इसे आज़मा सकते हैं।

TikTok Ads Location List API की लागत कितनी है?

$0.001 प्रति call, आपकी SandBase balance से बिल किया जाएगा। आपसे केवल आपके किए गए calls के लिए शुल्क लिया जाता है; कोई subscription नहीं है।

TikTok Ads Location List API कौन-से parameters स्वीकार करती है?

TikTok Ads Location List कोई input parameters नहीं लेता; एक खाली JSON body भेजें।

TikTok Ads Location List API क्या लौटाती है?

एक JSON response जो उसी HTTP request में लौटाया जाता है (synchronous)। इस पेज का README एक sample response शामिल करता है।

क्या मुझे एक TikTok developer account या API key चाहिए?

नहीं। TikTok Ads Location List SandBase के माध्यम से चलता है, इसलिए एक SandBase API key इस endpoint और catalog के हर अन्य API और model को कवर करती है। आपको अलग से TikTok API access के लिए आवेदन करने की आवश्यकता नहीं है।