{
  "x402Version": 2,
  "id": 31290,
  "slug": "31290",
  "resource": "https://mechamanda.com/api/polymarket/historical",
  "description": "Get resolved/historical prediction markets from Polymarket. Filter by date range, slug, or category.",
  "type": "http",
  "resourceType": "Market Data",
  "accepts": [
    {
      "scheme": "exact",
      "network": "eip155:8453",
      "payTo": "0xbAd1Aa224bFe4fEb460E12b2553DcDf98a7098d0",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "amount": "10000",
      "amountUsd": 0.01,
      "maxTimeoutSeconds": 300
    }
  ],
  "outputSchema": {
    "properties": {
      "example": {
        "items": {
          "properties": {
            "description": {
              "description": "Market description",
              "type": "string"
            },
            "liquidity": {
              "description": "Current liquidity in the market",
              "type": "number"
            },
            "outcomePrices": {
              "description": "Current prices for each outcome (0-1)",
              "items": {
                "type": "string"
              },
              "type": "array"
            },
            "outcomes": {
              "description": "Possible outcomes (e.g. Yes/No)",
              "items": {
                "type": "string"
              },
              "type": "array"
            },
            "question": {
              "description": "The market question",
              "type": "string"
            },
            "volume": {
              "description": "Total trading volume",
              "type": "number"
            }
          },
          "required": [
            "question",
            "outcomes",
            "outcomePrices",
            "volume"
          ],
          "type": "object"
        },
        "type": "array"
      },
      "type": {
        "type": "string"
      }
    },
    "required": [
      "type"
    ],
    "type": "object"
  },
  "extensions": {
    "bazaar": {
      "info": {
        "input": {
          "method": "GET",
          "queryParams": {
            "limit": "5",
            "offset": "0"
          },
          "type": "http"
        },
        "output": {
          "example": [
            {
              "description": "This market resolves Yes if...",
              "liquidity": 120000,
              "outcomePrices": [
                "0.92",
                "0.08"
              ],
              "outcomes": [
                "Yes",
                "No"
              ],
              "question": "Will the Fed cut rates in January 2026?",
              "volume": 890000
            }
          ],
          "type": "json"
        }
      },
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "input": {
            "additionalProperties": false,
            "properties": {
              "method": {
                "enum": [
                  "GET"
                ],
                "type": "string"
              },
              "queryParams": {
                "properties": {
                  "endDateMax": {
                    "description": "Filter events that ended on or before this date (ISO 8601)",
                    "type": "string"
                  },
                  "endDateMin": {
                    "description": "Filter events that ended on or after this date (ISO 8601)",
                    "type": "string"
                  },
                  "limit": {
                    "description": "Max number of events to return (default 5)",
                    "type": "string"
                  },
                  "offset": {
                    "description": "Pagination offset (default 0)",
                    "type": "string"
                  },
                  "slug": {
                    "description": "Look up a specific event by slug",
                    "type": "string"
                  },
                  "tag_slug": {
                    "description": "Filter by category tag (e.g. politics, sports, crypto)",
                    "type": "string"
                  }
                },
                "type": "object"
              },
              "type": {
                "const": "http",
                "type": "string"
              }
            },
            "required": [
              "type",
              "method"
            ],
            "type": "object"
          },
          "output": {
            "properties": {
              "example": {
                "items": {
                  "properties": {
                    "description": {
                      "description": "Market description",
                      "type": "string"
                    },
                    "liquidity": {
                      "description": "Current liquidity in the market",
                      "type": "number"
                    },
                    "outcomePrices": {
                      "description": "Current prices for each outcome (0-1)",
                      "items": {
                        "type": "string"
                      },
                      "type": "array"
                    },
                    "outcomes": {
                      "description": "Possible outcomes (e.g. Yes/No)",
                      "items": {
                        "type": "string"
                      },
                      "type": "array"
                    },
                    "question": {
                      "description": "The market question",
                      "type": "string"
                    },
                    "volume": {
                      "description": "Total trading volume",
                      "type": "number"
                    }
                  },
                  "required": [
                    "question",
                    "outcomes",
                    "outcomePrices",
                    "volume"
                  ],
                  "type": "object"
                },
                "type": "array"
              },
              "type": {
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          }
        },
        "required": [
          "input"
        ],
        "type": "object"
      }
    }
  },
  "tags": [
    "bazaar"
  ],
  "sourceHost": "mechamanda.com",
  "lastUpdated": "2026-10-14T00:19:13.862Z",
  "quality": {
    "calls30d": 3,
    "uniquePayers30d": 3,
    "lastCalledAt": "2026-10-14T00:19:13.629Z"
  },
  "metadata": {
    "extensions": {
      "bazaar": {
        "info": {
          "input": {
            "method": "GET",
            "queryParams": {
              "limit": "5",
              "offset": "0"
            },
            "type": "http"
          },
          "output": {
            "example": [
              {
                "description": "This market resolves Yes if...",
                "liquidity": 120000,
                "outcomePrices": [
                  "0.92",
                  "0.08"
                ],
                "outcomes": [
                  "Yes",
                  "No"
                ],
                "question": "Will the Fed cut rates in January 2026?",
                "volume": 890000
              }
            ],
            "type": "json"
          }
        },
        "schema": {
          "$schema": "https://json-schema.org/draft/2020-12/schema",
          "properties": {
            "input": {
              "additionalProperties": false,
              "properties": {
                "method": {
                  "enum": [
                    "GET"
                  ],
                  "type": "string"
                },
                "queryParams": {
                  "properties": {
                    "endDateMax": {
                      "description": "Filter events that ended on or before this date (ISO 8601)",
                      "type": "string"
                    },
                    "endDateMin": {
                      "description": "Filter events that ended on or after this date (ISO 8601)",
                      "type": "string"
                    },
                    "limit": {
                      "description": "Max number of events to return (default 5)",
                      "type": "string"
                    },
                    "offset": {
                      "description": "Pagination offset (default 0)",
                      "type": "string"
                    },
                    "slug": {
                      "description": "Look up a specific event by slug",
                      "type": "string"
                    },
                    "tag_slug": {
                      "description": "Filter by category tag (e.g. politics, sports, crypto)",
                      "type": "string"
                    }
                  },
                  "type": "object"
                },
                "type": {
                  "const": "http",
                  "type": "string"
                }
              },
              "required": [
                "type",
                "method"
              ],
              "type": "object"
            },
            "output": {
              "properties": {
                "example": {
                  "items": {
                    "properties": {
                      "description": {
                        "description": "Market description",
                        "type": "string"
                      },
                      "liquidity": {
                        "description": "Current liquidity in the market",
                        "type": "number"
                      },
                      "outcomePrices": {
                        "description": "Current prices for each outcome (0-1)",
                        "items": {
                          "type": "string"
                        },
                        "type": "array"
                      },
                      "outcomes": {
                        "description": "Possible outcomes (e.g. Yes/No)",
                        "items": {
                          "type": "string"
                        },
                        "type": "array"
                      },
                      "question": {
                        "description": "The market question",
                        "type": "string"
                      },
                      "volume": {
                        "description": "Total trading volume",
                        "type": "number"
                      }
                    },
                    "required": [
                      "question",
                      "outcomes",
                      "outcomePrices",
                      "volume"
                    ],
                    "type": "object"
                  },
                  "type": "array"
                },
                "type": {
                  "type": "string"
                }
              },
              "required": [
                "type"
              ],
              "type": "object"
            }
          },
          "required": [
            "input"
          ],
          "type": "object"
        }
      }
    }
  },
  "liveness": {
    "reliability": null
  },
  "verified": false,
  "featured": false,
  "provider": {
    "host": "mechamanda.com",
    "manifest_name": "mechamanda.com",
    "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": [
    {
      "description": "This market resolves Yes if...",
      "liquidity": 120000,
      "outcomePrices": [
        "0.92",
        "0.08"
      ],
      "outcomes": [
        "Yes",
        "No"
      ],
      "question": "Will the Fed cut rates in January 2026?",
      "volume": 890000
    }
  ]
}