TikTok Location Search

https://api.sandbase.ai/v1/api/tiktok/app-v3/location-search

Searches for locations on TikTok using a text query. Returns matching place results with pagination support via offset and count parameters.

Price
$0.0015USD / callFirst 100 calls per day free (shared per organization)
Method
POST
Response
JSON
Parameters
1 required · 2 optional
Production route

Try the model

Playground

Open playground
Input
Number
Keyword
Offset
OutputExample
Responseoutputs · 2.4 KB · 94 lines
[
  {
    "data": {
      "cursor": 20,
      "extra": {
        "api_debug_info": [
          "152"
        ],
        "fatal_item_ids": [],
        "logid": "20261006123934EA6A28B6271A556D5899",
        "now": 1791290375114,
        "search_request_id": "",
        "server_stream_time": 202
      },
      "feedback_type": "poi",
      "global_doodle_config": {
        "display_filter_bar": 1,
        "feedback_survey": [
          {
            "feedback_type": "poi",
            "long_stress_info": null,
            "multiple_choices": [
              {
                "key": "Unrelated location",
                "value": "Unrelated location"
              },
              {
                "key": "Location not found",
                "value": "Location not found"
              },
              {
                "key": "Repetitive location",
                "value": "Repetitive location"
              },
              {
                "key": "Not my language",
                "value": "Not my language"
              },
              {
                "key": "Wrong address",
                "value": "Wrong address"
              },
              {
                "key": "Non-existent location",
                "value": "Non-existent location"
              },
              {
                "key": "Others",
                "value": "Others"
              }
            ],
            "send_us_multiple_choices": null
          }
        ],
        "hide_results": false,
        "hit_dolphin": false,
        "hit_shark": false,
        "keyword": "OpenAI",
        "new_source": "switch_tab",
        "search_channel": "tiktok_places",
        "tns_search_result": "Pass"
      },
      "has_more": 0,
      "log_pb": {
        "impr_id": "20261006123934EA6A28B6271A556D5899"
      },
      "poi_info": {
        "dynamic_patch": {
          "aweme_list": null,
          "aweme_multi_tab_list": null,
          "related_word_list": null,
          "tab_map": null
        },
        "local_service_info": {},
        "nearby_auth": {
          "aweme_list": null,
          "aweme_multi_tab_list": null,
          "nearby_auth": {},
          "related_word_list": null,
          "tab_map": null
        },
        "poi_info": []
      },
      "search_nil_info": {
        "is_load_more": "first_flush",
        "search_nil_item": "federation_empty",
        "search_nil_type": "",
        "text_type": 0
      },
      "status_code": 0,
      "version": "v2"
    }
  }
]

Examples

Select an example to load its inputs and result into the playground.

Model card

Specifications

Pricing

Base price
$0.0015 / run
Daily free calls
First 100 calls per day free (shared per organization)

Request & response

Method
POST
Request body
application/json
Response
application/json
Execution
sync

Parameters

keyword
string · required
count
integer · optional
offset
integer · optional

Access

Provider
TikTok
API
Platform API
Base URL
https://api.sandbase.ai
Endpoint
/v1/api/tiktok/app-v3/location-search
Authentication
Bearer API key

API README

TikTok Location Search API

Search for locations on TikTok by submitting a query string in keyword. Page through matching results using offset and count.

Use cases

  • Search for specific places or venues on TikTok by name.
  • Tag TikTok posts with relevant venue locations.
  • Explore geographic points of interest across TikTok datasets.

Request

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

Parameters

NameTypeRequiredDescription
keywordstringYesKeyword
countintegerNoNumber
offsetintegerNoOffset

Example response

Real response for the request above, trimmed to the main fields. User names and long IDs are masked.

{
  "global_doodle_config": {
    "feedback_survey": [
      {
        "multiple_choices": [
          {
            "value": "Unrelated location"
          }
        ]
      }
    ]
  }
}

Notes

  • Paginate through results by adjusting offset and count.

Related APIs

Start building

Send your first request

Platform API endpoint with unified authentication and usage tracking.

Production API
Platform API endpoint
https://api.sandbase.ai/v1/api/tiktok/app-v3/location-search
Authorization header
Authorization: Bearer $SANDBASE_API_KEY
# The quoted heredoc keeps Unicode and shell metacharacters unchanged.
result=$(curl --fail-with-body --silent \
  -X POST "https://api.sandbase.ai/v1/api/tiktok/app-v3/location-search" \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  --data-binary @- <<'SANDBASE_JSON'
{
  "count": 1,
  "offset": 0,
  "keyword": "OpenAI"
}
SANDBASE_JSON
)
printf '%s\n' "$result"

Explore more

Related APIs

All APIs
APIPriceResponseReleased
TikTok$0.0015 per callJSONJul 31, 2026
TikTok$0.0015 per callJSONJul 31, 2026
TikTok$0.01 per callJSONJul 31, 2026
TikTok$0.0015 per callJSONJul 31, 2026
TikTok$0.0015 per callJSONJul 31, 2026
TikTok$0.0015 per callJSONJul 31, 2026

Questions

FAQ

How do I use the TikTok Location Search API?

Send a POST request to https://api.sandbase.ai/v1/api/tiktok/app-v3/location-search with your SandBase API key in the Authorization header (Bearer) and the parameters as a JSON body. You can also try it in the Playground on this page without writing code.

How much does the TikTok Location Search API cost?

$0.0015 per call. Every organization gets 100 free calls per UTC day, shared across eligible SandBase APIs including this one; after that each call is billed at this price from your SandBase balance. There is no subscription.

What parameters does the TikTok Location Search API accept?

Required: keyword (string). Optional: count (integer) and offset (integer). The Parameters table and the Playground on this page list every field.

What does the TikTok Location Search API return?

A JSON response returned in the same HTTP request (synchronous). The README on this page includes a sample response.

Do I need a TikTok developer account or API key?

No. TikTok Location Search runs through SandBase, so one SandBase API key covers this endpoint and every other API and model in the catalog. You do not need to apply for TikTok API access separately.