80trust / 100

Vehicle Compare

by Factline in AI models & inference

x402 APIPassing, checked 1 h ago

Use when the user is choosing between 2 or 3 Dutch used cars: plates side by side with make, model, age, APK expiry, insurance, open recall, odometer verdict, import and taxi history, catalogue price, CO2 and power, the best per metric and red flags. Input: Dutch licence plates. Source: RDW.

GET https://factline.dev/v1/vehicle/compare

Last 30 days

All checks passedSome failedAll failedNot checked
Uptime
100%
Response time
62 ms typical, 62 ms slowest 5%
Last check
1 h ago
Next check
any minute now

How to call it

# See the payment challenge (nothing is charged)
curl -i -X GET "https://factline.dev/v1/vehicle/compare?plates=GT722F%3BG941RB"
import { wrapFetchWithPayment } from "@x402/fetch";
import { x402Client } from "@x402/core/client";
import { ExactEvmScheme } from "@x402/evm/exact/client";
import { privateKeyToAccount } from "viem/accounts";

const client = new x402Client().register(
  "eip155:8453",
  new ExactEvmScheme(privateKeyToAccount(process.env.AGENT_KEY)),
);
const pay = wrapFetchWithPayment(fetch, client);

// Not sure it's safe to pay? Preflight it first for $0.005:
// GET https://toolvet.app/api/v1/check?url=https%3A%2F%2Ffactline.dev%2Fv1%2Fvehicle%2Fcompare
const res = await pay("https://factline.dev/v1/vehicle/compare?plates=GT722F%3BG941RB");
console.log(await res.json());

Example input

{
  "plates": "GT722F;G941RB"
}

Example output

{
  "best_by": [
    {
      "best": "G941RB",
      "metric": "Newest"
    },
    {
      "best": "G941RB",
      "metric": "Lowest CO2"
    },
    {
      "best": "GT722F",
      "metric": "Most power"
    }
  ],
  "comparison": [
    {
      "age_years": 11,
      "apk_expiry": "2027-08-14",
      "apk_valid": true,
      "catalogue_price_eur": 28135,
      "co2_g_per_km": 137,
      "first_registered": "2015-08-14",
      "fuel": "petrol",
      "imported": false,
      "insured": true,
      "make": "MAZDA",
      "model": "MAZDA CX-3",
      "odometer_verdict": "consistent",
      "open_recall": false,
      "plate": "GT722F",
      "power_kw": 88,
      "taxi": false
    },
    {
      "age_years": 6,
      "apk_expiry": "2027-03-10",
      "apk_valid": true,
      "catalogue_price_eur": 25699,
      "co2_g_per_km": 106,
      "first_registered": "2019-11-25",
      "fuel": "petrol",
      "imported": false,
      "insured": true,
      "make": "VOLKSWAGEN",
      "model": "POLO",
      "odometer_verdict": "consistent",
      "open_recall": false,
      "plate": "G941RB",
      "power_kw": 70,
      "taxi": false
    }
  ],
  "flags": [],
  "source": "RDW Open Data"
}

Security scan

  • No findings. We scan names, descriptions and tool definitions for hidden instructions and other prompt-injection patterns.

Recent checks

WhenResultHTTPTimePrice
1 h agoPassed40262 ms$0.004
6 h agoPassed40285 ms$0.004