---
title: "TikTok API: Trending Hashtags | Perceptlayer"
description: "Trending Hashtags from TikTok as JSON. 1 credit per successful call."
url: https://perceptlayer.com/apis/tiktok/trending-hashtags
---

[APIs](https://perceptlayer.com/apis) / [TikTok](https://perceptlayer.com/apis/tiktok) / Trending Hashtags

# TikTok: Trending Hashtags

Trending Hashtags from TikTok as JSON. 1 credit per successful call.

GET `/v1/tiktok/trending-hashtags` Needs terms

Note 

This endpoint needs the [restricted-endpoint terms](https://perceptlayer.com/legal/restricted-endpoints), which you can accept in your dashboard.

## Parameters

Send parameters in the query string.

| Parameter | Type | Required | Allowed values |
| --- | --- | --- | --- |
| `country_code` | string | Required | Up to 2 characters |
| `time_range` | integer | Optional | 7, 30 |

## Example request

cURL shell 

```
curl "https://api.perceptlayer.com/v1/tiktok/trending-hashtags?country_code=US&time_range=7" \
  -H "X-API-Key: $API_KEY"
```

[Run this endpoint in the playground](https://perceptlayer.com/apis/tiktok?try=trending-hashtags#playground) with your own parameters. 1 credit per successful call; failed calls are free.
