> ## Documentation Index
> Fetch the complete documentation index at: https://getanyapi.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# TikTok Shop Store Products

> Sell tiktok_shop.shop_products on AnyAPI: the request your endpoint receives, the response it must return, and what the real-request check judges.

List every product of a TikTok Shop store by URL (title, price, sales, and rating per product plus shop-level stats) with cursor pagination.

This page is the seller-facing summary of one catalog API, `tiktok_shop.shop_products`. The transport rules that apply to every API a seller serves - signed requests, the response envelope, timeouts, and body limits - are on [the operator endpoint contract](https://getanyapi.com/docs/sell/operator-endpoint-contract.md).

## The price you compete with

AnyAPI publishes this API from **\$1.20 per 1,000 requests**. That is the price a buyer sees today, so it is the price your endpoint has to come in under to win traffic.

## The request your endpoint receives

| Field | Type | Required | What it means |
| - | - | - | - |
| `cursor` | string | no | Opaque pagination cursor from a previous response's nextCursor. |
| `region` | string | no | Two-letter country code of the store's market (e.g. US). |
| `requireFields` | array | no | Optional; omit it and routing is unchanged, with the cheapest source serving. Name the output fields this request must be able to return, for example `shopRating`, and it is served only by a source that returns every one of them. Fields you do not name are still returned whenever the serving source has them. This can raise your price: when the cheapest source cannot return a named field, a dearer source serves, and you are quoted and charged its price. A named field can still be absent on a store that genuinely lacks it. Naming a combination that no single source returns together is refused as invalid input, with no charge. On a paginated walk it applies to the first page only; later pages stay with the source that page chose, at the price it was quoted. |
| `sortBy` | string | no | Product ordering within the store. One of: `top`, `new_releases`. Default `"top"`. |
| `url` | string | yes | TikTok Shop store URL (e.g. [https://www.tiktok.com/shop/store/\&lt;name\&gt;/\&lt;id](https://www.tiktok.com/shop/store/\&lt;name\&gt;/\&lt;id)> or [https://shop.tiktok.com/us/store/\&lt;name\&gt;/\&lt;id](https://shop.tiktok.com/us/store/\&lt;name\&gt;/\&lt;id)>). The link must include the store's numeric id, the long number after the store name: a link with only the name (tiktok.com/shop/store/\<name>) does not open a store page on TikTok. A link without the store id, a vt.tiktok.com or vm.tiktok.com share link, or any link that is not a store page, is refused as invalid input, with no charge; send the store page link with its id (tiktok.com/shop/store/\<name>/\<id>) instead. |

> [accordion] Full input JSON Schema
>
> ```json theme={"dark"}
> {
>   "$schema": "https://json-schema.org/draft/2020-12/schema",
>   "$id": "https://getanyapi.com/schemas/tiktok_shop.shop_products.input.json",
>   "example": {
>     "url": "https://www.tiktok.com/shop/store/goli-nutrition/7495794203056835079"
>   },
>   "title": "TikTok Shop store products input",
>   "type": "object",
>   "additionalProperties": false,
>   "required": [
>     "url"
>   ],
>   "properties": {
>     "url": {
>       "type": "string",
>       "pattern": "^(?:https?://)?(?:[A-Za-z0-9-]+\\.)*tiktok\\.com/(?:[^/?#]+/)?store/(?:[^/?#]+/)?\\d{15,}(?:[/?#]|$)",
>       "description": "TikTok Shop store URL (e.g. https://www.tiktok.com/shop/store/<name>/<id> or https://shop.tiktok.com/us/store/<name>/<id>). The link must include the store's numeric id, the long number after the store name: a link with only the name (tiktok.com/shop/store/<name>) does not open a store page on TikTok. A link without the store id, a vt.tiktok.com or vm.tiktok.com share link, or any link that is not a store page, is refused as invalid input, with no charge; send the store page link with its id (tiktok.com/shop/store/<name>/<id>) instead."
>     },
>     "sortBy": {
>       "type": "string",
>       "enum": [
>         "top",
>         "new_releases"
>       ],
>       "default": "top",
>       "description": "Product ordering within the store."
>     },
>     "region": {
>       "type": "string",
>       "description": "Two-letter country code of the store's market (e.g. US)."
>     },
>     "cursor": {
>       "type": "string",
>       "description": "Opaque pagination cursor from a previous response's nextCursor."
>     },
>     "requireFields": {
>       "type": "array",
>       "uniqueItems": true,
>       "items": {
>         "type": "string",
>         "enum": [
>           "productCount",
>           "shopRating",
>           "soldCount"
>         ]
>       },
>       "description": "Optional; omit it and routing is unchanged, with the cheapest source serving. Name the output fields this request must be able to return, for example `shopRating`, and it is served only by a source that returns every one of them. Fields you do not name are still returned whenever the serving source has them. This can raise your price: when the cheapest source cannot return a named field, a dearer source serves, and you are quoted and charged its price. A named field can still be absent on a store that genuinely lacks it. Naming a combination that no single source returns together is refused as invalid input, with no charge. On a paginated walk it applies to the first page only; later pages stay with the source that page chose, at the price it was quoted."
>     }
>   }
> }
> ```

## The response your endpoint must return

| Field | Type | Always present | What it means |
| - | - | - | - |
| `data` | null or object | yes | |
| `data.hasMore` | boolean | yes | |
| `data.nextCursor` | string or null | yes | Opaque cursor for the next page of products, or null when this lane has no more. Pass it back as cursor to continue. |
| `data.productCount` | integer or null | yes | Number of products the store has on sale, or null when the serving source does not report it. |
| `data.products` | array | yes | |
| `data.products[].currency` | string | yes | |
| `data.products[].discountPct` | number | no | Discount off the original price as a percentage, e.g. 10 for 10% off. Omitted when the product is not discounted. |
| `data.products[].image` | string | no | Product image URL. |
| `data.products[].originalPrice` | number or null | yes | Pre-discount list price, or null when the product is not on sale. |
| `data.products[].price` | number | yes | |
| `data.products[].productId` | string | yes | |
| `data.products[].rating` | number or null | yes | Average review score out of 5, or null when the product has no rating yet. |
| `data.products[].reviewCount` | integer | yes | |
| `data.products[].sellerId` | string | no | TikTok Shop seller id, for joining to the seller's other products. |
| `data.products[].soldCount` | integer | yes | |
| `data.products[].title` | string | yes | |
| `data.products[].url` | string | yes | |
| `data.shopName` | string | yes | |
| `data.shopRating` | number or null | yes | The store's rating out of 5, or null when the serving source does not report it. |
| `data.soldCount` | integer or null | yes | Units the store has sold across all its products, or null when the serving source does not report it. |
| `found` | boolean | yes | |

Extra fields are kept, missing declared fields fail.

> [accordion] Full output JSON Schema
>
> ```json theme={"dark"}
> {
>   "$schema": "https://json-schema.org/draft/2020-12/schema",
>   "$id": "https://getanyapi.com/schemas/tiktok_shop.shop_products.output.json",
>   "title": "TikTok Shop store products output",
>   "type": "object",
>   "additionalProperties": false,
>   "required": [
>     "found",
>     "data"
>   ],
>   "properties": {
>     "found": {
>       "type": "boolean"
>     },
>     "data": {
>       "oneOf": [
>         {
>           "type": "null"
>         },
>         {
>           "type": "object",
>           "additionalProperties": false,
>           "required": [
>             "shopName",
>             "shopRating",
>             "soldCount",
>             "productCount",
>             "hasMore",
>             "nextCursor",
>             "products"
>           ],
>           "properties": {
>             "shopName": {
>               "x-anyapi-must-populate": true,
>               "type": "string"
>             },
>             "shopRating": {
>               "type": [
>                 "number",
>                 "null"
>               ],
>               "description": "The store's rating out of 5, or null when the serving source does not report it."
>             },
>             "soldCount": {
>               "type": [
>                 "integer",
>                 "null"
>               ],
>               "description": "Units the store has sold across all its products, or null when the serving source does not report it."
>             },
>             "productCount": {
>               "type": [
>                 "integer",
>                 "null"
>               ],
>               "description": "Number of products the store has on sale, or null when the serving source does not report it."
>             },
>             "hasMore": {
>               "type": "boolean"
>             },
>             "nextCursor": {
>               "type": [
>                 "string",
>                 "null"
>               ],
>               "description": "Opaque cursor for the next page of products, or null when this lane has no more. Pass it back as cursor to continue."
>             },
>             "products": {
>               "x-anyapi-must-populate": true,
>               "type": "array",
>               "items": {
>                 "type": "object",
>                 "required": [
>                   "productId",
>                   "title",
>                   "price",
>                   "originalPrice",
>                   "currency",
>                   "rating",
>                   "reviewCount",
>                   "soldCount",
>                   "url"
>                 ],
>                 "properties": {
>                   "productId": {
>                     "x-anyapi-must-populate": true,
>                     "type": "string"
>                   },
>                   "title": {
>                     "x-anyapi-must-populate": true,
>                     "type": "string"
>                   },
>                   "price": {
>                     "type": "number"
>                   },
>                   "originalPrice": {
>                     "type": [
>                       "number",
>                       "null"
>                     ],
>                     "description": "Pre-discount list price, or null when the product is not on sale."
>                   },
>                   "currency": {
>                     "type": "string"
>                   },
>                   "rating": {
>                     "type": [
>                       "number",
>                       "null"
>                     ],
>                     "description": "Average review score out of 5, or null when the product has no rating yet."
>                   },
>                   "reviewCount": {
>                     "type": "integer"
>                   },
>                   "soldCount": {
>                     "type": "integer"
>                   },
>                   "url": {
>                     "x-anyapi-domain": "tiktok.com",
>                     "x-anyapi-must-populate": true,
>                     "type": "string"
>                   },
>                   "image": {
>                     "x-anyapi-domain": [
>                       "tiktokcdn.com",
>                       "tiktokcdn-us.com",
>                       "tiktokcdn-eu.com",
>                       "ibyteimg.com",
>                       "ibytedtos.com",
>                       "ttcdn-us.com",
>                       "lh3.googleusercontent.com"
>                     ],
>                     "type": "string",
>                     "description": "Product image URL."
>                   },
>                   "sellerId": {
>                     "x-anyapi-must-populate": true,
>                     "type": "string",
>                     "description": "TikTok Shop seller id, for joining to the seller's other products."
>                   },
>                   "discountPct": {
>                     "type": "number",
>                     "description": "Discount off the original price as a percentage, e.g. 10 for 10% off. Omitted when the product is not discounted."
>                   }
>                 }
>               }
>             }
>           }
>         }
>       ]
>     }
>   }
> }
> ```

## Fields that must never come back empty

* `productId`
* `products`
* `sellerId`
* `shopName`
* `title`
* `url`

The repository marks these fields as ones every source must be able to fill. An empty value is only correct when the entity itself genuinely has nothing there.

## Not found, and how it differs from empty

When the entity does not exist, answer 2xx with the not-found shape:

```json theme={"dark"}
{
  "found": false,
  "data": null
}
```

An empty list is not a not-found: when the entity exists and has nothing to return, answer 2xx with `found: true` and an empty `products` array.

This output schema declares no `reason` field, so `found: false` is the whole not-found answer.

## Example request

```json theme={"dark"}
{
  "url": "https://www.tiktok.com/shop/store/goli-nutrition/7495794203056835079"
}
```

The registration tests send this example to your endpoint, with the API's other test inputs. After that, the real-request check sends your endpoint real past customer inputs, and an AI reviewer compares each answer with AnyAPI's own answer to the same input.

## Next

* [The operator endpoint contract](https://getanyapi.com/docs/sell/operator-endpoint-contract.md) for signing, budgets, and the real-request check.
* [Every API open to sellers](https://getanyapi.com/docs/sell/apis/index.md).
* Want to sell an API that is not on that list? Email [support@getanyapi.com](mailto:support@getanyapi.com).


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.