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

# Get trends

> Get current trending topics.

Common WOEIDs: `1` (Worldwide), `23424977` (USA), `23424975` (UK), `718345` (Italy)




## OpenAPI

````yaml /openapi-spec/xshot.yaml get /twitter/trends
openapi: 3.0.3
info:
  title: Xshot REST API
  version: 1.0.0
  description: >
    Twitter/X data API. Access user profiles, tweets, communities, lists,
    spaces, and trends.


    All endpoints require authentication via `api_key` query parameter,
    `x-api-key` header, or `Authorization: Bearer` header.
  contact:
    name: Xshot
    url: https://api.xshot.fun
servers:
  - url: https://api.xshot.fun
    description: Production
security:
  - ApiKeyQuery: []
  - ApiKeyHeader: []
  - BearerAuth: []
paths:
  /twitter/trends:
    get:
      tags:
        - Trends
      summary: Get trends
      description: >
        Get current trending topics.


        Common WOEIDs: `1` (Worldwide), `23424977` (USA), `23424975` (UK),
        `718345` (Italy)
      operationId: getTrends
      parameters:
        - name: woeid
          in: query
          required: false
          schema:
            type: string
            default: '1'
          description: Where On Earth ID (default worldwide)
      responses:
        '200':
          description: Trending topics
          content:
            application/json:
              schema:
                type: array
                items:
                  type: object
                  properties:
                    trends:
                      type: array
                      items:
                        type: object
                        properties:
                          name:
                            type: string
                          url:
                            type: string
                          tweet_volume:
                            type: integer
                            nullable: true
                          query:
                            type: string
                    as_of:
                      type: string
                    locations:
                      type: array
                      items:
                        type: object
                        properties:
                          name:
                            type: string
                          woeid:
                            type: integer
components:
  securitySchemes:
    ApiKeyQuery:
      type: apiKey
      in: query
      name: api_key
    ApiKeyHeader:
      type: apiKey
      in: header
      name: x-api-key
    BearerAuth:
      type: http
      scheme: bearer

````