X4
Security · x402 · early usage

Use to see where prediction-market money is flowing: the most recently traded Polymarke…

Use to see where prediction-market money is flowing: the most recently traded Polymarket outcome tokens with implied probability (last on-chain price), today's VWAP and USD volume, and indexed totals — decoded by our own indexer from CTF Exchange V2 events on…

by x402stock.xyz · discovered, not yet claimed by its owner · updated 2026-10-09

30d calls3
30d payers2
MethodGET
Outputjson

Mirrored from Coinbase's public x402 Bazaar. The description is the provider's own text and has not been reviewed here; the payment requirements are copied as published.

What it does

Use to see where prediction-market money is flowing: the most recently traded Polymarket outcome tokens with implied probability (last on-chain price), today's VWAP and USD volume, and indexed totals — decoded by our own indexer from CTF Exchange V2 events on the public Polygon ledger, not from any Polymarket API. `?limit=` up to 100. From x402stock, a market & economic data API (x402, USDC).

Tags: bazaar

Call contract

Method
GET
Input
query parameters
Output
json
Last paid call
2026-10-09
Input example from Bazaar metadata
{}
Output example
{
  "as_of": "2026-06-08T13:02:11.000Z",
  "count": 1,
  "indexer": {
    "cursor_neg_risk": 61234401,
    "cursor_standard": 61234567,
    "tokens_tracked": 412
  },
  "markets": [
    {
      "condition_id": "0xdd22472e552920b8438158ea7238bfadfa4f736aa4cee91a6b86c39ead110917",
      "implied_probability": 0.945,
      "last_block": 61234560,
      "last_side": "buy",
      "matches_indexed": 88123,
      "matches_today": 9123,
      "neg_risk": false,
      "title": "Will Donald Trump win the 2024 US Presidential Election?",
      "token_id": "21742633143463906290569050155826241533067272736897614950488156847949938836455",
      "updated_at": "2026-06-08T12:58:40.000Z",
      "volume_usd_indexed": 24310221.07,
      "volume_usd_today": 1842310.55,
      "vwap_today": 0.938
    }
  ],
  "note": "Implied probabilities decoded from CTF Exchange V2 OrdersMatched events on the public Polygon ledger (both standard and neg-risk exchanges). Not from any Polymarket API. Prices are USD per outcome token = implied probability.",
  "source": "x402stock",
  "venue": "polymarket"
}

Use with an agent

  1. Discover. Agents find this listing with GET https://bazaar.saylorinnovations.com/discovery/search?query=…, the MCP tool search_resources, or /discovery/resources.
  2. Inspect. Fetch /resources/39951.json for the price and payment options.
  3. Pay. Call GET https://x402stock.xyz/api/v1/prediction-markets. The provider answers 402 with its payment requirements. An x402 client signs one of the options below and retries with PAYMENT-SIGNATURE.
  4. Execute. The provider returns 200 with the data. Agent Bazaar is not in the request path and never sees your payment.

For humans

You don't need an account or an API key; you need a wallet holding a small amount of USDC on Base, and an x402-capable client (see the examples below). Call the endpoint unpaid first to see exactly what it asks for.

Pricing & payment

Price
$0.03 / request
Protocol
x402 v2
Auth
No account or API key. Pay per request.
Networks
Base
Demand
3 calls · 2 unique payers in 30d (public x402 Bazaar data)

x402 payment requirements

SchemeNetworkAssetAmountPay toTimeout
exactBase
eip155:8453
USDC$0.030x3070Fbb3803819fB5BdfE9286fdc6325A877fA85300s
accepts[] (raw JSON)
[
  {
    "scheme": "exact",
    "network": "eip155:8453",
    "payTo": "0x3070Fbb3803819fB5BdfE9286fdc6325A877fA85",
    "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
    "amount": "30000",
    "amountUsd": 0.03,
    "maxTimeoutSeconds": 300
  }
]

Schemas

