Api Endpoint

botsmith

X User Timeline ($0.01/call): Latest posts by an X (Twitter) account: up to 20 per call, newest first, as clean JSON with metrics, hashtags, links and mentions, plus a cursor for older posts. Replies excluded unless includeReplies=true. No X account or API key needed.

Open interactive test console

Offering

Provider
x402.botsmith.dev
Method
GET
Offering type
Api Endpoint
Transport type
http
Category
Other
Delivery
Not provided
Pricing model
Not provided
x402 version
2

Endpoint context

URL
https://x402.botsmith.dev/x/timeline
MIME type
application/json
First seen
2026-11-01T15:05:36.808Z
Last seen
Tags
x, Twitter, Social, timeline, posts

Payment pricing

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

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

Observed health

Status
Healthy
Latest latency
654 ms
Average latency
669 ms
HTTP status
402
Last checked
Reachability
100% over 2 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": {
        "handle": {
          "type": "string",
          "pattern": "^@?[A-Za-z0-9_]{1,15}$",
          "description": "X handle, with or without the leading @"
        },
        "includeReplies": {
          "default": "false",
          "description": "Include the account's replies as well as its own posts",
          "type": "string",
          "enum": [
            "true",
            "false"
          ]
        },
        "cursor": {
          "description": "Pagination cursor from a previous call",
          "type": "string",
          "pattern": "^[A-Za-z0-9+/=_|-]{1,1000}$"
        }
      },
      "required": [
        "handle",
        "includeReplies"
      ],
      "additionalProperties": false
    }
  },
  "required": [
    "type",
    "method"
  ],
  "additionalProperties": false
}

Output schema

{
  "type": "object",
  "properties": {
    "type": {
      "type": "string"
    },
    "example": {
      "type": "object",
      "properties": {
        "handle": {
          "type": "string"
        },
        "tweets": {
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "id": {
                "type": "string"
              },
              "url": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "text": {
                "type": "string"
              },
              "createdAt": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "description": "ISO 8601"
              },
              "lang": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "author": {
                "type": "object",
                "properties": {
                  "handle": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "name": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "id": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  }
                },
                "required": [
                  "handle",
                  "name",
                  "id"
                ],
                "additionalProperties": false
              },
              "metrics": {
                "type": "object",
                "properties": {
                  "likes": {
                    "anyOf": [
                      {
                        "type": "integer",
                        "minimum": -9007199254740991,
                        "maximum": 9007199254740991
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "retweets": {
                    "anyOf": [
                      {
                        "type": "integer",
                        "minimum": -9007199254740991,
                        "maximum": 9007199254740991
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "replies": {
                    "anyOf": [
                      {
                        "type": "integer",
                        "minimum": -9007199254740991,
                        "maximum": 9007199254740991
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "quotes": {
                    "anyOf": [
                      {
                        "type": "integer",
                        "minimum": -9007199254740991,
                        "maximum": 9007199254740991
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "views": {
                    "anyOf": [
                      {
                        "type": "integer",
                        "minimum": -9007199254740991,
                        "maximum": 9007199254740991
                      },
                      {
                        "type": "null"
                      }
                    ]
                  }
                },
                "required": [
                  "likes",
                  "retweets",
                  "replies",
                  "quotes",
                  "views"
                ],
                "additionalProperties": false
              },
              "hashtags": {
                "type": "array",
                "items": {
                  "type": "string"
                }
              },
              "links": {
                "type": "array",
                "items": {
                  "type": "string"
                },
                "description": "Expanded outbound URLs"
              },
              "mentions": {
                "type": "array",
                "items": {
                  "type": "string"
                },
                "description": "Mentioned handles"
              }
            },
            "required": [
              "id",
              "url",
              "text",
              "createdAt",
              "lang",
              "author",
              "metrics",
              "hashtags",
              "links",
              "mentions"
            ],
            "additionalProperties": false
          },
          "description": "Up to 20 posts, newest first"
        },
        "hasNextPage": {
          "type": "boolean"
        },
        "nextCursor": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ]
        }
      },
      "required": [
        "handle",
        "tweets",
        "hasNextPage",
        "nextCursor"
      ],
      "additionalProperties": false
    }
  },
  "required": [
    "type"
  ]
}