Last Updated: February 2026
API Version: v4
V4 API adds support for four vehicle categories with full field specifications. These categories can now be created with detailed vehicle information (brand, model, mileage, equipment, etc.) just like cars and motorcycles.
1121)1102)1101)1045)Required Fields:
- body_type: Always "moped"
- brand: Brand name (e.g., "yamaha", "honda")
- model: Model name (e.g., "aerox", "vision")
- model_year: Manufacturing year
- registration_number: Vehicle registration number
- condition.mileage: Current mileage
- powertrain.transmission: Transmission type
- powertrain.fuels: Fuel types
Example:
{
"source_id": "moped-001",
"dealer_code": "YOUR_CODE",
"category_id": "1121",
"body": "Excellent condition Yamaha moped",
"price": [{"type": "list", "amount": 35000, "currency": "SEK"}],
"visible": true,
"location": {"longitude": 18.0686, "latitude": 59.3293},
"category_fields": {
"body_type": "moped",
"brand": "yamaha",
"model": "aerox",
"model_year": 2020,
"registration_number": "ABC123",
"condition": {
"mileage": {"unit": "km", "value": 5000},
"is_new_vehicle": false
},
"powertrain": {
"transmission": "automatic",
"fuels": ["gasoline"]
}
}
}
Optional Fields:
- condition.engine_runtime: Engine hours (for tracking engine usage)
- powertrain.power: Engine power specification
- equipment: Additional equipment and features
Required Fields:
- body_type: Camper body type (e.g., "integrated", "semi-integrated", "alcove")
- brand: Brand name (e.g., "mercedes-benz", "volkswagen")
- model: Model name
- model_year: Manufacturing year
- registration_number: Vehicle registration number
- condition.mileage: Current mileage
- powertrain.transmission: Transmission type
- powertrain.fuels: Fuel types
Example:
{
"source_id": "camper-001",
"dealer_code": "YOUR_CODE",
"category_id": "1102",
"body": "Spacious Mercedes camper with 4 beds and full kitchen",
"price": [{"type": "list", "amount": 450000, "currency": "SEK"}],
"visible": true,
"location": {"longitude": 18.0686, "latitude": 59.3293},
"category_fields": {
"body_type": "integrated",
"brand": "mercedes-benz",
"model": "sprinter",
"model_year": 2019,
"registration_number": "DEF456",
"condition": {
"mileage": {"unit": "km", "value": 50000}
},
"physics": {
"gross_weight": {"unit": "kg", "value": 3500},
"length": {"unit": "m", "value": 7.5},
"number_of_beds": 4
},
"powertrain": {
"transmission": "manual",
"fuels": ["diesel"]
}
}
}
Optional Fields:
- physics: Physical specifications
- gross_weight: Total weight specification
- length: Vehicle length
- number_of_beds: Sleeping capacity
- powertrain.power: Engine power
- equipment: Additional features
Body Types:
- integrated - Integrated camper
- semi-integrated - Semi-integrated
- alcove - Alcove camper
- other - Other types
Required Fields:
- body_type: Caravan type (e.g., "2-axle", "single-axle")
- brand: Brand name (e.g., "kabe", "hobby")
- model: Model name
- model_year: Manufacturing year
- registration_number: Vehicle registration number
Example:
{
"source_id": "caravan-001",
"dealer_code": "YOUR_CODE",
"category_id": "1101",
"body": "Modern Kabe caravan in excellent condition",
"price": [{"type": "list", "amount": 150000, "currency": "SEK"}],
"visible": true,
"location": {"longitude": 18.0686, "latitude": 59.3293},
"category_fields": {
"body_type": "2-axle",
"brand": "kabe",
"model": "classic",
"model_year": 2018,
"registration_number": "CAR123",
"condition": {
"is_new_vehicle": false
},
"physics": {
"gross_weight": {"unit": "kg", "value": 1800},
"length": {"unit": "m", "value": 6.5},
"number_of_beds": 6
}
}
}
Optional Fields:
- condition.is_new_vehicle: New vehicle flag
- physics: Physical specifications
- gross_weight: Total weight
- length: Caravan length
- number_of_beds: Sleeping capacity
Body Types:
- 2-axle - Two-axle caravan
- single-axle - Single-axle caravan
- other - Other configurations
Required Fields:
- body_type: Trailer type (e.g., "horse", "cargo", "boat")
- brand: Brand name (e.g., "böckmann", "humbaur")
- model: Model name
- model_year: Manufacturing year
- registration_number: Vehicle registration number
Example:
{
"source_id": "trailer-001",
"dealer_code": "YOUR_CODE",
"category_id": "1045",
"body": "Horse trailer for 2 horses with living quarters",
"price": [{"type": "list", "amount": 80000, "currency": "SEK"}],
"visible": true,
"location": {"longitude": 18.0686, "latitude": 59.3293},
"category_fields": {
"body_type": "horse",
"brand": "böckmann",
"model": "comfort",
"model_year": 2020,
"registration_number": "TRL123",
"condition": {
"is_new_vehicle": false
},
"physics": {
"gross_weight": {"unit": "kg", "value": 2000},
"length": {"unit": "m", "value": 4.5},
"cargo": {
"type": "volume",
"unit": "m3",
"value": 12.5
}
}
}
}
Optional Fields:
- condition.is_new_vehicle: New vehicle flag
- physics: Physical specifications
- gross_weight: Total weight
- length: Trailer length
- cargo: Cargo capacity
Body Types:
- horse - Horse trailer
- cargo - Cargo trailer
- boat - Boat trailer
- other - Other types
Specify mileage with unit and value:
{
"mileage": {
"unit": "km", // or "mil" (Swedish mile)
"value": 50000
}
}
Units:
- km - Kilometers
- mil - Swedish miles (1 mil = 10 km)
Specify weight with unit and value:
{
"gross_weight": {
"unit": "kg", // or "ton"
"value": 3500
}
}
Units:
- kg - Kilograms
- ton - Metric tons
Specify length with unit and value:
{
"length": {
"unit": "m", // meters
"value": 7.5
}
}
{
"transmission": "manual" // or "automatic"
}
Options:
- manual - Manual transmission
- automatic - Automatic transmission
{
"fuels": ["diesel"] // Array of fuel types
}
Options:
- gasoline - Gasoline/Petrol
- diesel - Diesel
- electric - Electric
- hybrid - Hybrid (electric + fuel)
- ethanol - Ethanol (E85)
- gas - Gas (CNG/LPG)
All Categories Require:
- body_type
- brand
- model
- model_year
- registration_number
Category-Specific Requirements:
- Moped: Must include condition.mileage and powertrain
- Camper: Must include condition.mileage and powertrain
- Caravan: No additional requirements beyond common fields
- Trailer: No additional requirements beyond common fields
{
"category_fields": {
"brand": ["This field is required."]
}
}
{
"category_fields": {
"condition": {
"mileage": {
"unit": ["Must be 'km' or 'mil'"]
}
}
}
}
{
"category_fields": {
"body_type": ["Invalid choice: 'invalid_type'"]
}
}
{
"mileage": {"unit": "km", "value": 5000} // ✅ Correct
}
Including optional fields like physics improves ad quality:
{
"physics": {
"gross_weight": {"unit": "kg", "value": 3500},
"length": {"unit": "m", "value": 7.5},
"number_of_beds": 4
}
}
Choose the most specific body type available for better categorization.
{
"image_urls": [
"https://example.com/front-view.jpg",
"https://example.com/interior.jpg",
"https://example.com/side-view.jpg"
]
}
If you have existing ads in V3 for these categories, see the Migration Guide for upgrade instructions.
For questions or issues:
Need Help? Contact your Blocket representative for technical support or integration assistance.