GET /api/v1/markets/{slug}/prices — historical price series for charting and analysis.
GET https://makeprophit.com/api/v1/markets/{slug}/prices
Returns the price history for the YES side of the event's first market. Backed by the CLOB's /prices-history endpoint and cached for ~60 seconds at the edge.
# Last 7 days at 5-minute fidelityNOW=$(date +%s)WEEK_AGO=$((NOW - 604800))curl "https://makeprophit.com/api/v1/markets/brazil-presidential-election/prices?startTs=$WEEK_AGO&endTs=$NOW&fidelity=300"