Blog

How a Bet Code Converter Works

Convat Engineering · · 4 min read · Updated

A sprinter crouched in the starting blocks on a track

Most people meet Convat through a single tap: paste a booking code from one sportsbook, pick another, and a fresh code appears a moment later. Behind that moment is a pipeline we have spent a long time making boring, predictable and fast. Here is what actually happens, and the rules it follows so that a fast answer is also a right one.

1. Read the code from the source

A booking code on its own says very little. Once you tell Convat which bookmaker it came from, the engine asks that bookmaker for the slip behind the code and receives every selection: the event, the market, the pick, the line and the odds.

Every bookmaker answers differently. Some return tidy data; some return a page of numeric IDs that only make sense with that bookmaker's own dictionary. Each supported book has its own reader, and a few books, Stake and Betano among them, can be read from but not booked onto.

2. Translate every bet into one neutral language

This is the heart of the system. Every selection is rewritten in an internal format that means the same thing whichever bookmaker it came from. "GG", "Both Teams To Score: Yes" and "BTTS Y" all become one description.

The hard part is not the names; it is getting the meaning exactly right:

  • Which side? A handicap of -1 on the home team is a different bet from -1 on the away team.
  • Which period? Over 1.5 in the first half is not Over 1.5 in the match.
  • Whose total? Over 1.5 goals for one team is not Over 1.5 goals in the match.
  • Which statistic? On some books, corners and cards live in separate sub-games that reuse the same market IDs as goals.

Get any of those wrong and the converted slip contains a different bet. So the translation is strict, and it is tested against real slips from every bookmaker.

3. Find the same game on the target

Team names, kick-off times and competition names all vary between books. "Man Utd", "Manchester United" and "Manchester Utd" are one club; "Manchester United Women" is not. Matching is fuzzy where it has to be and strict where it matters: the engine uses shared fixture IDs where books have them, checks kick-off times, and refuses a club-name match that crosses into a women's, youth or reserve side.

4. Find the same bet on that game

With the fixture found, the engine looks for the exact market, side, period and line on the target's board. Two safety rules apply here:

  • Lines only move for goals totals, and only by half a goal at most, when the exact line is missing. Handicap lines never move, and nor does anything read from a handwritten or scanned tip.
  • Prices must make sense. If the target prices a matched bet wildly differently from the source, that is treated as a sign the bet might not really be the same, and the leg is not booked.
A floodlit football stadium at night seen from high in the stands
One fixture, fifty different spellings of it.

5. Rebuild, book and report

With every leg matched, the engine asks the target bookmaker to create a new booking code containing exactly those selections, then hands it back. You see how many legs matched, the total odds on both books, and any leg that could not be matched, with the reason. A leg is never dropped silently and never replaced with a different bet.

Why speed matters

Odds move, and games kick off. A conversion that takes thirty seconds is one that can go stale before you place it. So the engine fetches in parallel, caches what it safely can, keeps connections to bookmakers warm, and gives up on a slow book within a fixed budget rather than leaving you staring at a spinner. A typical Bet9ja to SportyBet conversion finishes in under three seconds.

Why it says no

The easiest way to make a converter look good is to always return a full slip. It is also the easiest way to hand someone a bet they did not ask for. Convat would rather tell you "7 of 8 matched, here is the missing one and why" than give you 8 of 8 with one quietly wrong. Every refusal rule above exists because a wrong bet costs you more than a missing one.

Frequently asked questions

How does a bet code converter work?

It reads every selection from the original bookmaker, translates each into a neutral description of the bet, finds the same game and market on the target bookmaker, and creates a new booking code there.

Why did my converted slip have fewer games?

The target bookmaker did not offer one of the games or markets, or the game had started. Convat lists the missing leg and the reason.

Does Convat change lines or markets?

Only goals totals, by at most half a goal, when the exact line is missing, and the change is shown. Handicap lines and markets are never changed.

How fast is a conversion?

A typical conversion takes under three seconds. Long slips and slow bookmakers can take a little longer.

Move a slip while it is fresh

Convert any booking code across 50+ sportsbooks in seconds.

Try a conversion
How a Bet Code Converter Works · Convat