Api Endpoint

Afterbook

Checked trade plan for Coinbase tokenized stocks on Base: for each stock a buy, wait or skip verdict with reasons (gap to the real stock, stale pool, earnings, depth) and a size within your cost limit, $25k and 10% of the pool, plus a plain-English explanation and planUrl, a link where a person opens this plan and signs its buys on afterbook.app after the checks run again. Read-only.

Open interactive test console

Offering

Provider
afterbook.app
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://afterbook.app/api/v1/x402/plan
MIME type
application/json
First seen
2026-11-25T19:24:10.917Z
Last seen
Tags
tokenized-stocks, Base, coinbase, Trading, Agents, plan

Payment pricing

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

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

Observed health

Status
Healthy
Latest latency
116 ms
Average latency
116 ms
HTTP status
402
Last checked
Reachability
100% over 1 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": {
        "symbols": {
          "type": "string",
          "description": "Comma-separated tracked stocks; none = the deepest pools"
        },
        "budgetUsd": {
          "type": "number",
          "description": "USDC to plan for"
        },
        "maxPremiumBp": {
          "type": "number",
          "description": "Most the token may trade above the real stock, in bp (default 50)"
        },
        "maxCostBp": {
          "type": "number",
          "description": "Most a fill may cost, price impact plus pool fee, in bp (default 30)"
        },
        "earningsDays": {
          "type": "integer",
          "description": "Wait if earnings are within this many days: 0, 2 or 7 (default 2)"
        }
      },
      "required": [
        "budgetUsd"
      ]
    }
  },
  "required": [
    "type",
    "method"
  ],
  "additionalProperties": false
}

Output schema

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