Odds
oddsFetch matched bookmaker back and exchange lay prices for a chosen sport and named bookmakers; returns a priced board and refuses if token cost exceeds your max_tokens.
Instructions
Reads a matched board (bookmaker back prices with exchange lay prices) for one sport at the bookmakers you name. Spends tokens: priced first, and refused when it would cost more than max_tokens.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| type | Yes | Which matched board | |
| limit | No | Most events to return; a note counts the rest | |
| sport | Yes | Which sport: soccer, or a competition key from the sports tool such as soccer_epl | |
| region | No | Region code. Left out, the API uses uk. | |
| markets | No | Market keys such as h2h; left out, every market on the board | |
| exchanges | No | Exchange keys; left out, every exchange on the board | |
| bookmakers | Yes | Bookmaker keys from the bookmakers tool | |
| max_tokens | No | Refuse the call when its quoted price is above this many tokens. Ask the user before raising it. | |
| commence_to | No | Latest start time, ISO 8601 | |
| commence_from | No | Earliest start time, ISO 8601 |