Skip to content
onelayer.
All tools

Tool detail

glim.sh

Searches X/Twitter for tweets matching a query and returns raw X-API-shaped results sorted by latest or top.

Categories: Social media, Web search

Use when

  • find recent tweets matching a search query
  • monitor X/Twitter for mentions of a keyword or hashtag

Not for

  • not general web search — Twitter/X only

Inputs

POST JSON body: { q: string } (required); optional cursor, limit (1-200, default 20), sort (Latest|Top, default Top)

Admitted input schema

{
  "type": "object",
  "properties": {
    "cursor": {
      "type": "string",
      "minLength": 0,
      "maxLength": 4096,
      "description": "Pagination cursor. Ranking is strongest on page 1 - paged results under sort=Top trend toward recency (upstream behavior)."
    },
    "limit": {
      "type": "integer",
      "minimum": 1,
      "maximum": 200,
      "description": "Maximum tweets to return",
      "default": 20
    },
    "q": {
      "type": "string",
      "minLength": 1,
      "maxLength": 4096,
      "description": "Twitter search query with operators"
    },
    "sort": {
      "type": "string",
      "minLength": 0,
      "maxLength": 4096,
      "enum": [
        "Latest",
        "Top"
      ],
      "description": "Sort order",
      "default": "Top"
    }
  },
  "required": [
    "q"
  ],
  "additionalProperties": false
}

Endpoint

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

Payment

Protocol
x402
Listed price
0.005 USDC per call on Solana (confirmed on docs page)
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/tweets/search
Retrieved
2026-09-30T20:37:07.382Z
Catalog file SHA-256
6837ccddf886f0007cf3727ea9d27faaa5047b51b4f425345c554ce1c271a524
Catalog built
2026-09-30T22:31:58.034Z