Examples
Three open source starters that call the API for real jobs. Clone one, add your key and change it to fit. Each is on GitHub under the vardic-dev organisation.
All three read your key from VARDIC_API_KEY. Start with the sandbox key vd_test_PublicDocsSandbox0000000000000001, which returns made-up sample data and is never billed, then swap in a live key. Get a free API key when you are ready.
Used car listing card#
A Next.js app. Type a registration and it builds a listing card: the vehicle record, MOT history, a mileage chart, tax status and a clean air zone (ULEZ) estimate. Good for a dealer site or a car buyer tool.
Uses the vehicle lookup. Source: vardic-dev/used-car-listing-starter.
Client check#
Check a company at Companies House, list its officers and people with significant control, and screen each officer against the sanctions lists. It saves the result as a PDF or CSV record for your file. Good for onboarding and know your business checks.
Uses the business check and sanctions screening. Source: vardic-dev/client-check-starter.
Fleet MOT and tax reminders#
A Python script. Give it a CSV of registrations and it sends a digest of upcoming MOT and tax expiry dates by email or to Slack. Run it on a schedule you choose, such as a daily cron job.
Uses the vehicle lookup. Source: vardic-dev/fleet-mot-reminders.
Sample data#
With the sandbox key, use registration AB12CDE for a normal car and TL12OLD for one whose mileage reading went down, and company number 09999999. See Sandbox and test keys.
Clean air zone results and mileage flags are estimates, not official decisions. See Data sources and coverage.