Skip to content

Twitter Get Trends API

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

Endpoint

GET https://api.recoupable.com/api/x/trends

Parameters

This endpoint does not require any parameters.

Request Examples

cURL
curl -X GET "https://api.recoupable.com/api/x/trends" \
  -H "Content-Type: application/json"

Example Response

{
  "status": "success",
  "trends": [
    "Tierra del Fuego",
    "Sofia Carson",
    "Macri",
    "$MAS",
    "Twenty One Capital",
    "$COCORO",
    "Terrorista",
    "Plan Platita",
    "#ArtTank",
    "Marilu",
    "Industria",
    "WonderFi",
    "Martes 13",
    "$BERT",
    "CORES",
    "Pepe Mujica",
    "$SKI",
    "Internet Capital Markets",
    "Sampdoria",
    "Latinoamérica"
  ]
}

Response Properties

PropertyTypeDescription
statusstringStatus of the request ("success" or "error")
trendsstring[]List of current trending topics on Twitter

Workflow Guide

This endpoint is typically used as part of a workflow to:

  1. Retrieve the current trending topics on Twitter
  2. Display the list of trends to users or use them as search queries

Notes