Use Cases

Use Case: Current Order Book Liquidity Monitoring

A sample Prediction Markets API pricing simulation for polling current order books across selected Polymarket markets.

Use Case: Current Order Book Liquidity Monitoring

This example estimates the cost of polling current order books for a focused set of active prediction markets.

Assumptions

ItemValue
ProtocolREST
Endpoint patternGET /v1/orderbook/{exchange_id}/{market_id}/current
ExchangePOLYMARKET
Markets monitored20 markets
Polling frequencyEvery 5 minutes
Polling cycles per day288
Estimated usage5,760 calls/day

Example endpoints:

MarketExample endpoint
Bitcoin Yes marketGET /v1/orderbook/POLYMARKET/BITCOIN-ABOVE-58K-ON-JUNE-5-2026_YES/current
Bitcoin No marketGET /v1/orderbook/POLYMARKET/BITCOIN-ABOVE-58K-ON-JUNE-5-2026_NO/current
MLB Over marketGET /v1/orderbook/POLYMARKET/2026-MLB-WIN-TOTALS-BOSTON-RED-SOX_O-85-5/current
MLB Under marketGET /v1/orderbook/POLYMARKET/2026-MLB-WIN-TOTALS-BOSTON-RED-SOX_U-85-5/current

Estimated usage

20 markets × 288 polling cycles = 5,760 calls/day

Pay As You Go estimate

API call pricing is tiered daily:

TierUsageCost
First 1,000 requests/day1,000$5.00
More than 1,000 requests/day4,760$4.76
Total/day5,760$9.76

Estimated 30-day usage:

$9.76 × 30 = $292.80/month

Plan comparison

PlanPrice per CreditMonthly costIncluded creditsEstimated monthly cost
Pay As You Go$1.00/CreditNo commitmentN/A$292.80
Committed 64$0.85/Credit$64~75.29 credits$281.51
Committed 256$0.75/Credit$256~341.33 credits$256.00
Committed 512$0.70/Credit$512~731.43 credits$512.00
Committed 1024$0.65/Credit$1,024~1,575.38 credits$1,024.00

Result

For this sample, Committed 256 has the lowest estimated cost because the estimated monthly usage is covered within the included credits.

Pay As You Go may still be simpler for short tests or occasional checks. Committed plans are better suited for customers who expect recurring monitoring across multiple markets.

Caveat

Actual usage depends on the number of markets, polling frequency, retries, and whether the integration also calls market discovery, activity, or historical endpoints.

Service StatusGitHub SDK