OddsMarket API Request Constructor

Manual test UI for building WagerWatch → Worker → OddsMarket requests. Use it to test whether the Bet ID should include prefixes like BT-, whether Event ID must include prefixes like BG-, and how AvgLine/WEXM data comes back.

Cloudflare Pages ready Worker API key only AvgLine 216

Constructor Inputs

Worker mode
This page does not need the OddsMarket API key. Your Worker should keep the API key as a secret and expose a test endpoint such as /om/test-lookup or /om/start-batch.

Worker endpoint

The UI sends payload here. Worker adds OM API key and calls OddsMarket.

Market mode

For normal sportsbook selections use BACK. ML1/ML2 is already represented by rawBetId.

Brand / source

Event ID

Bet / selection ID

Use the variants to test whether OM expects BT-233681, 233681, 21100103, or another raw ID format.

Odds / market context

AvgLine is 216. Start with bookmakerIds=216 for expected-margin testing.

Optional row context

Generated Request & Response

Ready. Generate a request or call Worker.
Endpoint
PM
Origin ID
303
Event ID
Bet ID