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

TikTok Ads Location List

API dokümanları
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.

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

Oynatma Alanı

Girdi
Kullanılabilir giriş şeması yok
ÇıktıÖrnek
Yanıtoutputs · 496 B · 28 satır
[
  {
    "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"
    }
  }
]

Örnekler

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

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.

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.001 çağrı başınaJSON

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

Sorular

SSS

TikTok Ads Location List 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/ads/location-list adresine bir POST isteği gönderin. Ayrıca bu sayfadaki Playground’da kod yazmadan da deneyebilirsiniz.

TikTok Ads Location List 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 Ads Location List API'si hangi parametreleri kabul eder?

TikTok Ads Location List hiçbir giriş parametresi almaz; boş bir JSON gövdesi gönderin.

TikTok Ads Location List 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 Ads Location List, 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.