Output schema (JSON Schema)
{
  "properties": {
    "example": {
      "$schema": "https://json-schema.org/draft/2020-12/schema",
      "additionalProperties": false,
      "properties": {
        "as_of": {
          "type": "string"
        },
        "count": {
          "type": "number"
        },
        "indexer": {
          "additionalProperties": false,
          "properties": {
            "cursor_neg_risk": {
              "anyOf": [
                {
                  "type": "number"
                },
                {
                  "type": "null"
                }
              ]
            },
            "cursor_standard": {
              "anyOf": [
                {
                  "type": "number"
                },
                {
                  "type": "null"
                }
              ]
            },
            "tokens_tracked": {
              "type": "number"
            }
          },
          "required": [
            "cursor_standard",
            "cursor_neg_risk",
            "tokens_tracked"
          ],
          "type": "object"
        },
        "markets": {
          "items": {
            "additionalProperties": false,
            "properties": {
              "condition_id": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "implied_probability": {
                "type": "number"
              },
              "last_block": {
                "type": "number"
              },
              "last_side": {
                "enum": [
                  "buy",
                  "sell"
                ],
                "type": "string"
              },
              "matches_indexed": {
                "type": "number"
              },
              "matches_today": {
                "type": "number"
              },
              "neg_risk": {
                "type": "boolean"
              },
              "title": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "token_id": {
                "type": "string"
              },
              "updated_at": {
                "type": "string"
              },
              "volume_usd_indexed": {
                "type": "number"
              },
              "volume_usd_today": {
                "type": "number"
              },
              "vwap_today": {
                "anyOf": [
                  {
                    "type": "number"
                  },
                  {
                    "type": "null"
                  }
                ]
              }
            },
            "required": [
              "token_id",
              "title",
              "condition_id",
              "neg_risk",
              "implied_probability",
              "last_side",
              "vwap_today",
              "volume_usd_today",
              "matches_today",
              "volume_usd_indexed",
              "matches_indexed",
              "last_block",
              "updated_at"
            ],
            "type": "object"
          },
          "type": "array"
        },
        "note": {
          "type": "string"
        },
        "source": {
          "const": "x402stock",
          "type": "string"
        },
        "venue": {
          "const": "polymarket",
          "type": "string"
        }
      },
      "required": [
        "source",
        "as_of",
        "venue",
        "note",
        "indexer",
        "count",
        "markets"
      ],
      "type": "object"
    },
    "type": {
      "type": "string"
    }
  },
  "required": [
    "type"
  ],
  "type": "object"
}
Example shape — generated from the schema, not a captured live response
{
  "example": {
    "as_of": "string",
    "count": 0,
    "indexer": {
      "cursor_neg_risk": null,
      "cursor_standard": null,
      "tokens_tracked": 0
    },
    "markets": [
      {
        "condition_id": null,
        "implied_probability": 0,
        "last_block": 0,
        "last_side": "buy",
        "matches_indexed": 0,
        "matches_today": 0,
        "neg_risk": true,
        "title": null,
        "token_id": "string",
        "updated_at": "string",
        "volume_usd_indexed": 0,
        "volume_usd_today": 0,
        "vwap_today": null
      }
    ],
    "note": "string",
    "source": "string",
    "venue": "string"
  },
  "type": "string"
}

Examples

curl
curl "https://x402stock.xyz/api/v1/prediction-markets"
# -> 402 Payment Required, accepts[] lists how to pay
# retry with a PAYMENT-SIGNATURE (or PAYMENT header) once paid
JavaScript
const res = await fetch("https://x402stock.xyz/api/v1/prediction-markets");
if (res.status === 402) {
  const { accepts } = await res.json();
  // pay one of accepts[] via an x402 client, then retry with the payment header
}
Python
import httpx
res = httpx.get("https://x402stock.xyz/api/v1/prediction-markets")
if res.status_code == 402:
    accepts = res.json()["accepts"]
    # pay one of accepts[] via an x402 client, then retry with the payment header

Details

Provider
x402stock.xyz
Endpoint
https://x402stock.xyz/api/v1/prediction-markets
Machine-readable
/resources/39951.json