Skip to content
onelayer.
All tools

Tool detail

glim.sh

Returns trending topics from X (Twitter) for a given WOEID location, worldwide by default.

Categories: Social media

Use when

  • get trending topics on X right now
  • check Twitter trends for a specific location by WOEID
  • see the top trending topics worldwide

Not for

  • not historical trend data, current trends only
  • not tweet search, use twitter/search for that

Inputs

POST JSON body: count (integer, optional, default 30); woeid (integer, optional, default 1, worldwide)

Admitted input schema

{
  "type": "object",
  "properties": {
    "count": {
      "type": "integer",
      "minimum": 1,
      "maximum": 9007199254740991,
      "description": "Maximum trends to return",
      "default": 30
    },
    "woeid": {
      "type": "integer",
      "minimum": -9007199254740991,
      "maximum": 9007199254740991,
      "description": "Yahoo Where On Earth ID. Defaults to 1 for worldwide trends.",
      "default": 1
    }
  },
  "required": [],
  "additionalProperties": false
}

Endpoint

Method
POST
URL
https://glim.sh/api/v1/twitter/trends

Payment

Protocol
x402
Listed price
1000 raw units per call on Solana (asset decimals not stated)
Payment method
exact
Network
solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp
Asset
EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v

Listed terms are catalog metadata. The caller supplies inputs and calls the tool outside Onelayer. If payment is required, the caller uses a compatible wallet to pay.

Source

Record
POST https://glim.sh/api/v1/twitter/trends
Retrieved
2026-09-30T20:37:07.382Z
Catalog file SHA-256
6837ccddf886f0007cf3727ea9d27faaa5047b51b4f425345c554ce1c271a524
Catalog built
2026-09-30T22:31:58.034Z