The Helicopter API provides detailed technical specs on hundreds of helicopter models.
https://api.api-ninjas.com/v1/helicopter
Get current helicopter data by manufacturer and model.
At least one of the following parameters (other than limit
) must be set:
manufacturer
optionalCompany that designed and built the helicopter.
model
optionalHelicopter model name.
min_speed
optionalMinimum max. air speed in knots.
max_speed
optionalMaximum max. air speed in knots.
min_range
optionalMinimum range of the helicopter in nautical miles.
max_range
optionalMaximum range of the helicopter in nautical miles.
min_length
optionalMinimum length of the helicopter in feet.
max_length
optionalMaximum length of the helicopter in feet.
min_height
optionalMinimum height of the helicopter in feet.
max_height
optionalMaximum height of the helicopter in feet.
limit
optionalHow many results to return. Must be between 1
and 30
. Default is 1
.
https://api.api-ninjas.com/v1/helicopter?manufacturer=Bell&model=206
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
[
{
"manufacturer": "Bell Helicopter",
"model": "206L-3",
"max_speed_sl_knots": "130",
"cruise_speed_sl_knots": "110",
"range_nautical_miles": "305",
"cruise_time_min": "180",
"fuel_capacity_gallons": "110",
"gross_external_load_lbs": "4250",
"external_load_limit_lbs": "2000",
"main_rotor_diameter_ft": "37.0",
"num_blades": "2",
"blade_material": "metal",
"rotor_type": "SRT",
"storage_width_ft": "7.333",
"length_ft": "42.667",
"height_ft": "10.5"
}
]
1
2
3
4
5
6
7
8
9
10
11
import requests
manufacturer = 'Bell'
model = '206'
api_url = 'https://api.api-ninjas.com/v1/helicopter?manufacturer={}&model={}'.format(manufacturer, model)
response = requests.get(api_url + city, headers={'X-Api-Key': 'YOUR_API_KEY'})
if response.status_code == requests.codes.ok:
print(response.text)
else:
print("Error:", response.status_code, response.text)
If your programming language is not listed in the Code Example above, you can still make API calls by using a HTTP request library written in your programming language and following the above documentation.