How to use the Wheelwise API in Ruby
UK used-car listings with fair-price grade, 36-month resale forecast and monthly cost per advert. This guide calls it from Ruby with code we've run against the live endpoint.
Online · 2096 msEndpoint tested Oct 24, 2026
1. What you need
Ruby 2.7 or newer. net/http and json are in the standard library.
No API key or sign-up. Endpoint: https://cars.limoja.ai/api/search?q=BMW&limit=1
2. Make the request
require "net/http"
require "json"
data = JSON.parse(Net::HTTP.get(URI("https://cars.limoja.ai/api/search?q=BMW&limit=1")))
puts data3. The response
Trimmed from the live response on Oct 24, 2026.
{
"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 Ruby?
No. The Wheelwise API works without an API key, so the Ruby 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: Python · Node.js · PHP · Java · Go · C#
Wheelwise API: ratings & reviews · Wheelwise API alternatives · more free APIs for Ruby