getTrends

2 credits per call

Get trending topics on X for a specific location.

Try it

Open in playground
kirha tools run x_getTrends \
  --input '{}'

Uses the key saved by kirha auth login.

  • locationstring, default "worldwide"

    One of worldwide, united_states, united_kingdom, france, germany, japan, brazil, india, canada, australia

  • maxTrendsnumber, default 1, 1 to 5
  • woeidnumber

    Yahoo WOEID, overrides location if provided

Works in any harness

Get your API key, then install with one command

  • Claude Code
  • OpenCode
  • π
  • Windsurf
  • Gemini CLI
  • Codex
  • Cursor
  • GitHub Copilot