Api Endpoint

Afterbook

A 2-4 stock basket of Coinbase tokenized stocks on Base from a theme or sectors: the code picks the deepest steady pools that pass the checks and sizes them within your budget and cost limit, with every dropped stock and why, a plain-English explanation and buyUrl, a link where a person opens this basket and signs its buy 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/basket
MIME type
application/json
First seen
2026-11-25T19:24:10.917Z
Last seen
Tags
tokenized-stocks, Base, coinbase, Trading, Agents, basket

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
150 ms
Average latency
150 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": {
        "theme": {
          "type": "string",
          "enum": [
            "Any",
            "AI chips",
            "Memory & storage",
            "Software & cloud",
            "Internet & media",
            "Consumer tech",
            "EVs & autonomy",
            "Health care",
            "China",
            "Outside the US",
            "Bitcoin",
            "Space"
          ],
          "description": "One of Afterbook’s fixed themes (default Any)"
        },
        "exclude": {
          "type": "string",
          "description": "Comma-separated GICS sectors to leave out, from: Information Technology, Communication Services, Consumer Discretionary, Consumer Staples, Health Care, Financials, Industrials, Materials, Energy, Utilities, Real Estate"
        },
        "minStocks": {
          "type": "integer",
          "minimum": 2,
          "maximum": 4,
          "description": "Spread over at least this many stocks (default 3)"
        },
        "budgetUsd": {
          "type": "number",
          "minimum": 10,
          "maximum": 25000,
          "description": "USDC for the basket (one basket buy)"
        },
        "cashPct": {
          "type": "number",
          "minimum": 0,
          "maximum": 50,
          "description": "Percent of the budget to keep as cash (default 0)"
        },
        "maxPremiumBp": {
          "type": "number",
          "minimum": 0,
          "maximum": 500,
          "description": "Most the token may trade above the real stock, in bp (default 50)"
        },
        "maxCostBp": {
          "type": "number",
          "minimum": 1,
          "maximum": 200,
          "description": "Most a fill may cost, price impact plus pool fee, in bp (default 30)"
        },
        "earningsDays": {
          "type": "integer",
          "minimum": 0,
          "maximum": 14,
          "description": "Wait if the company reports within this many days (default 2; 0 ignores earnings)"
        }
      },
      "required": [
        "budgetUsd"
      ]
    }
  },
  "required": [
    "type",
    "method"
  ],
  "additionalProperties": false
}

Output schema

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