> ## Documentation Index
> Fetch the complete documentation index at: https://myco-29fc6df6-sweetmantech-myc-3925-docs-document-the-apiar.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Get Trends

> Retrieve the current trending topics from Twitter using the getTrends method from agent-twitter-client (no Twitter API key required).



## OpenAPI

````yaml GET /api/x/trends
openapi: 3.1.0
info:
  title: Recoup API
  description: >-
    API documentation for the Recoup platform - an AI agent platform for the
    music industry
  license:
    name: MIT
  version: 1.0.0
servers:
  - url: https://recoup-api.vercel.app
security:
  - apiKeyAuth: []
paths:
  /api/x/trends:
    get:
      description: >-
        Retrieve the current trending topics from Twitter using the getTrends
        method from agent-twitter-client (no Twitter API key required).
      responses:
        '200':
          description: Trends retrieved successfully
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TwitterTrendsResponse'
        '400':
          description: Bad request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TwitterErrorResponse'
      servers:
        - url: https://api.recoupable.com
components:
  schemas:
    TwitterTrendsResponse:
      type: object
      properties:
        status:
          type: string
          enum:
            - success
            - error
          description: Status of the request
        trends:
          type: array
          items:
            type: string
          description: List of current trending topics on Twitter
    TwitterErrorResponse:
      type: object
      properties:
        status:
          type: string
          enum:
            - error
          description: Status of the request
        message:
          type: string
          description: Error message
  securitySchemes:
    apiKeyAuth:
      type: apiKey
      in: header
      name: x-api-key
      description: Your Recoup API key. [Learn more](/quickstart#api-keys).

````