---
title: "Top Search"
method: GET
path: "/v1/scrape/tiktok/search/top"
tags: ["tiktok"]
---

# Top Search

`GET /v1/scrape/tiktok/search/top`

## Request

- Base URL: `https://api.sociavault.com`
- URL: `https://api.sociavault.com/v1/scrape/tiktok/search/top`
- Auth: API key in header `X-API-Key`

Access TikTok's 'Top' search results, which include both Photo Carousels and Videos. Unlike the Keyword Search endpoint, this returns mixed content types.

## Query parameters

- `query` string, required
- `publish_time` 'yesterday' | 'this-week' | 'this-month' | 'last-3-months' | 'last-6-months' | 'all-time'
- `sort_by` 'relevance' | 'most-liked' | 'date-posted'
- `region` string
- `cursor` integer

## Response `200`

Successful response

**Key Response Fields:**
- `images`: Slideshow images (you'll want all of the 'thumbnail' images

## Other responses

- `400`: Bad Request - Invalid parameters or missing required fields
- `401`: Unauthorized - Invalid or missing API key
- `402`: Payment Required - Insufficient credits
- `500`: Internal Server Error - Service configuration or processing error

---

[API](https://skmtc.dev/sociavault/apis/sociavault-api.md) · [All operations](https://skmtc.dev/sociavault/apis/sociavault-api/llms.txt) · [OpenAPI document](https://skmtc.dev/sociavault/apis/sociavault-api/revisions/0a430c97f53a?raw)
