# Appointment and booking bots: how to protect slots

> Booking bots search appointment systems for free slots, book them the moment they appear and resell them, often by swapping the buyer's details into the booking. To protect slots, run bot detection on the slot search and booking endpoints, bind each booking to one identity that cannot be swapped later, limit changes and swaps, and release cancelled slots at random times.

Category: Scalper and checkout bots. Level: Intermediate. Updated: 2026-11-24.
Canonical page: https://stopbots.io/learn/scalping/appointment-booking-bots/

OWASP lists "slot-booking bot" and "restaurant table/hotel room reservation speed-booking" among the other names for its Scalping threat, covered in [what are scalper bots](https://stopbots.io/learn/scalping/what-are-scalper-bots.md). The targets are systems where demand is far above supply and the official price is low or fixed: driving tests, visa and consular appointments, passport interviews and popular restaurant tables. A slot can only be resold if the booking can change hands, and most of the defences below aim at that.

## How do booking bots work?

The UK's Driver and Vehicle Standards Agency (DVSA) described the pattern in a [2023 post](https://despatch.blog.gov.uk/2023/06/29/how-were-dealing-with-bots-and-the-reselling-of-driving-tests): bots search for and reserve test appointments much faster than people, and organisations hold the slots until they can resell them at a higher price. DVSA called this "unfair" but "not illegal". The same steps appear in other booking systems:

- The bot queries the availability endpoint for many centres and dates every few seconds, from many accounts or IP addresses.
- When a slot appears, it books at once, with a placeholder identity or with details collected from a customer in advance.
- Once a buyer pays, the operator moves the slot to them by editing the booking, swapping it, or cancelling it and rebooking it for the buyer at the same moment.
- Slots freed by cancellations are the main prize, because they appear without warning, so the search never stops.

Some third-party booking services also log in with their customers' details and book on their behalf. DVSA's later rules stop third parties, including unofficial booking services, from booking or managing a test for someone else.

## What booking bots leave in your logs

- Availability searches per account or session far above what one person does, often around the clock
- Searches across many centres or consulates in one session
- Bookings made within a second of a slot appearing
- Many changes per booking, and candidate details changed after booking
- Bookings swapped between accounts that have no other link
- One device or IP range logging in to many candidate accounts

These are the same patterns as [inventory hoarding](https://stopbots.io/learn/scalping/inventory-hoarding-bots.md), with slots in place of stock.

## How to stop bots booking driving tests and other slots

Start where the bots spend their requests: the slot search. Run bot detection on the search and booking endpoints, including the API behind the page. [How to protect APIs from bots](https://stopbots.io/learn/implementation/how-to-protect-apis-from-bots.md) covers that side. Then:

- Require a login to search, and rate limit searches per account and per session as well as per IP address.
- Serve availability from a short-lived cache so polling does not reach the booking system.
- Challenge suspicious sessions with an invisible check first. [CAPTCHA alternatives](https://stopbots.io/learn/captcha/captcha-alternatives.md) compares the options.
- Treat a device that logs in to many candidate accounts as an agent, and apply agent limits or block it.

## Bind each booking to one identity

The resale model needs a booking that can change hands. Remove that:

- Tie the booking to an identifier the person must prove, such as a driving licence or passport number.
- Do not allow the candidate's name or ID to change after booking. If details are wrong, cancel and return the slot to the pool.
- Let only the candidate book and manage the booking, or a verified agent acting under their own capped account.
- Check ID at the appointment against the booking.

## Limit changes and swaps

DVSA's booking changes in 2026 are a public example, set out in its [announcement](https://www.gov.uk/government/news/end-of-the-road-for-unofficial-driving-test-booking-services):

- From 31 March 2026, the number of changes allowed on a car test booking fell from six to two.
- From 12 May 2026, only learner drivers can book, change, swap or cancel their own car test.
- From 9 June 2026, learners can move a test only to one of the three nearest test centres.

These rules go after the resale channel more than the bot itself. A cap on changes makes it harder to keep a placeholder booking moving until a buyer is found. DVSA says the nearest-centre rule should deter bookings at centres where the learner does not plan to sit the test.

## Release cancelled slots at random times

If a cancelled slot reappears the instant it is freed, the fastest poller wins every time. Collect cancellations and release them in small batches at random times, or offer them to a waiting list in order or by draw, with a short acceptance window tied to the candidate's identity. Do not show exact slot counts. For a large planned release, such as a new month of appointments, a [waiting room](https://stopbots.io/learn/scalping/do-waiting-rooms-stop-bots.md) with a randomised pre-queue spreads the load.

## Tools that help

_StopBots is published by Kairal, which is one of the tools listed. The list is not a ranking._
- [Kairal](https://www.kairal.io/product/bot-protection/) runs bot detection per endpoint with invisible challenges, and links the devices and IP addresses behind many candidate accounts.
- [Cloudflare Bot Management](https://www.cloudflare.com/application-services/products/bot-management/) scores requests at the edge so slot search and booking paths can get stricter rules.
- [Friendly Captcha](https://friendlycaptcha.com/) is a proof-of-work challenge with no image puzzles, from a company based in Germany, which suits public booking sites that want to avoid puzzles.
- [Queue-it](https://queue-it.com/) puts large planned slot releases behind a waiting room with a randomised pre-queue.

## Common questions

### Is it illegal to resell driving test slots?

DVSA has handled it through its booking terms. Since 12 May 2026, a third party booking, changing, swapping or cancelling someone else's car test breaches those terms. Rules in this area change, so check GOV.UK for the current position.

### Why do booking bots target cancellations?

Cancelled slots appear one at a time at moments nobody can predict, and the first request that sees one gets it. A bot that searches every few seconds sees them long before a person refreshing the page.

### Do CAPTCHAs stop booking bots?

They slow the crudest ones. DVSA says it uses CAPTCHA tests when it suspects automated access, alongside other bot protection, and solving services can pass many challenges for a fee, so a CAPTCHA works best as one layer among several.

## Related

- [Inventory hoarding: bots that hold stock in carts](https://stopbots.io/learn/scalping/inventory-hoarding-bots.md)
- [What are scalper bots?](https://stopbots.io/learn/scalping/what-are-scalper-bots.md)
- [How to protect APIs from bots](https://stopbots.io/learn/implementation/how-to-protect-apis-from-bots.md)
- [CAPTCHA alternatives: how to stop bots without a puzzle](https://stopbots.io/learn/captcha/captcha-alternatives.md)
