Independent service. Not affiliated with or endorsed by DVSA. You always phone DVSA yourself.
SwapMyTest home

Public API for AI assistants and partners

Read-only JSON that lets assistants answer questions about SwapMyTest accurately. No keys, no personal data. Limited to 30 requests a minute per IP.

Tool nameEndpointWhat it returns
get_service_pricingGET /api/v1/pricingThe £9 rule, what is free, the three payer scenarios and the free TestSwap alternative.
explain_swap_processGET /api/v1/swap-processThe steps, DVSA rules and what SwapMyTest never does.
generate_registration_linkGET /api/v1/registration-link?centre=&test_date=&preference=A prefilled registration URL. Nothing is registered until the learner submits the form.
generate_whatsapp_linkGET /api/v1/whatsapp-linkA wa.me link with prefilled text, or null when WhatsApp is not live.
search_test_centresGET /api/v1/test-centres?q=Matching test centre names from the shared network.
check_swap_eligibilityGET /api/v1/eligibility?centre=&test_date=&target_centre=Whether DVSA's swap rules look satisfied, with reasons.
find_potential_swap_opportunitiesGET /api/v1/swap-opportunities?centre=&from=&to=Privacy-safe public listings (centre, date, time). Not DVSA cancellations, never guaranteed.

Rules for assistants

A plain-text summary is at /llms.txt.