{
  "openapi": "3.0.1",
  "info": {
    "title": "US Car Import Calculator: Ukraine, Georgia, Lithuania, DE",
    "description": "Live IAAI auction lots with the full cost of importing each car to Ukraine, Georgia, Lithuania or Germany: auction fees, shipping, duty, excise, VAT, pension levy or pollution tax, registration and repair. Compares with AUTO.RIA and AutoScout24 prices to show profit and maximum bid.",
    "version": "0.1",
    "x-build-id": "BxwKsCblEEH3alVyy"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/donzely~us-car-import-calculator-europe/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-donzely-us-car-import-calculator-europe",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor, waits for its completion, and returns Actor's dataset items in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/acts/donzely~us-car-import-calculator-europe/runs": {
      "post": {
        "operationId": "runs-sync-donzely-us-car-import-calculator-europe",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor and returns information about the initiated run in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/runsResponseSchema"
                }
              }
            }
          }
        }
      }
    },
    "/acts/donzely~us-car-import-calculator-europe/run-sync": {
      "post": {
        "operationId": "run-sync-donzely-us-car-import-calculator-europe",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor, waits for completion, and returns the OUTPUT from Key-value store in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    }
  },
  "components": {
    "schemas": {
      "inputSchema": {
        "type": "object",
        "properties": {
          "searches": {
            "title": "IAAI searches",
            "type": "array",
            "description": "Make and model as on IAAI, one per line, e.g. \"bmw x5\", \"toyota camry\", \"tesla model 3\". Empty input runs the example \"bmw x5\".",
            "items": {
              "type": "string"
            }
          },
          "destinationCountries": {
            "title": "Destination countries",
            "type": "array",
            "description": "Where the car will be registered: Ukraine (UA), Georgia (GE), Lithuania (LT), Germany (DE). Country names in English or local languages work too. Each lot is analyzed for every destination.",
            "items": {
              "type": "string"
            }
          },
          "yearFrom": {
            "title": "Year from",
            "type": "integer",
            "description": "Minimum model year."
          },
          "yearTo": {
            "title": "Year to",
            "type": "integer",
            "description": "Maximum model year."
          },
          "maxLotsPerSearch": {
            "title": "Max lots per search",
            "minimum": 1,
            "maximum": 2000,
            "type": "integer",
            "description": "How many IAAI lots to analyze per search.",
            "default": 20
          },
          "runAndDriveOnly": {
            "title": "Run & Drive only",
            "type": "boolean",
            "description": "Keep only lots marked Run & Drive.",
            "default": false
          },
          "skipZeroAcv": {
            "title": "Skip lots without ACV",
            "type": "boolean",
            "description": "Skip lots where IAAI does not publish Actual Cash Value (used for bid and repair estimates).",
            "default": true
          },
          "onlyProfitable": {
            "title": "Only profitable lots",
            "type": "boolean",
            "description": "Output only lots with positive estimated profit (needs a local market price, so only Ukraine and Germany).",
            "default": false
          },
          "compareWithMarket": {
            "title": "Compare with local market",
            "type": "boolean",
            "description": "Ukraine: AUTO.RIA customs-cleared listings. Germany: AutoScout24. Georgia and Lithuania: not available (local sites block automated access).",
            "default": true
          },
          "targetProfitUsd": {
            "title": "Target profit (USD)",
            "type": "integer",
            "description": "Profit you want to keep per car. Used to compute the maximum bid.",
            "default": 2000
          },
          "assumedBidPctOfAcv": {
            "title": "Assumed winning bid (% of ACV)",
            "type": "integer",
            "description": "Expected hammer price as % of ACV when there is no Buy Now price. Empty = typical values by damage type."
          },
          "oceanFreightUsd": {
            "title": "Ocean freight (USD)",
            "type": "integer",
            "description": "Override the default for every destination (UA/LT via Klaipėda 1250, GE Poti 1600, DE Bremerhaven 1150)."
          },
          "inlandToDestinationUsd": {
            "title": "Port to destination transport (USD)",
            "type": "integer",
            "description": "Default: Klaipėda to Ukraine by truck 900, others 0."
          },
          "portAndForwardingUsd": {
            "title": "Port & forwarding (USD)",
            "type": "integer",
            "description": "Unloading, port and customs agent fees. Defaults 350-400."
          },
          "registrationLocal": {
            "title": "Registration fees (local currency)",
            "type": "integer",
            "description": "UA 15000 UAH (certification + registration), GE 480 GEL (customs service, declaration, plates, registration), LT 30 EUR, DE 300 EUR."
          },
          "conversionUsd": {
            "title": "US-to-EU conversion / approval (USD)",
            "type": "integer",
            "description": "Lights, homologation and individual approval for US-spec cars. Defaults: DE 1600, LT 800, UA/GE 0."
          },
          "usInlandTransportUsd": {
            "title": "US inland transport override (USD)",
            "type": "integer",
            "description": "Empty = estimated from the IAAI branch state."
          },
          "brokerFeeUsd": {
            "title": "Broker fee (USD)",
            "type": "integer",
            "description": "Bidding account / import broker fee.",
            "default": 400
          },
          "otherAuctionFeesUsd": {
            "title": "Other IAAI fees (USD)",
            "type": "integer",
            "description": "Service, title and environmental fees on top of buyer and bid fee.",
            "default": 140
          },
          "insurancePct": {
            "title": "Cargo insurance (% of bid)",
            "type": "number",
            "description": "Shipping insurance.",
            "default": 1.5
          },
          "repairCostFactor": {
            "title": "Repair cost multiplier",
            "type": "number",
            "description": "Scales the damage-based repair estimate (0 = ignore repairs).",
            "default": 1
          },
          "batteryKwh": {
            "title": "EV battery (kWh)",
            "type": "integer",
            "description": "Ukraine EV excise is €1 per kWh. Empty = estimated from the model."
          },
          "co2GPerKm": {
            "title": "CO2 (g/km) for Lithuania",
            "type": "integer",
            "description": "Lithuanian pollution tax depends on CO2. Empty = estimated from engine size."
          },
          "georgiaVatPct": {
            "title": "Georgia VAT (%)",
            "type": "integer",
            "description": "Private passenger-car imports to Georgia pay no VAT (default 0). Set 18 for business imports.",
            "default": 0
          },
          "proxyConfiguration": {
            "title": "Proxy",
            "type": "object",
            "description": "Optional Apify Proxy.",
            "default": {
              "useApifyProxy": false
            }
          }
        }
      },
      "runsResponseSchema": {
        "type": "object",
        "properties": {
          "data": {
            "type": "object",
            "properties": {
              "id": {
                "type": "string"
              },
              "actId": {
                "type": "string"
              },
              "userId": {
                "type": "string"
              },
              "startedAt": {
                "type": "string",
                "format": "date-time",
                "example": "2025-01-08T00:00:00.000Z"
              },
              "finishedAt": {
                "type": "string",
                "format": "date-time",
                "example": "2025-01-08T00:00:00.000Z"
              },
              "status": {
                "type": "string",
                "example": "READY"
              },
              "meta": {
                "type": "object",
                "properties": {
                  "origin": {
                    "type": "string",
                    "example": "API"
                  },
                  "userAgent": {
                    "type": "string"
                  }
                }
              },
              "stats": {
                "type": "object",
                "properties": {
                  "inputBodyLen": {
                    "type": "integer",
                    "example": 2000
                  },
                  "rebootCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "restartCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "resurrectCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "computeUnits": {
                    "type": "integer",
                    "example": 0
                  }
                }
              },
              "options": {
                "type": "object",
                "properties": {
                  "build": {
                    "type": "string",
                    "example": "latest"
                  },
                  "timeoutSecs": {
                    "type": "integer",
                    "example": 300
                  },
                  "memoryMbytes": {
                    "type": "integer",
                    "example": 1024
                  },
                  "diskMbytes": {
                    "type": "integer",
                    "example": 2048
                  }
                }
              },
              "buildId": {
                "type": "string"
              },
              "defaultKeyValueStoreId": {
                "type": "string"
              },
              "defaultDatasetId": {
                "type": "string"
              },
              "defaultRequestQueueId": {
                "type": "string"
              },
              "buildNumber": {
                "type": "string",
                "example": "1.0.0"
              },
              "containerUrl": {
                "type": "string"
              },
              "usage": {
                "type": "object",
                "properties": {
                  "ACTOR_COMPUTE_UNITS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_WRITES": {
                    "type": "integer",
                    "example": 1
                  },
                  "KEY_VALUE_STORE_LISTS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_INTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_EXTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_SERPS": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_UNBLOCKER_UNITS": {
                    "type": "integer",
                    "example": 0
                  }
                }
              },
              "usageTotalUsd": {
                "type": "number",
                "example": 0.00005
              },
              "usageUsd": {
                "type": "object",
                "properties": {
                  "ACTOR_COMPUTE_UNITS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_WRITES": {
                    "type": "number",
                    "example": 0.00005
                  },
                  "KEY_VALUE_STORE_LISTS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_INTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_EXTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_SERPS": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_UNBLOCKER_UNITS": {
                    "type": "integer",
                    "example": 0
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}