Api Endpoint

API Direct

Get the comments on a Reddit post, replies included, by URL or post ID.

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/reddit/post/comments
MIME type
application/json
First seen
2026-10-25T21:59:15.355Z
Last seen
Tags
Reddit

Payment pricing

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

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

Observed health

Status
Healthy
Latest latency
185 ms
Average latency
148 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",
        "HEAD",
        "DELETE"
      ]
    },
    "queryParams": {
      "type": "object",
      "properties": {
        "url": {
          "type": "string",
          "maxLength": 500,
          "description": "Reddit post URL, e.g. https://www.reddit.com/r/Python/comments/1wwv97o/my_python_magic_is_gone/ or https://redd.it/1wwv97o (max 500 characters). Provide exactly one of url or post_id."
        },
        "post_id": {
          "type": "string",
          "description": "Reddit post ID, e.g. 1wwv97o (a t3_ prefix is accepted). Provide exactly one of url or post_id."
        },
        "sort_by": {
          "type": "string",
          "enum": [
            "top",
            "best",
            "most_recent",
            "controversial",
            "oldest",
            "qa"
          ],
          "default": "top",
          "description": "Sort order: top, best (Reddit's default order), most_recent, controversial, oldest, or qa (Q&A) (default: top)"
        },
        "pages": {
          "type": "integer",
          "minimum": 1,
          "maximum": 80,
          "default": 1,
          "description": "Number of pages to fetch, 1-80 (default: 1). Each page returns up to 50 comments."
        },
        "get_sentiment": {
          "type": "boolean",
          "default": false,
          "description": "Set to true to add AI emotion analysis to each comment (returned in the `comments` array). 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` (posi"
        }
      },
      "required": []
    }
  },
  "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": {
            "url": {
              "type": "string",
              "maxLength": 500,
              "description": "Reddit post URL, e.g. https://www.reddit.com/r/Python/comments/1wwv97o/my_python_magic_is_gone/ or https://redd.it/1wwv97o (max 500 characters). Provide exactly one of url or post_id."
            },
            "post_id": {
              "type": "string",
              "description": "Reddit post ID, e.g. 1wwv97o (a t3_ prefix is accepted). Provide exactly one of url or post_id."
            },
            "sort_by": {
              "type": "string",
              "enum": [
                "top",
                "best",
                "most_recent",
                "controversial",
                "oldest",
                "qa"
              ],
              "default": "top",
              "description": "Sort order: top, best (Reddit's default order), most_recent, controversial, oldest, or qa (Q&A) (default: top)"
            },
            "pages": {
              "type": "integer",
              "minimum": 1,
              "maximum": 80,
              "default": 1,
              "description": "Number of pages to fetch, 1-80 (default: 1). Each page returns up to 50 comments."
            },
            "get_sentiment": {
              "type": "boolean",
              "default": false,
              "description": "Set to true to add AI emotion analysis to each comment (returned in the `comments` array). 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` (posi"
            }
          },
          "required": []
        }
      },
      "required": [
        "type",
        "method"
      ],
      "additionalProperties": false
    }
  },
  "required": [
    "input"
  ]
}