{
  "x402Version": 2,
  "id": 31074,
  "slug": "31074",
  "resource": "https://polynews.news/api/v1/price-history",
  "description": "Historical price data with configurable timeframes (1H/6H/1D/1W/1M/ALL)",
  "type": "http",
  "resourceType": "Monitoring",
  "accepts": [
    {
      "scheme": "exact",
      "network": "eip155:8453",
      "payTo": "0x6ee49a7872844397Fb52870Cc07b308fFADC9427",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "amount": "5000",
      "amountUsd": 0.005,
      "maxTimeoutSeconds": 300
    },
    {
      "scheme": "exact",
      "network": "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp",
      "payTo": "76xzzgua9K8985GqGMwB946zTFtHvjTd9MfGoTYfys3d",
      "asset": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
      "amount": "5000",
      "amountUsd": 0.005,
      "maxTimeoutSeconds": 300
    }
  ],
  "outputSchema": {
    "properties": {
      "example": {
        "properties": {
          "data": {
            "properties": {
              "marketId": {
                "type": "string"
              },
              "outcomes": {
                "description": "Per-outcome price series (top outcomes by price)",
                "items": {
                  "properties": {
                    "history": {
                      "items": {
                        "properties": {
                          "price": {
                            "description": "Price as percentage (0-100)",
                            "type": "number"
                          },
                          "timestamp": {
                            "description": "Unix ms",
                            "type": "number"
                          }
                        },
                        "type": "object"
                      },
                      "type": "array"
                    },
                    "outcomeId": {
                      "type": "string"
                    },
                    "outcomeName": {
                      "type": "string"
                    }
                  },
                  "type": "object"
                },
                "type": "array"
              }
            },
            "type": "object"
          }
        },
        "type": "object"
      },
      "type": {
        "type": "string"
      }
    },
    "required": [
      "type"
    ],
    "type": "object"
  },
  "extensions": {
    "bazaar": {
      "info": {
        "input": {
          "method": "GET",
          "queryParams": {
            "marketId": "69317",
            "range": "1D"
          },
          "type": "http"
        },
        "output": {
          "example": {
            "data": {
              "marketId": "69317",
              "outcomes": [
                {
                  "history": [
                    {
                      "price": 68,
                      "timestamp": 1747008000000
                    },
                    {
                      "price": 71,
                      "timestamp": 1747011600000
                    },
                    {
                      "price": 72,
                      "timestamp": 1747015200000
                    }
                  ],
                  "outcomeId": "0x1a...",
                  "outcomeName": "Gavin Newsom"
                }
              ]
            },
            "meta": {
              "endpoint": "/api/v1/price-history",
              "latencyMs": 240,
              "tier": "standard",
              "timestamp": "2026-05-12T04:30:00.000Z",
              "version": "v1"
            }
          },
          "type": "json"
        }
      },
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "input": {
            "additionalProperties": false,
            "properties": {
              "method": {
                "enum": [
                  "GET"
                ],
                "type": "string"
              },
              "queryParams": {
                "properties": {
                  "marketId": {
                    "type": "string"
                  },
                  "range": {
                    "type": "string"
                  }
                },
                "type": "object"
              },
              "type": {
                "const": "http",
                "type": "string"
              }
            },
            "required": [
              "type",
              "method"
            ],
            "type": "object"
          },
          "output": {
            "properties": {
              "example": {
                "properties": {
                  "data": {
                    "properties": {
                      "marketId": {
                        "type": "string"
                      },
                      "outcomes": {
                        "description": "Per-outcome price series (top outcomes by price)",
                        "items": {
                          "properties": {
                            "history": {
                              "items": {
                                "properties": {
                                  "price": {
                                    "description": "Price as percentage (0-100)",
                                    "type": "number"
                                  },
                                  "timestamp": {
                                    "description": "Unix ms",
                                    "type": "number"
                                  }
                                },
                                "type": "object"
                              },
                              "type": "array"
                            },
                            "outcomeId": {
                              "type": "string"
                            },
                            "outcomeName": {
                              "type": "string"
                            }
                          },
                          "type": "object"
                        },
                        "type": "array"
                      }
                    },
                    "type": "object"
                  }
                },
                "type": "object"
              },
              "type": {
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          }
        },
        "required": [
          "input"
        ],
        "type": "object"
      }
    }
  },
  "tags": [
    "bazaar"
  ],
  "sourceHost": "polynews.news",
  "lastUpdated": "2026-10-10T13:46:54.661Z",
  "quality": {
    "calls30d": 3,
    "uniquePayers30d": 3,
    "lastCalledAt": "2026-10-10T13:46:54.474Z"
  },
  "metadata": {
    "extensions": {
      "bazaar": {
        "info": {
          "input": {
            "method": "GET",
            "queryParams": {
              "marketId": "69317",
              "range": "1D"
            },
            "type": "http"
          },
          "output": {
            "example": {
              "data": {
                "marketId": "69317",
                "outcomes": [
                  {
                    "history": [
                      {
                        "price": 68,
                        "timestamp": 1747008000000
                      },
                      {
                        "price": 71,
                        "timestamp": 1747011600000
                      },
                      {
                        "price": 72,
                        "timestamp": 1747015200000
                      }
                    ],
                    "outcomeId": "0x1a...",
                    "outcomeName": "Gavin Newsom"
                  }
                ]
              },
              "meta": {
                "endpoint": "/api/v1/price-history",
                "latencyMs": 240,
                "tier": "standard",
                "timestamp": "2026-05-12T04:30:00.000Z",
                "version": "v1"
              }
            },
            "type": "json"
          }
        },
        "schema": {
          "$schema": "https://json-schema.org/draft/2020-12/schema",
          "properties": {
            "input": {
              "additionalProperties": false,
              "properties": {
                "method": {
                  "enum": [
                    "GET"
                  ],
                  "type": "string"
                },
                "queryParams": {
                  "properties": {
                    "marketId": {
                      "type": "string"
                    },
                    "range": {
                      "type": "string"
                    }
                  },
                  "type": "object"
                },
                "type": {
                  "const": "http",
                  "type": "string"
                }
              },
              "required": [
                "type",
                "method"
              ],
              "type": "object"
            },
            "output": {
              "properties": {
                "example": {
                  "properties": {
                    "data": {
                      "properties": {
                        "marketId": {
                          "type": "string"
                        },
                        "outcomes": {
                          "description": "Per-outcome price series (top outcomes by price)",
                          "items": {
                            "properties": {
                              "history": {
                                "items": {
                                  "properties": {
                                    "price": {
                                      "description": "Price as percentage (0-100)",
                                      "type": "number"
                                    },
                                    "timestamp": {
                                      "description": "Unix ms",
                                      "type": "number"
                                    }
                                  },
                                  "type": "object"
                                },
                                "type": "array"
                              },
                              "outcomeId": {
                                "type": "string"
                              },
                              "outcomeName": {
                                "type": "string"
                              }
                            },
                            "type": "object"
                          },
                          "type": "array"
                        }
                      },
                      "type": "object"
                    }
                  },
                  "type": "object"
                },
                "type": {
                  "type": "string"
                }
              },
              "required": [
                "type"
              ],
              "type": "object"
            }
          },
          "required": [
            "input"
          ],
          "type": "object"
        }
      }
    }
  },
  "liveness": {
    "reliability": null
  },
  "verified": false,
  "featured": false,
  "provider": {
    "host": "polynews.news",
    "manifest_name": "polynews.news",
    "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": {
      "data": {
        "marketId": "string",
        "outcomes": [
          {
            "history": [
              {
                "price": null,
                "timestamp": null
              }
            ],
            "outcomeId": "string",
            "outcomeName": "string"
          }
        ]
      }
    },
    "type": "string"
  }
}