Real-Time Polymarket Data Script
Budget: $30 – $250 USD
I need a small Python utility that watches the Sports tab on Polymarket and, every ten seconds, pushes fresh information about NBA games plus men’s and women’s NCAA match-ups to my predefined Endpoint 1.
What has to be captured: the current state of each market—whether it is already trading or still scheduled—and the live payout attached to every option inside that market. The example url https://polymarket.com/event/nba-sas-nop-2025-12-08 shows exactly the structure I want reflected in the JSON you send; just keep that same shape and replace the values each cycle. No additional formatting rules are needed.
The script should:
• Pull only the basketball markets listed under Sports (NBA, NCAA Men, NCAA Women).
• Parse the game title, start time, market status, all options and their latest payouts.
• POST the resulting JSON to Endpoint 1 every ten seconds without missing a beat.
• Run headless and unattended—if Polymarket tweaks the html or serves dynamic content, handle it gracefully (selenium, requests-html, playwright or similar is fine; choose whatever keeps the code light).
• Include a simple configuration file where I can change the endpoint url or add an auth header later.
Acceptable delivery: a single runnable .py file with clear inline comments, a small requirements.txt, and a quick README that shows how to start the loop and how the outgoing payload looks. I will consider the job complete once I can spin it up, watch the console for the ten-second cycle, and verify that Endpoint 1 receives the correct JSON containing both the market status and current payouts.
What has to be captured: the current state of each market—whether it is already trading or still scheduled—and the live payout attached to every option inside that market. The example url https://polymarket.com/event/nba-sas-nop-2025-12-08 shows exactly the structure I want reflected in the JSON you send; just keep that same shape and replace the values each cycle. No additional formatting rules are needed.
The script should:
• Pull only the basketball markets listed under Sports (NBA, NCAA Men, NCAA Women).
• Parse the game title, start time, market status, all options and their latest payouts.
• POST the resulting JSON to Endpoint 1 every ten seconds without missing a beat.
• Run headless and unattended—if Polymarket tweaks the html or serves dynamic content, handle it gracefully (selenium, requests-html, playwright or similar is fine; choose whatever keeps the code light).
• Include a simple configuration file where I can change the endpoint url or add an auth header later.
Acceptable delivery: a single runnable .py file with clear inline comments, a small requirements.txt, and a quick README that shows how to start the loop and how the outgoing payload looks. I will consider the job complete once I can spin it up, watch the console for the ten-second cycle, and verify that Endpoint 1 receives the correct JSON containing both the market status and current payouts.