TruePath Filter API
Access & limitsPublic, no key needed · Medium▾
Open to everyone. A free API key from your profile raises the limits: send it in an X-API-Key header, or as api_key= in the address.
| 5 minutes | Hour | Day | |
|---|---|---|---|
| Without a key | 10 | 60 | 300 |
| With a key | 30 | 200 | 1,500 |
Log in to create a free key on your profile page.
Every answer carries X-RateLimit-Remaining and X-RateLimit-Reset. Over a limit, the answer is error 429 with retry_after in seconds. Refused requests do not count.
TruePath is the filter Altimeter Cloud runs on imported flight logs to take out the spikes and dropouts a barometric altimeter records, such as the pressure jump at ejection or a port blocked for a moment, while leaving the real flight alone. This API runs exactly the same filter over a log you send: any altimeter, any make, as long as the log has a time and an altitude for each sample.
csvParameters
| Parameter | Required | Meaning |
|---|---|---|
csv | Yes | The log, as an uploaded file or as text: one sample a line, the time and the altitude separated by a comma, semicolon, tab or spaces. Lines that are not two numbers, such as a header, are skipped. Times must rise. At least 50 samples, at most 100,000, and up to 20 MB. |
time_units | No | ms (the default) or s |
alt_units | No | m (the default) or ft. The answer comes back in the same units. |
launch | No | The launch time in the log's own time units, for a log timed from power on. Leave it out when the log's time 0 is the launch. |
time_col, alt_col | No | Which columns hold the time and the altitude, counting from 1. The defaults are 1 and 2. |
format | No | json (the default) or csv, a file of time, TruePath altitude and the altitude you sent |
What it changes
TruePath only replaces samples it judges to be errors in the pressure reading, and fills them from the flight around them. The climb under thrust is never edited, and a clean log comes back unchanged. Every time comes back exactly as you sent it, so the answer lines up sample for sample with your log.
Example
curl -X POST https://www.altimetercloud.com/api/truepath/ -F "csv=@flight.csv" -F "alt_units=ft"
{
"success": true,
"samples": 4210,
"skipped_lines": 1, the header
"samples_changed": 37,
"time_units": "ms", "alt_units": "ft", "launch": 0,
"samples_before_launch": 0,
"truepath_rev": 10,
"columns": ["time", "truepath_altitude", "source_altitude"],
"data": [ [0, 0.0, 0.0], [20, 0.4, 0.4], ... ]
}
Errors
| Code | Meaning |
|---|---|
405 | The log was not sent as a POST |
412 | A parameter is not valid, the log is missing, its times do not rise, or it has fewer than 50 samples |
413 | The log is too large or has more than 100,000 samples |
429 | Too many requests; retry_after says how long to wait |
Crediting AltimeterCloud
Free to use. If you use this API, or anything made from the answers, in a commercial product or service, credit AltimeterCloud with a link to www.altimetercloud.com at the point of use: on the screen, page or printout where the data appears, for example “Data from AltimeterCloud.com”. Any credits the data's own sources ask for, listed on this page, apply as well.



















