Skip to main content
GET
Search TikTok Top results
Request example pending verification. The request example for this endpoint has not yet been verified in production. Static examples describe the request format; replace sample values with your own. Check the estimated price with a free quote request (X-AISA-Cost-Mode: quote) before running it.

Request contract

  • Method and path: GET /apis/v1/tiktok/search/top
  • Availability: enabled
  • Request URL template: https://api.aisa.one/apis/v1/tiktok/search/top
  • cursor: query; optional
  • datePosted: query; optional
  • query: query; required
  • region: query; optional
  • sortBy: query; optional
Complete OpenAPI definition Effective request declaration (including authentication and referenced schemas):

Observed response structure

The response observations below come from successful probes or sampled requests. They are partial: fields and types may vary, and no field is guaranteed to be present. Reviewed response definitions take precedence. No real response values are published.
  • HTTP status / last observed: 200 / 2026-11-28

Cost and request rules

Usage-based pricing. Default request estimate: $0.014 USD. The final charge depends on actual usage. Your account price may differ; use a request quote where supported.

Request constraints and usage notes

  • Some numeric ids inside `details` are larger than 2^53 (9007199254740992) and may not be exact: digits beyond that precision can differ from the real id. When you need an exact id, use the top-level string ids (such as `id`) or the matching `*_str` string fields (for example `details.music.id_str`).

Pagination

  • Pass aisa_pagination.next_cursor as cursor (query parameter) to fetch the next page; stop when aisa_pagination.has_more is false.
  • The same values are returned in the X-AISA-Has-More and X-AISA-Next-Cursor response headers.

Response time

  • Typically returns within 10 seconds.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Query Parameters

cursor
string

Opaque pagination cursor returned by a previous response.

Required string length: 1 - 16384
datePosted
enum<string>

Optional upload date filter for video results.

Available options:
all-time,
last-3-months,
last-6-months,
this-month,
this-week,
yesterday
Required string length: 1 - 4096
query
string
required

Search query text for TikTok Top results.

Required string length: 1 - 4096
region
string

Optional two-letter ISO 3166-1 country code for localized search results.

Required string length: 1 - 4096
sortBy
enum<string>

Optional sort order for search results.

Available options:
date-posted,
most-liked,
relevance
Required string length: 1 - 4096

Response

Top search results for the requested query.

Standard success response envelope.

data
object
required

Endpoint-specific response payload.

meta
object
required

Metadata describing the request and billing outcome.

aisa_pagination
object

AIsa pagination. Pass next_cursor as cursor to fetch the next page; has_more is false on the last page.