Read published fight analyses

Five read-only calls. The same five tools are on the MCP server. A fight is available at the same moment it appears on the site. Before that, the call returns "not released yet" and the release time.

Informational only. Not betting advice. No wagers are placed.

Quickstart

Send your key on every call. OttoBet stores a hash of the key, not the key. The key is shown once when it is issued.

curl -s -H "Authorization: Bearer $OTTOBET_API_KEY" \
  "$HOST/api/agent/v1/events"

MCP is one JSON-RPC POST to /api/agent/mcp. There is no session. Ask for tools/list, then tools/call. Each tool is read-only. Use response: "concise" or "detailed". Names come back with the ids.

curl -s -H "Authorization: Bearer $OTTOBET_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' \
  "$HOST/api/agent/mcp"

The contract is the OpenAPI 3.1 file. Terms are in beta terms (draft, pending legal review). Changes are on the changelog. A short map for agents is llms.txt.

The five tools

Example calls

curl -s -H "Authorization: Bearer $OTTOBET_API_KEY" \
  "$HOST/api/agent/v1/events/539"

curl -s -H "Authorization: Bearer $OTTOBET_API_KEY" \
  "$HOST/api/agent/v1/fights/6002"

curl -s -H "Authorization: Bearer $OTTOBET_API_KEY" \
  "$HOST/api/agent/v1/fights/6002/compare"

curl -s -H "Authorization: Bearer $OTTOBET_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"side":"Jane Doe","price":-102,"bankroll":1000,"risk":"moderate"}' \
  "$HOST/api/agent/v1/fights/6002/price"

The price call returns the implied probability of the price you sent, the edge against the stored win probability, and EV per $100. When EV is positive and you sent a bankroll and a risk, it also returns the full Kelly fraction, the multiplier (1/2, 5/8, or 3/4), and the stake. When EV is zero or negative, the stake is 0 and the reason is "no value at this price". Bankroll is not stored.

A worked example of that arithmetic, not a past result: a stored 54% win probability against a caller price of −102 is +$6.94 per $100. On a $1,000 bankroll at moderate risk the stake is $44.25.

curl -s -H "Authorization: Bearer $OTTOBET_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"jsonrpc":"2.0","id":2,"method":"tools/call","params":{"name":"get_fight_analysis","arguments":{"fight":"Jane Doe vs Alex Roe","response":"concise"}}}' \
  "$HOST/api/agent/mcp"

Glossary

model_version is the cohort settings id plus the probability schema, for example cohort-settings/1+prompts/distribution-1. It is not the name of the language model. analysis_published_at is when the pin was published. event_first_bout_start is the card's first bout, UTC, from the publish log. fight_start is that bout's own UTC start when one is stored. Comparing the publish time with the card start shows the analysis was published before the event. analysis_version starts at 1 and increments if the fight is re-run. ?version=1 reads an older one. Concise mode is ?response=concise and stays under 400 bytes. Each fighter is an object with fighter, corner, win_pct, and top_method, plus confidence_tier and cohort_size.

What every response carries

as_of, the run id, the model version, the event id, and this line: Informational only. Not betting advice. No wagers are placed.

A missing or unknown key is refused. A revoked key is refused and should not be retried. A key that has used its monthly limit gets HTTP 429 and a Retry-After header. If the key tables are not installed yet, the call is 503 and nothing is written.