What Is a Sportsbook?

A sportsbook is a place where punters can bet on a variety of different sporting events. They offer odds which show how much a bettor can win if they correctly predict the outcome of an event. While all sportsbooks have some differences, they all make money by charging a fee on winning bets. This fee is often called vig or juice and it helps them to offset their losses on losing bets.

One of the most popular types of bets is the straight bet, which is a wager on a single outcome of an event. For example, if you think the Toronto Raptors will beat Boston Celtics in an NBA game, you can bet on them to win by making a straight bet. In addition to straight bets, sportsbooks also accept parlays, accumulators, and other types of multiples.

When setting lines, sportsbooks must be careful to balance action on both sides of the betting market. This is accomplished by lowering the point spread to encourage action on the underdog, or by raising the line to discourage action on the favorite. In either case, the goal is to have an even number of bets on each side of the line.

While some states have banned sportsbooks, most allow residents to bet online. This is because the Supreme Court overturned a federal ban on sports betting in 2018. Currently, DraftKings is one of the largest operators and uses SBTech software, which was acquired by DraftKings in 2020.