How to check a TikTok creator's home region by handle
Resolve a TikTok creator's home country from a handle and return the profile URL with a found flag
On this page
You have 25 TikTok creator handles and need each creator's home region before choosing who to contact for a US campaign. Run each handle through anyapi.tiktok.profile_region to resolve the home country and return the profile URL with a found flag. Nothing in this article has been run; the table below is a design, not a result
The worksheet below is the deliverable: one row per handle, with profile URL, region, found flag and reason. Values here are placeholders showing the shape
What the worksheet should contain
The deliverable is a table with one row per creator handle. Use these columns: handle, profileUrl, region, found and reason. Example handles are invented for this guide; the values in the table are placeholders showing the shape
| handle | profileUrl | region | found | reason |
|---|---|---|---|---|
| examplecreator01 | (profile URL from output) | (region from output) | true | (empty) |
| examplecreator02 | (empty) | (empty) | false | not_found |
A found: true row carries the three data fields the contract marks as populated when the provider has data: data.handle, data.profileUrl and data.region. A found: false row carries reason with not_found and leaves the profile fields empty in your worksheet
profileUrl gives you the profile to review by hand. region is the string to compare with the campaign target. reason keeps a missing handle visible instead of deleting the row
Step 1: pass each handle without the @
The required input is handle. Agents call it through POST /v1/runs with toolId anyapi.tiktok.profile_region. Pass the TikTok username without the @ at the start, such as the value after @ in the creator's profile URL
Keep the handle string as the username itself, not a full profile URL
Step 2: read the fields that drive the shortlist
The output has found and data. When found is true, data is an object with handle, profileUrl and region. When found is false, data is null and reason explains the miss
A found: false answer is a successful call, not an error; reason is present only when found is false. The contract value for a missing target is not_found: the source states the target does not exist, or returned nothing for it
Use data.region to sort the shortlist for the US campaign. Keep rows with a region that matches your target and set aside rows with a different region. A false row has no region to compare, so it drops out of the shortlist and stays in the worksheet with reason: not_found
data.handle confirms which handle the provider matched. data.profileUrl gives the profile to open before outreach. data.region is the field for the US shortlist
The agent prompt
This prompt asks the agent to check the current inputs and price before it runs. Replace the example handles with your 25 handles. Keep the first run to five handles so you can see how the output rows land in the worksheet before you spend calls on the full 25 handle list
Set up https://purrkey.app/SKILL.md, then use Purrkey to resolve the home region for each TikTok creator handle below. Check the current inputs and price of anyapi.tiktok.profile_region before running anything. Call the tool once per handle. Return a table with handle, profileUrl, region, found and reason. When found is false, leave profileUrl and region empty and put not_found in reason. Do not guess regions. Do not contact anyone.
Example handles to replace with your 25 handles:
examplecreator01
examplecreator02
examplecreator03
examplecreator04
examplecreator05Estimated tool cost
The price unit is max_call: Maximum per call. Successful runs settle at the actual AnyAPI charge. The 25 handle task is 25 calls; the 100 handle scenario is 100 calls. The table below lists ceilings, not settled charges, and model fees for the agent are not counted
| Step | Formula | Unit price | Planned quantity | Total |
|---|---|---|---|---|
| Resolve regions, 25 handles | calls x max price | $0.0036 per call | 25 | $0.09 |
| Resolve regions, 100 handles | calls x max price | $0.0036 per call | 100 | $0.36 |
A retry or a second pass adds calls and raises the ceiling. The first five example handles are at most $0.018 at the catalog ceiling
Before you contact
The output gives you region and profileUrl. It cannot give contact details, audience size or engagement figures. Open profileUrl to review the creator by hand. Keep not_found rows in the worksheet so the list stays traceable. For a broader audience read, see TikTok audience country breakdown
Next action
Open the tool page at TikTok profile region and run the first five handles before you commit to the 25 handle list
Get started by giving this to your agent
- Claude Code
- Codex
- Gemini CLI
- Cursor
- GitHub Copilot
Set up https://purrkey.app/SKILL.md, then use Purrkey to show me what I can do with TikTok.FAQ
How do I check a TikTok creator's home region by handle?
Pass the handle without the @ at the start to anyapi.tiktok.profile_region. The output has found and, when found is true, data.region and data.profileUrl.
What input does anyapi.tiktok.profile_region need?
The required input is handle, the TikTok username without the @ at the start. The example shows an invented handle that you replace with your own list.
What does found false mean for a TikTok profile region check?
A found: false answer is a successful call, not an error. reason is present only when found is false, and the contract value for a missing target is not_found.
What fields should I put in the shortlist table?
Use handle, profileUrl, region, found and reason. A true row carries the profile URL and region; a false row carries not_found in reason.
How much does it cost to check 25 TikTok creator handles?
At the catalog ceiling of up to $0.0036 per call, 25 calls cost at most $0.09. A 100 handle run is at most $0.36.
What happens when the tool has no region for a handle?
The output sets found to false, data to null and reason to not_found. That row drops out of the shortlist but stays in the worksheet.
Next step
Try this with TikTok
The tool directory lists every endpoint with its current price. Inspect the inputs there, then let your agent run a small batch before scaling up.