{
  "x402Version": 2,
  "id": 40008,
  "slug": "40008",
  "resource": "https://api.seerium.xyz/v1/prediction/ending-soon",
  "description": "Ending soon and expiring prediction market API for Polymarket, Kalshi, and Gemini. Find active markets resolving soon with close time, bid/ask prices, volume, liquidity, venue, and market links.",
  "type": "http",
  "resourceType": "Utilities",
  "accepts": [
    {
      "scheme": "exact",
      "network": "eip155:8453",
      "payTo": "0x81832eEDe3a4ad96CB3D7cA09977636D912fd3D5",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "amount": "100000",
      "amountUsd": 0.1,
      "maxTimeoutSeconds": 300
    },
    {
      "scheme": "exact",
      "network": "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp",
      "payTo": "2h752kAbb9z1jpdSzqMEYg9JHv6TPJ6T2BfAJMyjLFtZ",
      "asset": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
      "amount": "100000",
      "amountUsd": 0.1,
      "maxTimeoutSeconds": 300
    }
  ],
  "outputSchema": {
    "properties": {
      "example": {
        "type": "object"
      },
      "type": {
        "type": "string"
      }
    },
    "required": [
      "type"
    ],
    "type": "object"
  },
  "extensions": {
    "bazaar": {
      "info": {
        "input": {
          "method": "GET",
          "queryParams": {
            "hours": 24,
            "limit": 25,
            "source": "all"
          },
          "type": "http"
        },
        "output": {
          "example": {
            "data": {
              "criteria": {
                "hours": 24,
                "limit": 25,
                "source": "all"
              },
              "returned": 1,
              "rows": [
                {
                  "acceptingOrders": true,
                  "active": true,
                  "archived": false,
                  "closed": false,
                  "conditionId": "KXBTC-26MAY31-B100000",
                  "endDateIso": "2026-05-31T20:00:00.000Z",
                  "eventSlug": "bitcoin-price-may-31-2026",
                  "eventTitle": "Bitcoin price on May 31, 2026",
                  "indicative": true,
                  "lastPrice": 0.43,
                  "liquidity": 12800,
                  "marketSlug": "kxbtc-26may31-b100000",
                  "marketTicker": "KXBTC-26MAY31-B100000",
                  "marketUrl": "https://kalshi.com/markets/KXBTC-26MAY31-B100000",
                  "minOrderSize": 1,
                  "minTickSize": 0.01,
                  "minutesUntilEnd": 240,
                  "noAsk": 0.58,
                  "noBid": 0.56,
                  "noPrice": 0.57,
                  "question": "Will Bitcoin be above $100,000 on May 31, 2026?",
                  "seriesSlug": "bitcoin",
                  "seriesTicker": "KXBTC",
                  "source": "kalshi",
                  "sourceUpdatedAt": "2026-05-31T15:56:00.000Z",
                  "volume": 193200,
                  "volume24h": 28450,
                  "yesAsk": 0.44,
                  "yesBid": 0.42,
                  "yesPrice": 0.43
                }
              ],
              "sourceCounts": {
                "gemini": 3,
                "kalshi": 4,
                "polymarket": 5
              },
              "sourceUpdatedAt": {
                "gemini": "2026-05-31T15:54:30.000Z",
                "kalshi": "2026-05-31T15:56:00.000Z",
                "polymarket": "2026-05-31T15:55:00.000Z"
              },
              "timestamp": 1760000000000,
              "totalCandidates": 12,
              "warnings": []
            },
            "meta": {
              "freshnessMs": 30000,
              "generatedAt": "2026-03-25T12:00:00.000Z",
              "requestId": "req_example_123",
              "updatedAt": "2026-03-25T11:59:30.000Z"
            },
            "product": {
              "accepts": [
                {
                  "network": "eip155:8453",
                  "payTo": "0x81832eEDe3a4ad96CB3D7cA09977636D912fd3D5",
                  "price": "$0.1000",
                  "scheme": "exact"
                },
                {
                  "network": "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp",
                  "payTo": "2h752kAbb9z1jpdSzqMEYg9JHv6TPJ6T2BfAJMyjLFtZ",
                  "price": "$0.1000",
                  "scheme": "exact"
                }
              ],
              "id": "prediction-ending-soon",
              "method": "GET",
              "name": "Ending Soon Prediction Markets API",
              "networks": [
                "eip155:8453",
                "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp"
              ],
              "path": "/v1/prediction/ending-soon",
              "price": "$0.1000"
            },
            "service": "seerium-x402-api"
          },
          "type": "json"
        }
      },
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "input": {
            "additionalProperties": false,
            "properties": {
              "method": {
                "enum": [
                  "GET"
                ],
                "type": "string"
              },
              "queryParams": {
                "properties": {
                  "hours": {
                    "description": "Optional resolving-soon window in hours. Defaults to 24.",
                    "maximum": 168,
                    "minimum": 1,
                    "type": "number"
                  },
                  "limit": {
                    "description": "Optional maximum ending-soon markets to return. Defaults to 25.",
                    "maximum": 100,
                    "minimum": 1,
                    "type": "number"
                  },
                  "source": {
                    "description": "Optional prediction market venue filter: polymarket, kalshi, gemini, or all. Defaults to all.",
                    "enum": [
                      "polymarket",
                      "kalshi",
                      "gemini",
                      "all"
                    ],
                    "type": "string"
                  }
                },
                "type": "object"
              },
              "type": {
                "const": "http",
                "type": "string"
              }
            },
            "required": [
              "type",
              "method"
            ],
            "type": "object"
          },
          "output": {
            "properties": {
              "example": {
                "type": "object"
              },
              "type": {
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          }
        },
        "required": [
          "input"
        ],
        "type": "object"
      }
    }
  },
  "tags": [
    "bazaar"
  ],
  "sourceHost": "api.seerium.xyz",
  "lastUpdated": "2026-10-08T06:09:39.361Z",
  "quality": {
    "calls30d": 2,
    "uniquePayers30d": 2,
    "lastCalledAt": "2026-10-08T06:09:39.232Z"
  },
  "metadata": {
    "extensions": {
      "bazaar": {
        "info": {
          "input": {
            "method": "GET",
            "queryParams": {
              "hours": 24,
              "limit": 25,
              "source": "all"
            },
            "type": "http"
          },
          "output": {
            "example": {
              "data": {
                "criteria": {
                  "hours": 24,
                  "limit": 25,
                  "source": "all"
                },
                "returned": 1,
                "rows": [
                  {
                    "acceptingOrders": true,
                    "active": true,
                    "archived": false,
                    "closed": false,
                    "conditionId": "KXBTC-26MAY31-B100000",
                    "endDateIso": "2026-05-31T20:00:00.000Z",
                    "eventSlug": "bitcoin-price-may-31-2026",
                    "eventTitle": "Bitcoin price on May 31, 2026",
                    "indicative": true,
                    "lastPrice": 0.43,
                    "liquidity": 12800,
                    "marketSlug": "kxbtc-26may31-b100000",
                    "marketTicker": "KXBTC-26MAY31-B100000",
                    "marketUrl": "https://kalshi.com/markets/KXBTC-26MAY31-B100000",
                    "minOrderSize": 1,
                    "minTickSize": 0.01,
                    "minutesUntilEnd": 240,
                    "noAsk": 0.58,
                    "noBid": 0.56,
                    "noPrice": 0.57,
                    "question": "Will Bitcoin be above $100,000 on May 31, 2026?",
                    "seriesSlug": "bitcoin",
                    "seriesTicker": "KXBTC",
                    "source": "kalshi",
                    "sourceUpdatedAt": "2026-05-31T15:56:00.000Z",
                    "volume": 193200,
                    "volume24h": 28450,
                    "yesAsk": 0.44,
                    "yesBid": 0.42,
                    "yesPrice": 0.43
                  }
                ],
                "sourceCounts": {
                  "gemini": 3,
                  "kalshi": 4,
                  "polymarket": 5
                },
                "sourceUpdatedAt": {
                  "gemini": "2026-05-31T15:54:30.000Z",
                  "kalshi": "2026-05-31T15:56:00.000Z",
                  "polymarket": "2026-05-31T15:55:00.000Z"
                },
                "timestamp": 1760000000000,
                "totalCandidates": 12,
                "warnings": []
              },
              "meta": {
                "freshnessMs": 30000,
                "generatedAt": "2026-03-25T12:00:00.000Z",
                "requestId": "req_example_123",
                "updatedAt": "2026-03-25T11:59:30.000Z"
              },
              "product": {
                "accepts": [
                  {
                    "network": "eip155:8453",
                    "payTo": "0x81832eEDe3a4ad96CB3D7cA09977636D912fd3D5",
                    "price": "$0.1000",
                    "scheme": "exact"
                  },
                  {
                    "network": "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp",
                    "payTo": "2h752kAbb9z1jpdSzqMEYg9JHv6TPJ6T2BfAJMyjLFtZ",
                    "price": "$0.1000",
                    "scheme": "exact"
                  }
                ],
                "id": "prediction-ending-soon",
                "method": "GET",
                "name": "Ending Soon Prediction Markets API",
                "networks": [
                  "eip155:8453",
                  "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp"
                ],
                "path": "/v1/prediction/ending-soon",
                "price": "$0.1000"
              },
              "service": "seerium-x402-api"
            },
            "type": "json"
          }
        },
        "schema": {
          "$schema": "https://json-schema.org/draft/2020-12/schema",
          "properties": {
            "input": {
              "additionalProperties": false,
              "properties": {
                "method": {
                  "enum": [
                    "GET"
                  ],
                  "type": "string"
                },
                "queryParams": {
                  "properties": {
                    "hours": {
                      "description": "Optional resolving-soon window in hours. Defaults to 24.",
                      "maximum": 168,
                      "minimum": 1,
                      "type": "number"
                    },
                    "limit": {
                      "description": "Optional maximum ending-soon markets to return. Defaults to 25.",
                      "maximum": 100,
                      "minimum": 1,
                      "type": "number"
                    },
                    "source": {
                      "description": "Optional prediction market venue filter: polymarket, kalshi, gemini, or all. Defaults to all.",
                      "enum": [
                        "polymarket",
                        "kalshi",
                        "gemini",
                        "all"
                      ],
                      "type": "string"
                    }
                  },
                  "type": "object"
                },
                "type": {
                  "const": "http",
                  "type": "string"
                }
              },
              "required": [
                "type",
                "method"
              ],
              "type": "object"
            },
            "output": {
              "properties": {
                "example": {
                  "type": "object"
                },
                "type": {
                  "type": "string"
                }
              },
              "required": [
                "type"
              ],
              "type": "object"
            }
          },
          "required": [
            "input"
          ],
          "type": "object"
        }
      }
    }
  },
  "liveness": {
    "reliability": null
  },
  "verified": false,
  "featured": false,
  "provider": {
    "host": "api.seerium.xyz",
    "manifest_name": "api.seerium.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": {},
    "type": "string"
  }
}