Polymarket Live Bitcoin Market Finder


[ Home ] [ Motivation ] [ Features ] [ Technical Specifications ] [ The Code and How to Use ] [ Example ]

Deterministically discovers BTC 5m/15m Up/Down Prediction Market

Project Motivation

Traditional methods of polling the Gamma API to discover new markets often suffer from significant latency between the actual creation of a market on-chain and its indexing by the API.

This script solves this issue by using Unix Timestamps to generate the expected URL of a market based on the current UTC time. By calculating the exact 5 or 15-minute interval, we can query the API for the specific market directly, bypassing the delay in market indexing.

Features & Capabilities

Technical Specifications

Parameter Requirement / Value
Language Python 3.7+
Dependencies requests library
API Integration Polymarket Gamma API & CLOB API

The Code and How to Use

View the Python script here.

Run the script directly from your terminal:

python PolymarketMarketFinder.py

Example Output

The utility provides deterministic data directly to the terminal:

--- Fetching Live Prices for Current Interval ---

Asset: BTC 5m
URL: https://polymarket.com/event/btc-updown-5m-1771168800
Market ID: 1377134
UP Token ID: 37821824917908613625836367318395386033792488832282809847663104034253138956671
  -> Best Buy: $0.53 | Best Sell: $0.54
                

73 de YB1SDL

This page was handcrafted in plain HTML. No Java, No Flash.

Last Updated: February 17, 2026