Api Endpoint

kevinhoff.com

X Preflight: read a draft post against X's open-sourced ranking code. Returns what is already settled before you post, whether it enters the pool strangers are drawn from, how long it stays retrievable, which filters delete it, and which gates nobody can know in advance. Every claim cites a file and line in X's published source. Never writes the post. Nothing stored.

Open interactive test console

Offering

Provider
kevinhoff.com
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://kevinhoff.com/api/paid/grade
MIME type
application/json
First seen
2026-10-16T02:36:03.880Z
Last seen
Tags
x, Ranking, posts, preflight, writing

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": "0x3A7292b88471691946D8D8856925e22246bed743"
  }
]

Observed health

Status
Healthy
Latest latency
364 ms
Average latency
752 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"
      ]
    },
    "bodyType": {
      "type": "string",
      "enum": [
        "json",
        "form-data",
        "text"
      ]
    },
    "body": {
      "properties": {
        "text": {
          "type": "string",
          "description": "The draft post. Never rewritten, never stored."
        },
        "brief": {
          "type": "boolean",
          "description": "OPTIONAL, defaults to false. True returns the classification only and drops the prose, which is 78% of the generation. Answers in seconds instead of tens of seconds, same model and same price. Use it if your client has a short timeout."
        },
        "post_kind": {
          "type": "string",
          "enum": [
            "original",
            "reply",
            "quote",
            "repost"
          ],
          "description": "OPTIONAL, defaults to original. A reply's parent is not in the text, so no tool can read this off the draft. Declare it only if it is not an original."
        },
        "followers_under_1000": {
          "type": "boolean",
          "description": "OPTIONAL, defaults to false. Whether the author is under the small-account cap that the one per-batch lift applies to."
        },
        "all_video_over_10s": {
          "type": "boolean",
          "description": "OPTIONAL, defaults to false. Whether EVERY attachment is video running longer than ten seconds. One photo or one short clip makes this false."
        },
        "reader_follows_back": {
          "type": "boolean",
          "description": "OPTIONAL, defaults to false. Whether the reader follows the author back. Decides in-network versus out-of-network, which changes the reply chain."
        }
      },
      "required": [
        "text"
      ]
    }
  },
  "required": [
    "type",
    "method",
    "bodyType",
    "body"
  ],
  "additionalProperties": false
}

Output schema

{
  "type": "object",
  "properties": {
    "type": {
      "type": "string"
    },
    "example": {
      "type": "object",
      "properties": {
        "gates": {
          "type": "array",
          "description": "The eight gates in the order X runs them, each with a state and the source line it is read from.",
          "items": {
            "type": "object",
            "properties": {
              "n": {
                "type": "number"
              },
              "name": {
                "type": "string"
              },
              "state": {
                "type": "string",
                "enum": [
                  "go",
                  "stop",
                  "open",
                  "call"
                ]
              },
              "head": {
                "type": "string"
              },
              "src": {
                "type": "string"
              }
            },
            "required": [
              "n",
              "state",
              "src"
            ]
          }
        },
        "structural": {
          "type": "array",
          "description": "Consequences that need no model: branches in X's published source.",
          "items": {
            "type": "object",
            "properties": {
              "fact": {
                "type": "string"
              },
              "detail": {
                "type": "string"
              },
              "src": {
                "type": "string"
              }
            },
            "required": [
              "fact",
              "src"
            ]
          }
        },
        "model": {
          "type": "object",
          "description": "The paid half: the read of the draft itself."
        }
      },
      "required": [
        "gates",
        "structural",
        "model"
      ]
    }
  },
  "required": [
    "type"
  ]
}