Skip to content
Wheelwise logo

How to use the Wheelwise API in C#

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

Online · 2096 msEndpoint tested Oct 24, 2026

1. What you need

.NET 6 or newer. Paste into a top-level `Program.cs` and run `dotnet run`.

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

2. Make the request

C#
using System.Net.Http;

using var http = new HttpClient { Timeout = TimeSpan.FromSeconds(10) };
var json = await http.GetStringAsync("https://cars.limoja.ai/api/search?q=BMW&limit=1");
Console.WriteLine(json);

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 C#?

No. The Wheelwise API works without an API key, so the C# 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 · Ruby
Wheelwise API: ratings & reviews · Wheelwise API alternatives · more free APIs for C#