keywordstring필수
Keyword
https://api.sandbase.ai/v1/api/tiktok/app-v3/location-searchSearches for locations on TikTok using a text query. Returns matching place results with pagination support via offset and count parameters.
[
{
"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"
},
"… 4 more items in the full response"
],
"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"
}
}
]예시를 선택하면 입력값과 결과가 플레이그라운드에 로드됩니다.
Searches TikTok places by a text query and returns matching points of interest. Each result has a name, address, coordinates, place type and video count. The only required input is keyword.
lat and lng to see where matching places are located.poi_type or country_code to narrow a broad name search.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"}'
The result is returned in outputs[0].data.
| Name | Type | Required | Description |
|---|---|---|---|
keyword | string | Yes | Keyword |
count | integer | No | Number |
offset | integer | No | Offset |
Real response for the request above, trimmed: lists keep their first item and long strings are cut.
{
"cursor": 20,
"extra": {
"api_debug_info": [
"1269"
],
"fatal_item_ids": [],
"logid": "20261103074355B12B42E16EC2A4CB89F7",
"now": 1793691837158,
"search_request_id": "",
"server_stream_time": 1333
},
"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"
}
],
"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": 1,
"log_pb": {
"impr_id": "20261103074355B12B42E16EC2A4CB89F7"
},
"poi_info": {
"dynamic_patch": {
"aweme_list": null,
"aweme_multi_tab_list": null,
"related_word_list": null,
"tab_map": null
},
"local_service_info": {
"anchor_poi_index": "",
"ttd_poi_id": "0",
"vertical_filter_pass_through": ""
},
"nearby_auth": {
"aweme_list": null,
"aweme_multi_tab_list": null,
"nearby_auth": {},
"related_word_list": null,
"tab_map": null
},
"poi_info": [
{
"collect_info": "{\"tt_type_code\":\"08a1b4\",\"is_tt_key_category\":1,\"tt_poi_type_name_level0\":\"Trave…",
"country_code": "FR",
"extra": "",
"is_collected": 0,
"is_fallback_header_icon": 0,
"lat": "43.711900",
"lng": "4.982780",
"local_service_key_category": "Travel",
"local_service_key_category_enum": 5,
"local_service_todo_model": "Other",
"opening_time": "",
"parent_poi": "Bouches-du-Rhone"
}
]
},
"status_code": 0,
"version": "v2"
}
| Field | Meaning |
|---|---|
poi_info.poi_info[].poi_id_str | The place ID as a string. Use this string form to avoid rounding of the long number in poi_id. |
poi_info.poi_info[].poi_name | The name of the place. |
poi_info.poi_info[].poi_location | The full address of the place as a single line of text. |
poi_info.poi_info[].poi_type | The place type, such as Mountain, Golf Course or District. |
poi_info.poi_info[].lat / poi_info.poi_info[].lng | Latitude and longitude of the place. Both are strings. |
poi_info.poi_info[].country_code | Two-letter country code of the place, such as FR. |
poi_info.poi_info[].parent_poi | The larger area that contains the place, such as a department or region. |
poi_info.poi_info[].video_count | Number of TikTok videos linked to the place. |
poi_info.poi_info[].total_count_of_reviews | Number of reviews recorded for the place. |
has_more / cursor | has_more is 1 when more results are available. cursor holds the next position value, 20 in this response. |
count (default 20) and offset (default 0). The response had cursor set to 20 and has_more set to 1.poi_id_str rather than poi_id when you store or pass IDs on.operating_hours, with a day number and an opening_show_time text. Many fields, such as poi_rating and opening_time, can be empty strings.$0.001 per successful call. Failed calls are not charged. It is included in the daily free quota of each organization.
빌드를 시작하세요
통합 인증 및 사용량 추적이 있는 플랫폼 API 엔드포인트입니다.
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 '{
"count": 1,
"offset": 0,
"keyword": "OpenAI"
}'서버 환경에 SandBase API 키를 설정하세요. 요청에는 Bearer 인증이 사용됩니다.
export SANDBASE_API_KEY="YOUR_API_KEY"키는 서버에 보관하세요. 브라우저 코드에 노출하지 마세요.
keywordstring필수Keyword
countintegerNumber
기본값: 20
offsetintegerOffset
기본값: 0
이 API의 저장된 예시 응답입니다. 확인할 때 라이브 요청은 실행되지 않습니다.
[
{
"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"
},
"… 4 more items in the full response"
],
"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"
}
}
]더 살펴보기
| API | 가격 | 응답 |
|---|---|---|
TikTok | $0.001 / 호출 | JSON |
TikTok | $0.001 / 호출 | JSON |
TikTok | $0.01 / 호출 | 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
질문
Authorization 헤더(Bearer)에 SandBase API 키를 넣고, 매개변수를 JSON 본문으로 담아 https://api.sandbase.ai/v1/api/tiktok/app-v3/location-search에 POST 요청을 보내세요. 이 페이지의 Playground에서도 코드를 작성하지 않고 직접 테스트할 수 있습니다.
호출당 $0.001, SandBase 잔액에서 청구됩니다. 사용한 호출에 대해서만 요금이 부과되며, 구독은 없습니다.
필수: keyword (string). 선택: count (integer) 및 offset (integer). 이 페이지의 Parameters 표와 Playground에 모든 필드가 나와 있습니다.
같은 HTTP 요청에서 반환되는 JSON 응답입니다(동기식). 이 페이지의 README에 샘플 응답이 포함되어 있습니다.
아니요. TikTok Location Search은 SandBase를 통해 실행되므로, SandBase API 키 하나로 이 엔드포인트와 카탈로그의 다른 모든 API 및 모델을 사용할 수 있습니다. TikTok API 액세스를 별도로 신청할 필요는 없습니다.