---
title: "Search TikTok locations"
method: GET
path: "/uploadposts/tiktok/locations"
tags: ["Platform Integration"]
---

# Search TikTok locations

`GET /uploadposts/tiktok/locations`

Search TikTok's place database for the `location_id` needed to tag a location on a post. TikTok requires the id and the name together: send them as `tiktok_location_id` + `tiktok_location_name`. Returns at most 20 matches; an empty array means TikTok found no match, and is a 200 rather than an error.

## Query parameters

- `profile` string, required
- `q` string, required

## Response `200`

Matching places.

- object
  - `success` boolean
  - `query` string
  - `locations` TikTokLocation[]
    - `location_id` string — Send as `tiktok_location_id`.
    - `location_name` string — Send as `tiktok_location_name`. TikTok rejects the id without it.
    - `location_address` string — Postal address, useful for disambiguating results in a picker.

## Other responses

- `400` — The profile has no TikTok connection able to serve this endpoint. Reconnecting the TikTok account from Manage Users enables it.
- `401` — Unauthorized — Invalid or expired token.
- `409` — The TikTok token expired and could not be refreshed; the account must be reconnected.
- `502` — TikTok rejected the request. Its message is returned verbatim.

## Changes

- **2026-08-31** `f3ef68b64fbc` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/upload-post/apis/upload-post-api/changes/uploadposts/tiktok/locations/get.md)

---

[API](https://skmtc.dev/upload-post/apis/upload-post-api.md) · [All operations](https://skmtc.dev/upload-post/apis/upload-post-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/upload-post/upload-post-api/revisions/f3ef68b64fbc/schema)
