Api Endpoint

API Direct

Get tweets posted by a specific Twitter/X user.

Open interactive test console

Offering

Provider
x402.apidirect.io
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.apidirect.io/v1/twitter/user/tweets
MIME type
application/json
First seen
2026-10-25T22:38:25.329Z
Last seen
Tags
Twitter

Payment pricing

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

Payment option 1
0.007 USDC
Atomic price: 7000 · Network: eip155:8453 · Asset: USDC · Scheme: exact
Payment option 2
0.007 USDC
Atomic price: 7000 · Network: eip155:8453 · Asset: USDC · Scheme: upto
Raw x402 terms
[
  {
    "scheme": "exact",
    "network": "eip155:8453",
    "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
    "amount": "7000",
    "payTo": "0x5d07Cc2a0FB4Eb123A525CA0b51cf6fB485014fc"
  },
  {
    "scheme": "upto",
    "network": "eip155:8453",
    "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
    "amount": "7000",
    "payTo": "0x5d07Cc2a0FB4Eb123A525CA0b51cf6fB485014fc"
  }
]

Observed health

Status
Healthy
Latest latency
57 ms
Average latency
210 ms
HTTP status
402
Last checked
Reachability
100% over 13 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",
        "HEAD",
        "DELETE"
      ]
    },
    "queryParams": {
      "type": "object",
      "properties": {
        "username": {
          "type": "string",
          "maxLength": 50,
          "description": "Twitter username without the @ symbol (max 50 characters). A leading @ is accepted and stripped."
        },
        "pages": {
          "type": "integer",
          "minimum": 1,
          "maximum": 20,
          "default": 1,
          "description": "Number of pages to fetch and merge into one response (1-20, billed per page). Fetching stops early when there are no more results."
        },
        "get_sentiment": {
          "type": "boolean",
          "default": false,
          "description": "Set to true to add AI emotion analysis to each tweet. Adds a `sentiment` object containing `emotions` (joy, trust, fear, surprise, sadness, disgust, anger and anticipation, each scored 0-100), `dominant_emotion`, `emotional_intensity` (0-10), and `polarity` (positive, negative or neutral). Any tweet"
        }
      },
      "required": [
        "username"
      ]
    }
  },
  "required": [
    "type",
    "method"
  ],
  "additionalProperties": false
}

Output schema

{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "type": "object",
  "properties": {
    "input": {
      "type": "object",
      "properties": {
        "type": {
          "type": "string",
          "const": "http"
        },
        "method": {
          "type": "string",
          "enum": [
            "GET",
            "HEAD",
            "DELETE"
          ]
        },
        "queryParams": {
          "type": "object",
          "properties": {
            "username": {
              "type": "string",
              "maxLength": 50,
              "description": "Twitter username without the @ symbol (max 50 characters). A leading @ is accepted and stripped."
            },
            "pages": {
              "type": "integer",
              "minimum": 1,
              "maximum": 20,
              "default": 1,
              "description": "Number of pages to fetch and merge into one response (1-20, billed per page). Fetching stops early when there are no more results."
            },
            "get_sentiment": {
              "type": "boolean",
              "default": false,
              "description": "Set to true to add AI emotion analysis to each tweet. Adds a `sentiment` object containing `emotions` (joy, trust, fear, surprise, sadness, disgust, anger and anticipation, each scored 0-100), `dominant_emotion`, `emotional_intensity` (0-10), and `polarity` (positive, negative or neutral). Any tweet"
            }
          },
          "required": [
            "username"
          ]
        }
      },
      "required": [
        "type",
        "method"
      ],
      "additionalProperties": false
    }
  },
  "required": [
    "input"
  ]
}