Skip to content
onelayer.
All tools

Tool detail

user

Returns a user's recent tweets, up to 20 per page, by X/Twitter username, newest first, with pagination.

Categories: Social media

Use when

  • get the latest tweets from a specific X/Twitter account
  • page through a user's tweet timeline

Not for

  • looking up a user by numeric user ID — this takes a username
  • searching tweets by keyword — use a tweet-search endpoint instead

Inputs

GET query params: username (string, required, screen name without @); next_token (string, optional pagination cursor)

Admitted input schema

{
  "type": "object",
  "properties": {
    "next_token": {
      "type": "string",
      "minLength": 0,
      "maxLength": 4096,
      "description": "Pagination cursor from previous response"
    },
    "username": {
      "type": "string",
      "minLength": 0,
      "maxLength": 4096,
      "description": "Twitter screen name (without @)"
    }
  },
  "required": [
    "username"
  ],
  "additionalProperties": false
}

Endpoint

Method
GET
URL
https://x402.twit.sh/tweets/user

Payment

Protocol
x402
Listed price
0.01 USDC per call on Base
Payment method
exact
Network
eip155:8453
Asset
0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913

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
GET https://x402.twit.sh/tweets/user
Retrieved
2026-09-30T20:37:07.382Z
Catalog file SHA-256
6837ccddf886f0007cf3727ea9d27faaa5047b51b4f425345c554ce1c271a524
Catalog built
2026-09-30T22:31:58.034Z