How to use API to get messages for a flight?

Hello,

Can someone help me with the API? I am having trouble getting it working, I am trying to either get all messages for a certain flight, or get all general messages and sift through them myself, but I am unable to figure out which API endpoints and which Parameters to use.

Thank you,

Kovy

I don’t use the API, but have you read the doc?

Ya, there isn’t really that much, and it also seems to be for an different version of the API (it uses the /v1 endpoint which returns a 404).

I got the API working (I think), but when I search an ICAO throught the API I get 2 messages (19 and 23 hours ago), whereas when I search it on tbg I get 100, many from more recently than the ones I got from the API. Does tbg have a vastly different data source, or is it a me/API problem?

I am 99.8% confident that every feed to me is also feeding airframes. So there should be no difference there.
Can you give me a hint if its VDL or satcom?
That might help in narrowing down what you are seeing vs not seeing.
Also is it a military aircraft?
Also did you try search in the airframes search?

Weird, I just retried it and I’m getting 6 back - 1 from 19 hours ago, and 5 from an hour ago. The 5 from an hour ago are “vdl”, and the 19 hour one is “aero-acars” (the 23 hour old one I was originally getting which is not showing anymore was also “aero-acars”).

It is a civilian commercial flight, hex 7380c1.

I just tried the search and it shows tons of messages, too, which seems to put the different data sources to rest (that was something Gemini said which sounded unlikely but I didn’t know for sure because of the difference in messages). I searched by putting the ICAO hex in the ‘airframes’ box.

So would seem to be an API problem or my program.