Skip to content
Wheelwise logo

How to use the Wheelwise API in Python

UK used-car listings with fair-price grade, 36-month resale forecast and monthly cost per advert. This guide calls it from Python with code we've run against the live endpoint.

Online · 2096 msEndpoint tested Oct 24, 2026

1. What you need

Python 3.8+ and the requests library: `pip install requests`.

No API key or sign-up. Endpoint: https://cars.limoja.ai/api/search?q=BMW&limit=1

2. Make the request

Python
import requests

res = requests.get("https://cars.limoja.ai/api/search?q=BMW&limit=1", timeout=10)
res.raise_for_status()
data = res.json()
print(data)

3. The response

Trimmed from the live response on Oct 24, 2026.

JSON
{
  "total": 37751,
  "page": 1,
  "per_page": 24,
  "results": [
    {
      "id": 72240,
      "source": "autotrader",
      "make": "BMW",
      "model": "M3",
      "variant": "3.2 Evolution 2dr",
      "year": 1999,
      "price": 19990,
      "mileage": 81370,
      "fuelType": "",
      "transmission": "",
      "bodyType": "",
      "url": "https://www.autotrader.co.uk/car-details/202607214368830"
    },
    {
      "id": 80136,
      "source": "autotrader",
      "make": "BMW",
      "model": "Z3 M",
      "variant": "3.2 2dr",
      "year": 1999,
      "price": 29950,
      "mileage": 54000,
      "fuelType": "",
      "transmission": "",
      "bodyType": "",
      "url": "https://www.autotrader.co.uk/car-details/202608225335828"
    },
    {
      "id": 73730,
      "source": "autotrader",
      "make": "BMW",
      "model": "M5",
      "variant": "4.9i 4dr",
      "year": 2000,
      "price": 21500,
      "mileage": 104246,
      "fuelType": "",
      "transmission": "",
      "bodyType": "",
      "url": "https://www.autotrader.co.uk/car-details/202606103172630"
    }
  ]
}

4. Before you ship

  • Set a timeout and handle non-200 responses: free APIs can rate-limit or go down.
  • Cache responses where you can, instead of calling the API on every page view.
  • Read the official documentation ↗ for rate limits and terms of use.

FAQ

Does the Wheelwise API need an API key in Python?

No. The Wheelwise API works without an API key, so the Python example runs as-is.

Can I call the Wheelwise API from the browser?

Not reliably: it doesn't send CORS headers. Call it from a server, serverless function or script.

What does the Wheelwise API return?

JSON. The example response on this page is trimmed from a real response our health check received on Oct 24, 2026.

Same API in: Node.js · PHP · Java · Go · Ruby · C#
Wheelwise API: ratings & reviews · Wheelwise API alternatives · more free APIs for Python