GETGet Motorcycle
https://api-motorcycles.dataandapis.com/v1/motorcycles/{idOrSlug}
Parámetros de ruta
| Parámetro | Ejemplo | |
|---|---|---|
| idOrSlug | honda_cbr1000rr-r_fireblade_sp_2025 | Obligatorio |
Petición de ejemplo
curl "https://api-motorcycles.dataandapis.com/v1/motorcycles/honda_cbr1000rr-r_fireblade_sp_2025" \
-H "X-Api-Key: YOUR_API_KEY"// npm install dataandapis
import { DataAndApis } from "dataandapis";
const client = new DataAndApis(); // reads DATAANDAPIS_API_KEY
const data = await client.motorcycles.getMotorcycle({
idOrSlug: "honda_cbr1000rr-r_fireblade_sp_2025",
});Respuesta de ejemplo{
"id": 57914,
"slug": "honda_ace_125_2022",
"brand": "Honda",
"model": "Ace 125",
"year": 2022,
"category": "Allround",
"engine": {
"displacementCcm": 124.1,
"powerHp": 8.5,
"torqueNm": 10.1,
"type": "V2, four-stroke",
"cooling": "Air"
},
"topSpeedKmh": null,
"dryWeightKg": 110,
"seatHeightMm": 790,
"fuelCapacityL": 10,
"hasImage": true,
"compressionRatio": 9.4,
"gearbox": "4-speed",
"transmission": "Chain (final drive)",
"fuelSystem": "Overhead Valves (OHV)",
"totalWeightKg": null,
"specs": {
"Model year": "2022",
"Category": "Allround",
"Displacement": "124.1 ccm (7.57 cubic inches)",
…
Ver la respuesta completa
{
"id": 57914,
"slug": "honda_ace_125_2022",
"brand": "Honda",
"model": "Ace 125",
"year": 2022,
"category": "Allround",
"engine": {
"displacementCcm": 124.1,
"powerHp": 8.5,
"torqueNm": 10.1,
"type": "V2, four-stroke",
"cooling": "Air"
},
"topSpeedKmh": null,
"dryWeightKg": 110,
"seatHeightMm": 790,
"fuelCapacityL": 10,
"hasImage": true,
"compressionRatio": 9.4,
"gearbox": "4-speed",
"transmission": "Chain (final drive)",
"fuelSystem": "Overhead Valves (OHV)",
"totalWeightKg": null,
"specs": {
"Model year": "2022",
"Category": "Allround",
"Displacement": "124.1 ccm (7.57 cubic inches)",
…{
"id": 57914,
"slug": "honda_ace_125_2022",
"brand": "Honda",
"model": "Ace 125",
"year": 2022,
"category": "Allround",
"engine": {
"displacementCcm": 124.1,
"powerHp": 8.5,
"torqueNm": 10.1,
"type": "V2, four-stroke",
"cooling": "Air"
},
"topSpeedKmh": null,
"dryWeightKg": 110,
"seatHeightMm": 790,
"fuelCapacityL": 10,
"hasImage": true,
"compressionRatio": 9.4,
"gearbox": "4-speed",
"transmission": "Chain (final drive)",
"fuelSystem": "Overhead Valves (OHV)",
"totalWeightKg": null,
"specs": {
"Model year": "2022",
"Category": "Allround",
"Displacement": "124.1 ccm (7.57 cubic inches)",
"Engine type": "V2, four-stroke",
"Power output": "8.5 HP (6.2 kW )) @ 6500 RPM",
"Torque": "10.1 Nm (1.0 kgf-m or 7.5 ft.lbs) @ 5000 RPM",
"Front suspension": "31mm Telescopic forks, 130mm axle travel",
"Front tire": "80/100-18",
"Front brakes": "Expanding brake (drum brake)",
"Seat height": "790 mm (31.1 inches) If adjustable, lowest setting.",
"Fuel capacity": "10.00 litres (2.64 US gallons)",
"Color options": "Red Metallic"
}
}





