Performance
Recalculate flight time, range, coverage, storage, and cost for up to 100 airframes in one call under your own mission conditions.
curl -X POST https://api.airpixels.com/v1/performance \
-H "Authorization: Bearer $AP_KEY" \
-H "Content-Type: application/json" \
-d '{"airframe_id":"dji-matrice-4t","wind_mph":15,"temp_f":41,"elevation_ft":5280,"reserve_pct":25}'
const response = await fetch("https://api.airpixels.com/v1/performance", {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.AP_KEY}`,
"Content-Type": "application/json",
},
body: JSON.stringify({
airframe_id: "dji-matrice-4t",
wind_mph: 15,
temp_f: 41,
elevation_ft: 5280,
reserve_pct: 25,
}),
});
const { data, meta } = await response.json();
console.log(data[0].usable_flight_min, meta.conditions.shutter);
{
"data": [
{
"airframe_id": "dji-matrice-4t",
"name": "DJI Matrice 4T (M4T)",
"brochure_flight_min": 49,
"realistic_flight_min": 33.216,
"usable_flight_min": 24.912,
"mission_radius_mi": 4.664,
"gsd_cm_px": 1.08,
"acres_per_battery": 47.734,
"storage_gb_per_battery": 23.72,
"kit_cost_usd": 10281,
"scores": {
"overall": 66,
"cinematography": 41,
"mapping": 50,
"inspection": 85,
"travel": 47,
"value": 42
}
}
],
"next_cursor": null,
"meta": {
"plan": "builder",
"calls_used": 4,
"calls_included": 25000,
"conditions": {
"wind_mph": 15,
"temp_f": 41,
"elevation_ft": 5280,
"reserve_pct": 25,
"altitude_agl_ft": 200,
"front_overlap_pct": 75,
"side_overlap_pct": 70,
"speed_mph": 15,
"shutter": 1000
},
"model_version": "dce-engine-2026-11",
"total": 1,
"attribution": "Data: Air Pixels (airpixels.com)"
}
}
Recalculate Field Performance for up to 100 airframes
POST /performance returns Field Performance for as many as 100 airframes in a single call, recomputed under the mission conditions you pass in. Price a job across a shortlist of aircraft, or compare how the same airframe performs at a different altitude, wind speed, or reserve, without recalculating one airframe at a time.
POST https://api.airpixels.com/v1/performance
Every record is a planning estimate from the model behind the Drone Comparison Engine at airpixels.com/drones. The API was checked bit for bit against that engine for every airframe and camera under 27 condition sets.
POST /performance is available on Builder plans and above. Each page of results counts as one API call.
Request body
Send JSON. You can pick airframes by id or by filter, and set conditions either at the top level or inside a conditions object. Both shapes return the same records.
Use the flat shape to price a single airframe quickly.
{
"airframe_id": "dji-matrice-4t",
"wind_mph": 15,
"temp_f": 41,
"elevation_ft": 5280,
"reserve_pct": 25
}
Use the nested shape to compare a shortlist and control ordering and page size.
{
"airframe_ids": ["dji-matrice-4t", "dji-mavic-3e"],
"conditions": {
"wind_mph": 15,
"temp_f": 41,
"elevation_ft": 5280,
"reserve_pct": 25,
"altitude_agl_ft": 200
},
"sort": "-usable_flight_min",
"limit": 50
}
Set each condition key in one place only. If the same key appears inside conditions and at the top level, the request fails with a 400.
Body parameters
1 to 100 unique airframe ids. Records come back in the order you list them unless you pass sort. Do not combine with filters. Unknown ids are not an error: they are skipped and listed in meta.missing_ids.
A single airframe id, used with the flat shape.
The same filters as GET /airframes, supplied either as a filters object or as the same keys at the top level. List values accept arrays or comma-separated strings. Defaults to all airframes. Do not combine with ids.
The nine mission conditions, supplied either as a conditions object or as the same keys at the top level. Omitted conditions take the model defaults.
Camera index used for the mapping and storage outputs, 0 to 9. Defaults to 0. If the airframe has fewer cameras than the index you request, the API falls back to 0 and reports the camera it actually used in camera_index.
Keep only airframes whose usable_flight_min is at least this value. 0 or more. Alias: min_usable_min.
One of default, name, usable_flight_min, mission_radius_mi, acres_per_battery, gsd_cm_px, storage_gb_per_battery, kit_cost_usd, or overall_score. Prefix with - for descending order. Defaults to -usable_flight_min, or to the order of airframe_ids when you send ids.
Records per page, 1 to 100. Defaults to 25. meta.total reports how many airframes match your request.
The next_cursor value from the previous page. Omit it to request the first page.
Mission conditions
The nine mission conditions drive every output. Omitted conditions take the model defaults, and meta.conditions echoes the full set that was used, defaults included. Decimals are accepted. Values outside the listed range return a 400 and are never clamped to the nearest valid value.
Sustained wind in mph. Defaults to 15, valid range 0 to 30.
Air and battery temperature in °F. Defaults to 68, valid range 15 to 105.
Take-off elevation above sea level in feet. Defaults to 500, valid range 0 to 12000.
Battery percentage held back for landing. Defaults to 20, valid range 15 to 35.
Mapping altitude above ground level in feet. Defaults to 200, valid range 50 to 400. Sets the ground sample distance and photo footprint.
Forward photo overlap. Defaults to 75, valid range 60 to 85.
Side, or line, overlap. Defaults to 70, valid range 60 to 80.
Requested mapping speed in mph. Defaults to 15, valid range 5 to 30. The API lowers the effective speed where the photo interval, motion blur, or rolling shutter limit requires it, and names the constraint in mapping_speed_limited_by.
Shutter speed as a fraction denominator, in seconds. Defaults to 1000.
2505001000160020004000The tenth model input, the camera index, is documented with the body parameters as camera.
Example: price a high-altitude mission
This request prices a Matrice 4T at 5,280 ft with a 15 mph wind, 41 °F air, and a 25% reserve. The remaining five conditions use their defaults.
A response carries data (one record per airframe), next_cursor, and meta. When you filter or page, check meta.total to see how many airframes matched.
Response fields
Every record returns the same field set. Minutes, distances, and GSD are rounded to three decimals, factors to four decimals, footprints to one decimal place, and money to cents.
Identity
The airframe the record describes.
Display name of the airframe.
Aircraft manufacturer.
Manufacturer model name.
Index of the camera used for the mapping and storage outputs. This can differ from the camera you requested after a fallback.
Name of the camera used for those outputs.
The manufacturer's published flight time in minutes, before any derating.
Where the airframe and camera data came from.
When the airframe data was last verified.
Flight time
Flight time in minutes after wind, temperature, and elevation derating.
Flight time in minutes left for the mission once the reserve is held back. This is the number to plan against.
Minutes of flight time given up to conditions and reserve.
Derating multiplier applied for the requested wind, from 0 to 1.
Derating multiplier applied for the requested temperature, from 0 to 1.
Derating multiplier applied for the take-off elevation, from 0 to 1.
true when the requested wind exceeds the airframe's rated wind limit.
The airframe's rated wind limit in mph.
Range and coverage
Out-and-back radius the airframe can cover on the usable flight time, in miles.
The same radius in kilometers.
Ground sample distance at the mapping altitude, in centimeters per pixel.
Ground sample distance at the mapping altitude, in inches per pixel.
Width of a single photo's ground footprint at the mapping altitude, in feet.
Height of a single photo's ground footprint at the mapping altitude, in feet.
Area one battery can map at the requested overlaps.
The same area in hectares.
Number of photos one battery can capture at the requested overlaps.
Speed
The speed the aircraft can actually fly while capturing usable imagery, which may be below the requested speed.
The constraint that held mapping_speed_mph below the requested speed.
The individual caps behind the speed calculation: requested_speed, photo_interval, motion_blur, and rolling_shutter_cap.
true when the requested speed is above 8 m/s (about 17.9 mph) on a rolling-shutter camera.
Storage and media
Video bitrate the camera records at, in megabits per second.
Data written per minute of flight, in gigabytes.
Storage consumed by one battery's worth of capture, in gigabytes.
Sustained card write speed required, in megabytes per second.
The lowest SD card speed class that keeps up with that write speed.
How many batteries you can fly before filling a 256 GB card.
Batteries required for nonstop operation.
Cost and ratings
Typical kit cost in US dollars.
Battery cost attributable to each flight hour, in US dollars.
The FAA operating tier that applies to the airframe.
The readable label for that tier.
Six ratings: overall, cinematography, mapping, inspection, travel, and value.
Pagination and meta
Cursor for the next page, or null when this is the last page.
Number of airframes that match the request, across all pages.
Ids from airframe_ids that no longer resolve. Present only when at least one id is missing.
Every condition used for the calculation, with defaults filled in. Echo this back to the customer or store it with the quote so the numbers can be reproduced.
Identifier of the model that produced the records.
The plan the call was made on.
Calls used in the current period, including this one.
Calls included in your plan for the period.
Attribution string to display wherever you publish the data.
Page through large result sets
A page holds up to 100 records. Pass limit to size the page, then follow next_cursor until it comes back as null. Every page is a separate call.
let cursor;
const records = [];
do {
const response = await fetch("https://api.airpixels.com/v1/performance", {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.AP_KEY}`,
"Content-Type": "application/json",
},
body: JSON.stringify({
limit: 100,
sort: "-usable_flight_min",
cursor,
}),
});
if (!response.ok) {
throw new Error(`Performance request failed: ${response.status}`);
}
const page = await response.json();
records.push(...page.data);
cursor = page.next_cursor;
} while (cursor);
console.log(records.length);
Cursors are opaque. Reuse the value exactly as returned and do not construct one yourself; a malformed cursor returns a 400.
Errors
Failures return a JSON body with a code and a message. The message names the parameter that caused the problem.
| Status | Code | Cause and fix |
|---|---|---|
| 400 | bad_request | Unknown or repeated parameter, value outside its range, malformed JSON, or bad cursor. Fix the request as the message describes. |
| 401 | missing_key, invalid_key, key_revoked | The API key is absent, wrong, or revoked. Send a current key in the Authorization header. |
| 403 | not_in_plan | The endpoint requires Builder or above. Upgrade the plan or use an endpoint your plan includes. |
| 429 | rate_limited | Too many requests in a short window. Wait for the number of seconds in Retry-After, then retry. |
| 429 | quota_exceeded | The period's call allowance is spent. Wait for the reset or raise the plan limit. |
Call counting
- One call returns up to 100 records, and each page counts as one call.
- Rejected requests are never counted: 400, 401, 402, 403, and both kinds of 429 are free.
- Requests that run are counted, even when they match nothing. On the single-airframe endpoint
GET /airframes/{id}/performance, a 404 for an unknown id still consumes a call. meta.calls_usedandmeta.calls_includedin every response show where you stand.
Model version and interpretation
Every response carries meta.model_version, currently dce-engine-2026-11. Store it with any figures you keep so you can tell later which estimate a stored quote came from.
Field Performance Model documents how the inputs become outputs and what the figures assume. Field-level detail sits in the Data dictionary, and quotas and status codes in Plans and limits.
The figures are decision support from a model, not test results. Confirm flight time, wind limits and battery planning against the aircraft's manual and your own pre-flight assessment. Part 107 Compliance covers the operating rules that still apply.
For a single airframe under the same conditions, use GET /airframes/{id}/performance. To price the job around those airframes, use the rates endpoints.