TikTok Explore API
Use the TikTok Explore API to choose one of 21 defined categories and read public video records. Comedy is category_type=104; actual page length follows the returned items.
1 credits per non-empty successful request; empty results and failures are free. Each page is billed separately.
Each page requests 20 records; the returned number can vary. Next page is a separate billed request.
https://api.goanyapi.com/api/v1/tiktok/explore?category_type=104&cursor=0&count=20Run a request to see the visual result
The response is organized into metrics, lists and tables that match the JSON on the right.
Run a request to see the response here
Fill in the demo parameters to preview an example response for free. Sign in to send live requests with your own parameters.
Choose a category, then inspect its returned posts
The TikTok Explore API gives you a category-based entry point to available public video records. Select a defined category to retrieve descriptions, authors, public engagement and media fields in one page. It suits an interface that lets readers browse a category and then inspect individual posts. The category selector and API documentation use the same 21 definitions. Explore here means a category listing; it does not mean an API debugging console or an unrestricted video search.
Comedy is an input category, not a ranking claim
A request example is GET /api/v1/tiktok/explore?category_type=104&cursor=0&count=20, authenticated with your GoAnyAPI Bearer API key. The category value 104 means Comedy. It is initially selected in the Tester, but API requests must still supply category_type. This example explains syntax and does not represent a new measured response. Read the returned data.items[] as post records, starting with each description and author before inspecting its counts and media. You can then open a selected record with the Video Details API. The chosen category tells you how you requested this page; it does not establish each video’s global popularity, its audience’s country or a fixed rank.
- category_type → data.items[]
- The category ID selects the input collection; the items array holds the posts returned for that request. Comedy is 104, Sports is 112 and Food is 111. Use the selector or full Docs table for all 21 canonical values rather than inventing a new ID or sending category names as parameters.
- data.items[].id / data.items[].desc
- The ID identifies a post and desc contains its available description. These fields can label the rows in a category browser. They are not a category summary, a transcript, or proof that a particular phrase was used as a keyword filter in the request.
- data.items[].author / data.items[].createTime
- The author object can provide the handle, nickname, avatars and verification information. The creation-time field belongs to the post; it is not your query time. Keep the author’s handle distinct from a display name and preserve any missing fields instead of constructing an identity.
- data.items[].stats / data.items[].statsV2
- Available play, like, comment, share and collection counts describe each returned post. They do not define a ranked chart or an engagement rate. Keep both statistics objects separately if present; summing them or generating a score would be additional processing in your own application.
- data.items[].video
- The video object may contain a cover, playback or download address, duration and dimensions. Use the fields that actually exist when building a preview. Empty media fields do not justify inventing an image or rejecting a record that otherwise has useful data. Media addresses are not a promise of permanent file access.
- data.hasMore / data.nextCursor / data.pageSize
- Read these as continuation status, the returned continuation token and the fixed request size. None is a category total. The field relationship image is an illustration, not a screenshot or a response from this session; its explanations are available here as readable page text.

Keep the category and pagination conditions explicit
category_type must be one of the documented IDs. The only other query parameters are cursor and count; count is fixed at 20 and cursor starts at 0. The response pageSize is the request setting, while items.length is the actual number returned and can be smaller. Continue only when hasMore=true and a valid nextCursor differs from the cursor just used. Pass that value back with the same category. A missing, invalid or repeated cursor means stop, even when hasMore is true. Do not calculate a replacement from the number of records.
Turn returned fields into a category browser
Select from defined categories
Choose an ID using the shared list. Changing the selection does not submit a request; start a new category from its first page rather than reusing another category’s cursor.
Show the actual records
Render the post descriptions, available author details and covers. Retain null, empty and missing values as distinct from valid zero or false values.
Inspect a post separately
Use a returned video’s URL or ID to request its details. That lookup is independent of the category page and follows its own configured billing rule.
Frequently asked questions
No. It accepts a defined category ID plus pagination parameters. It has no free keyword, country, date range, interest or account filter. Select a category for browsing rather than treating the name Explore as evidence of broader search features.
No. Comedy (104) is the Tester’s initial selection. The API requires category_type explicitly. All (120) is also a defined choice, but it does not promise every TikTok video or complete coverage of all categories.
No. It is the order of the records returned for this category request. The endpoint does not supply a global popularity rank, a complete category inventory or a trend report. Your own comparisons should retain their query conditions and collection time.
Every nonempty successful request, including a next page, is billed independently at the current configured rate displayed in the Tester. Empty results and failures are free. Viewing the saved example or changing the category without submitting does not send a new request. This is synchronous GET, with no task polling.
Continue with a video or author
Video Details retrieves one post, User Profile returns public account information, and User Posts lists available posts by profile URL or username.