{
  "x402Version": 2,
  "id": 39951,
  "slug": "39951",
  "resource": "https://x402stock.xyz/api/v1/prediction-markets",
  "description": "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).",
  "type": "http",
  "resourceType": "Security",
  "accepts": [
    {
      "scheme": "exact",
      "network": "eip155:8453",
      "payTo": "0x3070Fbb3803819fB5BdfE9286fdc6325A877fA85",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "amount": "30000",
      "amountUsd": 0.03,
      "maxTimeoutSeconds": 300
    }
  ],
  "outputSchema": {
    "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"
  },
  "extensions": {
    "bazaar": {
      "info": {
        "input": {
          "method": "GET",
          "queryParams": {},
          "type": "http"
        },
        "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"
          },
          "type": "json"
        }
      },
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "input": {
            "additionalProperties": false,
            "properties": {
              "method": {
                "enum": [
                  "GET",
                  "HEAD",
                  "DELETE"
                ],
                "type": "string"
              },
              "queryParams": {
                "properties": {},
                "type": "object"
              },
              "type": {
                "const": "http",
                "type": "string"
              }
            },
            "required": [
              "type",
              "method"
            ],
            "type": "object"
          },
          "output": {
            "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"
          }
        },
        "required": [
          "input"
        ],
        "type": "object"
      }
    }
  },
  "tags": [
    "bazaar"
  ],
  "sourceHost": "x402stock.xyz",
  "lastUpdated": "2026-10-09T01:10:57.771Z",
  "quality": {
    "calls30d": 3,
    "uniquePayers30d": 2,
    "lastCalledAt": "2026-10-09T01:10:57.527Z"
  },
  "metadata": {
    "extensions": {
      "bazaar": {
        "info": {
          "input": {
            "method": "GET",
            "queryParams": {},
            "type": "http"
          },
          "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"
            },
            "type": "json"
          }
        },
        "schema": {
          "$schema": "https://json-schema.org/draft/2020-12/schema",
          "properties": {
            "input": {
              "additionalProperties": false,
              "properties": {
                "method": {
                  "enum": [
                    "GET",
                    "HEAD",
                    "DELETE"
                  ],
                  "type": "string"
                },
                "queryParams": {
                  "properties": {},
                  "type": "object"
                },
                "type": {
                  "const": "http",
                  "type": "string"
                }
              },
              "required": [
                "type",
                "method"
              ],
              "type": "object"
            },
            "output": {
              "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"
            }
          },
          "required": [
            "input"
          ],
          "type": "object"
        }
      }
    }
  },
  "liveness": {
    "reliability": null
  },
  "verified": false,
  "featured": false,
  "provider": {
    "host": "x402stock.xyz",
    "manifest_name": "x402stock.xyz",
    "source": "cdp-mirror",
    "source_manifest_url": "https://api.cdp.coinbase.com/platform/v2/x402/discovery/resources",
    "submitted_at": "2026-10-14T01:15:01.050Z"
  },
  "exampleResponse": {
    "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"
  }
}