Find Arbitrage
find_arbitrageFind cross-book arbitrage in a fixture — a guaranteed-profit price split — in ONE call.
Resolves the fixture, then for each market/line takes the best price per outcome across books;
when the inverse prices sum to < 1 there is a locked margin regardless of result. Reports the
margin % and which book holds each leg (legs must come from ≥2 distinct books). DETECTION ONLY:
no stake sizing, no bet links — InferSports is read-only.
Args:
query: natural-language fixture, e.g. "Netherlands vs Algeria" or a single team.
markets: optional filter — any of "1x2", "asian_handicap", "totals" (default: all).
period: optional — "full_time" or "half_time" (default: both).
min_margin_pct: only report opportunities with at least this guaranteed margin (default 0).
format: odds format — decimal | hk | malay | american | indonesian | probability.
sport: optional filter — "football" or "basketball".
date: optional UTC date "YYYY-MM-DD" to disambiguate same-name fixtures.
On an ambiguous query, ``status`` is "ambiguous" and ``ask_user`` carries a prompt — do not guess.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| date | No | ||
| query | Yes | ||
| sport | No | ||
| format | No | decimal | |
| period | No | ||
| markets | No | ||
| min_margin_pct | No |