---
title: "Import calculator"
description: "Estimate the landed cost of importing a vehicle. These are estimates, not a binding quote."
canonical: "https://thecarapi.com/docs/calculator"
contract_version: "2026-08-19"
api_base: "https://api.thecarapi.com"
source: "https://thecarapi.com/docs/calculator.md"
---

# Import calculator

Estimate the landed cost of importing a vehicle. These are estimates, not a binding quote.

## GET /api/calculator/countries

List supported origin and destination countries with EU membership and VAT rates.

**Scope:** `calculator`

### Example requests

```http
GET https://api.thecarapi.com/api/calculator/countries
```

```bash
curl -H "X-API-Key: $API_KEY" "https://api.thecarapi.com/api/calculator/countries"
```

### Example response

```json
{
  "success": true,
  "countries": [
    {
      "code": "DE",
      "name": "Germany",
      "eu": true,
      "vat": 0.19
    },
    {
      "code": "KR",
      "name": "South Korea",
      "eu": false,
      "vat": 0
    }
  ]
}
```

## POST /api/calculator/calculate

Estimate duty, VAT, fees, and the landed total for one lot price.

**Scope:** `calculator`

### Parameters

| Parameter | Send in | Type | Required | Example | Where the value comes from | Description |
| --- | --- | --- | --- | --- | --- | --- |
| `price` | Query string | number | yes | `15000` | /api/search -> results[].public_price_eur | Lot price. Must be between 0 and 10,000,000. |
| `origin` | Query string | string | no | `KR` | /api/calculator/countries -> countries[].code | Origin country code. Default KR. |
| `destination` | Query string | string | no | `BG` | /api/calculator/countries -> countries[].code | Destination country code. Default BG. |
| `car_type` | Query string | string | no | `standard` | Choose standard or classic. | Default standard. |
| `currency` | Query string | string | no | `EUR` | Currency label used by your application. | Echoed back in the response. Default EUR. |
| `site_name` | Query string | string | no | `ecarstrade` | /api/sites -> sites[].name | Source used to select the fee model: encar, openlane, auto1, schadeautos, copart, or ecarstrade. |
| `db_tax / db_delivery / db_final` | Query string | number | no | `450` | Precomputed values from your own records. | Optional auction fee, delivery, or final price overrides. |

### Example requests

```http
POST https://api.thecarapi.com/api/calculator/calculate
{
  "price": 15000,
  "origin": "KR",
  "destination": "BG",
  "site_name": "encar"
}
```

```http
POST https://api.thecarapi.com/api/calculator/calculate
{
  "price": 9800,
  "origin": "BE",
  "destination": "BG",
  "site_name": "ecarstrade"
}
```

### Example response

```json
{
  "success": true,
  "currency": "EUR",
  "breakdown": {
    "lot_price": 15000,
    "auction_fee": 0,
    "trucking": 0,
    "shipping": 1800,
    "our_fee": 700,
    "subtotal_customs_value": 16800,
    "duty_rate": 10,
    "duty_amount": 1680,
    "vat_rate": 20,
    "vat_amount": 3696,
    "customs_agency": 800,
    "custom_clearance_total": 6176,
    "estimated_total": 23676
  }
}
```

**Notes.** Duty and VAT rates are returned as percentages. An invalid price returns 400.
