Skip to content
onelayer.
All tools

Tool detail

glim.sh

Returns a Twitter/X user's recent tweets, about 20 per page, for a given user reference, with optional pagination and reply inclusion.

Categories: Social media

Use when

  • pull a specific X user's recent tweets
  • page through an X account's timeline programmatically

Not for

  • not keyword search across X (see twitter/search)
  • not a single tweet lookup by ID

Inputs

POST JSON body, both optional: cursor (string, pagination), include_replies (boolean, default false); {ref} is a path parameter.

Admitted input schema

{
  "type": "object",
  "properties": {
    "cursor": {
      "type": "string",
      "minLength": 0,
      "maxLength": 4096,
      "description": "Pagination cursor"
    },
    "include_replies": {
      "type": "boolean",
      "description": "Include replies in the timeline",
      "default": false
    }
  },
  "required": [],
  "additionalProperties": false
}

Endpoint

Method
POST
URL
https://glim.sh/api/v1/twitter/users/{ref}/tweets

Payment

Protocol
x402
Listed price
4000 raw units on Solana; docs show the same route priced $0.004 on Base (decimals not stated for Solana)
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/users/:ref/tweets
Retrieved
2026-09-30T20:37:07.382Z
Catalog file SHA-256
6837ccddf886f0007cf3727ea9d27faaa5047b51b4f425345c554ce1c271a524
Catalog built
2026-09-30T22:31:58.034Z