TokConnect Shop Regions API
Lists the TikTok Shop markets Shop Analytics covers, with each market's currency, language and tier.
Lists the TikTok Shop markets Shop Analytics covers, with each market's currency, language and tier.
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
find_apisBrowse and filter every API in the catalog.get_api_artifactsOne API's artifacts, grouped by type.get_openapiThe primary OpenAPI for this API.find_similar_apisAPIs that look like this one.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.curl "https://apis.io/api/v1/apis/tokconnect-com:tokconnect-com-shop-regions-api"
curl "https://apis.io/api/v1/apis?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.
openapi: 3.2.0
info:
title: Tokconnect Com Shop Regions API
version: 4.1.0
contact:
email: dj@tokconnect.com
name: TokConnect
url: https://tokconnect.com/docs/api/
description: 'Operations tagged shop_regions across 3 of this provider''s published API definitions: api.tokconnect.com_v1_openapi.json, tokconnect-com-openapi.json, tokconnect.com_openapi.json. Each path carries the servers of the definition it was published in.'
servers:
- description: Production
url: https://api.tokconnect.com
security:
- bearer: []
- apiKey: []
tags:
- description: Lists the TikTok Shop markets Shop Analytics covers, with each market's currency, language and tier.
name: shop_regions
x-displayName: Shop Analytics markets
paths:
/v1/markets:
get:
description: 'This route: the supported markets.
Lists the TikTok Shop markets Shop Analytics covers, with each market''s currency, language and tier. core = the 13 main markets; extended = Poland, Italy, the Netherlands and Ireland, which Shop Analytics also answers with local data. Pass the code as region to any Shop Analytics tool; other countries are refused. Default market is US. Example: {}.'
operationId: GET_markets
parameters:
- description: compact (default) returns the useful fields; full adds the full raw record (large).
in: query
name: detail
required: false
schema:
default: compact
enum:
- compact
- full
type: string
responses:
'200':
content:
application/json:
example:
data:
count: 17
default: US
markets:
- code: US
currency: USD
language: en
name: United States
tier: core
- code: GB
currency: GBP
language: en
name: United Kingdom
tier: core
- code: DE
currency: EUR
language: de
name: Germany
tier: core
notes:
- Pass a market's code as region to product_top_selling, shop_top_selling, creator_top_selling, video_top_selling, live_top_selling, category_trends, product, shop, creator_commerce, video or live (their Shop Analytics methods).
- 'Amounts are in the market''s currency; product, shop and creator names are in the market''s language. Product and shop ids belong to one market: use them with the same region.'
- Only these markets are accepted. The data source answers any other country code with one default dataset instead of local data, so TokConnect refuses them.
meta:
credits_charged: 1
credits_remaining: 7906
request_id: req_3f9c2a1b7d4e
schema:
properties:
data:
description: The tool's result. Compact by default; pass detail=full for the complete record.
properties:
count:
type: integer
default:
type: string
markets:
items:
properties:
code:
type: string
currency:
type: string
language:
type: string
name:
type: string
tier:
type: string
type: object
type: array
notes:
items:
type: string
type: array
type: object
meta:
$ref: '#/components/schemas/Meta'
next_cursor:
description: 'Present when there is another page: pass it back as cursor.'
type: string
required:
- data
- meta
type: object
description: 'OK. The call was charged: 1 credit, or 2 for a Shop sales lookup.'
headers:
Request-Id:
description: Quote it to support.
schema:
type: string
TokConnect-Credits-Charged:
description: 'Credits this call was charged: 0 when it failed, otherwise the route''s x-credits.'
schema:
type: integer
TokConnect-Credits-Remaining:
description: Credits left this period.
schema:
type: integer
'400':
$ref: '#/components/responses/E400'
'401':
$ref: '#/components/responses/E401'
'402':
$ref: '#/components/responses/E402'
'403':
$ref: '#/components/responses/E403'
'404':
$ref: '#/components/responses/E404'
'429':
$ref: '#/components/responses/E429'
'502':
$ref: '#/components/responses/E502'
'503':
$ref: '#/components/responses/E503'
summary: Shop Analytics markets
tags:
- shop_regions
x-credits: 1
x-mcp-method: ''
x-mcp-tool: shop_regions
servers:
- description: Production
url: https://api.tokconnect.com
components:
responses:
E404:
content:
application/json:
example:
error:
charged: false
docs: https://tokconnect.com/docs/api/errors/
message: No such route, or TikTok has nothing at that id (deleted, private or never existed).
request_id: req_0a1b2c3d4e5f
type: not_found
schema:
$ref: '#/components/schemas/Error'
description: No such route, or TikTok has nothing at that id (deleted, private or never existed).
E429:
content:
application/json:
example:
error:
charged: false
docs: https://tokconnect.com/docs/api/errors/
message: Over your plan's requests per minute or calls at once. Wait for the Retry-After seconds. Not charged.
request_id: req_0a1b2c3d4e5f
type: rate_limited
schema:
$ref: '#/components/schemas/Error'
description: Over your plan's requests per minute or calls at once. Wait for the Retry-After seconds. Not charged.
E400:
content:
application/json:
example:
error:
charged: false
docs: https://tokconnect.com/docs/api/errors/
message: An argument is missing, unknown or out of range. The message names it and says what the route takes. Not charged.
request_id: req_0a1b2c3d4e5f
type: invalid_request
schema:
$ref: '#/components/schemas/Error'
description: An argument is missing, unknown or out of range. The message names it and says what the route takes. Not charged.
E402:
content:
application/json:
example:
error:
charged: false
docs: https://tokconnect.com/docs/api/errors/
message: 'No credits left this period (credits_exhausted), or the last payment did not go through (billing_hold: update the card on the account page). Not charged.'
request_id: req_0a1b2c3d4e5f
type: credits_exhausted
schema:
$ref: '#/components/schemas/Error'
description: 'No credits left this period (credits_exhausted), or the last payment did not go through (billing_hold: update the card on the account page). Not charged.'
E403:
content:
application/json:
example:
error:
charged: false
docs: https://tokconnect.com/docs/api/errors/
message: The API needs a paid plan (Starter, Growth, Pro or Enterprise). Not charged.
request_id: req_0a1b2c3d4e5f
type: plan_required
schema:
$ref: '#/components/schemas/Error'
description: The API needs a paid plan (Starter, Growth, Pro or Enterprise). Not charged.
E503:
content:
application/json:
example:
error:
charged: false
docs: https://tokconnect.com/docs/api/errors/
message: TokConnect is at capacity. Retry after a few seconds. Not charged.
request_id: req_0a1b2c3d4e5f
type: server_busy
schema:
$ref: '#/components/schemas/Error'
description: TokConnect is at capacity. Retry after a few seconds. Not charged.
E502:
content:
application/json:
example:
error:
charged: false
docs: https://tokconnect.com/docs/api/errors/
message: TokConnect could not read this answer from TikTok. Retry shortly. Not charged.
request_id: req_0a1b2c3d4e5f
type: upstream_failed
schema:
$ref: '#/components/schemas/Error'
description: TokConnect could not read this answer from TikTok. Retry shortly. Not charged.
E401:
content:
application/json:
example:
error:
charged: false
docs: https://tokconnect.com/docs/api/errors/
message: 'No API key, or the key is revoked. Send X-API-Key or Authorization: Bearer.'
request_id: req_0a1b2c3d4e5f
type: unauthorized
schema:
$ref: '#/components/schemas/Error'
description: 'No API key, or the key is revoked. Send X-API-Key or Authorization: Bearer.'
schemas:
Meta:
properties:
credits_charged:
description: 1 on success.
type: integer
credits_remaining:
description: Credits left this period, when known.
type: integer
request_id:
description: Quote it to support.
type: string
type: object
Error:
properties:
error:
properties:
charged:
description: 'Always false: failed calls are not charged.'
type: boolean
docs:
format: uri
type: string
message:
description: What went wrong and what to do.
type: string
request_id:
type: string
retry_after:
description: Seconds to wait, on 429 and 503.
type: integer
type:
description: 'Machine code: invalid_request, unauthorized, credits_exhausted, billing_hold, plan_required, forbidden (a browser request from a site that may not call the API), not_found, rate_limited, too_concurrent, upstream_failed, server_busy.'
type: string
required:
- type
- message
type: object
required:
- error
type: object
securitySchemes:
apiKey:
in: header
name: X-API-Key
type: apiKey
bearer:
scheme: bearer
type: http
externalDocs:
description: Guides and reference
url: https://tokconnect.com/docs/api/
x-refined-from:
- api.tokconnect.com_v1_openapi.json
- tokconnect-com-openapi.json
- tokconnect.com_openapi.json
x-tagGroups:
- name: Products
tags:
- product
- product_top_selling
- name: Shops
tags:
- shop
- shop_browse
- shop_top_selling
- name: Creators
tags:
- creator
- creator_commerce
- creator_playlist
- creator_search
- creator_top_selling
- name: Videos
tags:
- video
- video_feed
- video_search
- video_top_selling
- name: LIVE
tags:
- live
- live_search
- live_top_selling
- name: Categories
tags:
- category_trends
- name: Charts
tags:
- charts
- name: Ads and Creative Center
tags:
- ad_library
- creative_center
- name: Demand and keywords
tags:
- demand_find_topics
- demand_keywords
- demand_topic
- name: Hashtags and sounds
tags:
- hashtag
- hashtag_search
- sound
- sound_search
- name: Places
tags:
- place
- place_search
- name: Helpers
tags:
- pick_comment_winners
- name: Markets and reference
tags:
- reference
- shop_regions