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 件

プレイグラウンド

入力
利用可能な入力スキーマがありません
出力例
レスポンス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 はどのように使いますか?

Authorization ヘッダー(Bearer)に SandBase API key を指定し、パラメータを JSON ボディで送信して https://api.sandbase.ai/v1/api/tiktok/ads/location-list に POST リクエストを送ります。このページの Playground で、コードを書かずに試すこともできます。

TikTok Ads Location List API の料金はいくらですか?

1回あたり $0.001、SandBase 残高から課金されます。課金対象はご利用分のみで、サブスクリプションはありません。

TikTok Ads Location List API はどのパラメータを受け付けますか?

TikTok Ads Location List は入力パラメータを取りません。空の JSON ボディを送信してください。

TikTok Ads Location List API は何を返しますか?

同じ HTTP リクエスト内で返される JSON レスポンスです(同期)。 このページの README にサンプルレスポンスがあります。

TikTok の開発者アカウントまたは API key は必要ですか?

いいえ。TikTok Ads Location List は SandBase 経由で動作するため、SandBase の API key 1つでこのエンドポイントと、カタログ内の他のすべての API とモデルを利用できます。TikTok の API アクセスを別途申請する必要はありません。