Api Endpoint

Afterbook

Sized trade estimate (buy or sell direction) for one of Afterbook's tracked stock pools plus swapUrl, the stock's page on afterbook.app where a person signs the trade in their own wallet through the checked swap. Not raw calldata.

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/execute-link
MIME type
application/json
First seen
2026-11-25T19:24:10.917Z
Last seen
Tags
tokenized-stocks, Base, coinbase, Trading, Links

Payment pricing

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

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

Observed health

Status
Healthy
Latest latency
143 ms
Average latency
143 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": {
        "symbol": {
          "type": "string",
          "description": "A tracked Coinbase tokenized stock, e.g. NVDAc, AAPLc"
        },
        "usdcIn": {
          "type": "number",
          "exclusiveMinimum": 0,
          "maximum": 10000000
        },
        "direction": {
          "type": "string",
          "enum": [
            "buy",
            "sell"
          ]
        }
      },
      "required": [
        "symbol",
        "usdcIn"
      ]
    }
  },
  "required": [
    "type",
    "method"
  ],
  "additionalProperties": false
}

Output schema

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