Api Endpoint

twit.sh — Plug AI agents into X

Get the latest tweets that mention the authenticated user (the notifications timeline). Returns up to 20 tweets per page, most recent first, with pagination support. Query params: auth_token (string, required) - Twitter auth_token cookie; ct0 (string, required) - Twitter ct0 cookie; type (string, optional) - notifications timeline to read: All (default), Priority, or Mentions; next_token (string, optional) - pagination cursor. Returns X v2 API-compatible JSON.

Open interactive test console

Offering

Provider
x402.twit.sh
Method
GET
Offering type
Api Endpoint
Transport type
http
Category
Social Intelligence
Delivery
Not provided
Pricing model
Not provided
x402 version
2

Endpoint context

URL
https://x402.twit.sh/tweets/mentions
MIME type
application/json
First seen
2026-10-16T01:51:10.599Z
Last seen
Tags
Search, Trading, Utility

Payment pricing

x402 payment terms are the authoritative price for calling this endpoint.

Payment option 1
0.006 USDC
Atomic price: 6000 · Network: eip155:8453 · Asset: USDC · Scheme: exact
Raw x402 terms
[
  {
    "scheme": "exact",
    "network": "eip155:8453",
    "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
    "amount": "6000",
    "payTo": "0x9dBA414637c611a16BEa6f0796BFcbcBdc410df8"
  }
]

Observed health

Status
Healthy
Latest latency
109 ms
Average latency
263 ms
HTTP status
402
Last checked
Reachability
100% over 14 checks

Latency is measured to the first response headers. A reachable result does not verify response accuracy or merchant identity.

Input schema

{
  "type": "object",
  "properties": {
    "type": {
      "type": "string",
      "const": "http"
    },
    "method": {
      "type": "string",
      "enum": [
        "GET"
      ]
    },
    "queryParams": {
      "type": "object",
      "properties": {
        "auth_token": {
          "type": "string",
          "description": "Twitter auth_token cookie value"
        },
        "ct0": {
          "type": "string",
          "description": "Twitter ct0 cookie value"
        },
        "type": {
          "type": "string",
          "enum": [
            "All",
            "Priority",
            "Mentions"
          ],
          "description": "Notifications timeline to read (default All)"
        },
        "next_token": {
          "type": "string",
          "description": "Pagination cursor from previous response"
        }
      },
      "required": [
        "auth_token",
        "ct0"
      ]
    }
  },
  "required": [
    "type",
    "method"
  ],
  "additionalProperties": false
}

Output schema

{
  "type": "object",
  "properties": {
    "type": {
      "type": "string"
    },
    "example": {
      "type": "object"
    }
  },
  "required": [
    "type"
  ]
}