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

# Search Hashtags

> Search TikTok hashtags by keyword.

<Note>
  Each request costs **5 credits**. Failed requests are not charged.
</Note>


## OpenAPI

````yaml GET /v1/tiktok/search/hashtags
openapi: 3.1.0
info:
  title: ScrapeBadger TikTok API
  version: 1.0.0
  description: >-
    TikTok scraping API for user profiles, videos, comments, transcripts,
    hashtags, music/sounds, search, trending, and the EU Commercial Content (ad
    transparency) library. Returns clean structured JSON; handles signing,
    anti-bot bypass, and regional proxy routing automatically.
servers:
  - url: https://scrapebadger.com
    description: Production
security:
  - apiKeyAuth: []
paths:
  /v1/tiktok/search/hashtags:
    get:
      tags:
        - TikTok Search
      summary: Search Hashtags
      description: Search TikTok hashtags by keyword.
      operationId: searchTikTokHashtags
      parameters:
        - name: query
          in: query
          required: true
          schema:
            type: string
          description: Search keyword.
        - name: region
          in: query
          schema:
            type: string
            default: US
          description: >-
            Content region (ISO 3166-1 alpha-2). Routes the request through a
            proxy and signer for that locale.
        - name: count
          in: query
          schema:
            type: integer
            default: 20
            minimum: 1
            maximum: 50
          description: Maximum number of items to return (1-50).
        - name: cursor
          in: query
          required: false
          schema:
            type: string
          description: >-
            Pagination cursor — pass the `pagination.cursor` value from a prior
            response to fetch the next page. Omit for the first page. It is an
            opaque composite token.
      responses:
        '200':
          description: Hashtag search results
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HashtagSearchResponse'
              example:
                hashtags:
                  - id: '229207'
                    title: fyp
                    description: Videos on the For You feed.
                    cover: https://p16-sign.tiktokcdn-us.com/hashtag.jpeg
                    video_count: 12000000
                    view_count: 55000000000000
                    is_commerce: false
                    url: https://www.tiktok.com/tag/fyp
                pagination:
                  has_more: true
                  cursor: '30'
                  count: 30
                  search_id: null
                region: US
components:
  schemas:
    HashtagSearchResponse:
      type: object
      properties:
        hashtags:
          type: array
          items:
            $ref: '#/components/schemas/TikTokHashtag'
        pagination:
          $ref: '#/components/schemas/TikTokCursorPage'
        region:
          type: string
      required:
        - region
    TikTokHashtag:
      type: object
      properties:
        id:
          type: string
        title:
          type: string
          description: Name without '#'.
        description:
          type: string
        cover:
          type: string
        profile_larger:
          type: string
        video_count:
          type: integer
        view_count:
          type: integer
        is_commerce:
          type: boolean
        url:
          type: string
      description: A hashtag/challenge detail.
    TikTokCursorPage:
      type: object
      properties:
        has_more:
          type: boolean
          description: True when more pages are available.
        cursor:
          type: string
          description: Opaque cursor; pass back as ?cursor= for the next page.
        count:
          type: integer
          description: Number of items in this page.
        search_id:
          type: string
          description: Search endpoints chain rid → search_id across pages.
      description: Cursor pagination metadata shared by all list endpoints.
  securitySchemes:
    apiKeyAuth:
      type: apiKey
      in: header
      name: x-api-key

````