# FlightAware message stream connection

**URL:** <https://discussions.flightaware.com/t/flightaware-message-stream-connection/93287>\
**Category:** AeroAPI\
**Created:** [June 18, 2024, 6:04am UTC](https://discussions.flightaware.com/t/flightaware-message-stream-connection/93287 "2024-06-18T06:04:13Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![niharrmapidots](https://sea1.discourse-cdn.com/flex019/user_avatar/discussions.flightaware.com/niharrmapidots/32/127510_2.png) [@niharrmapidots](https://discussions.flightaware.com/u/niharrmapidots)\
**Post date:** [June 18, 2024, 6:04am UTC](https://discussions.flightaware.com/t/flightaware-message-stream-connection/93287/1 "2024-06-18T06:04:13Z")

</div>

Can I retrieve multiple types of data, like position, arrival, and departure information, in a single connection to the FlightAware Firehose?

---

<div class="post-metadata">

**Author:** ![cbw](https://sea1.discourse-cdn.com/flex019/user_avatar/discussions.flightaware.com/cbw/32/117000_2.png) [@cbw](https://discussions.flightaware.com/u/cbw)\
**Post date:** [June 20, 2024, 5:10am UTC](https://discussions.flightaware.com/t/flightaware-message-stream-connection/93287/2 "2024-06-20T05:10:53Z")

</div>

Yes, with a single firehose connection, all of those data elements can be received.

---

<div class="post-metadata">

**Author:** ![niharrmapidots](https://sea1.discourse-cdn.com/flex019/user_avatar/discussions.flightaware.com/niharrmapidots/32/127510_2.png) [@niharrmapidots](https://discussions.flightaware.com/u/niharrmapidots)\
**Post date:** [July 2, 2024, 12:55pm UTC](https://discussions.flightaware.com/t/flightaware-message-stream-connection/93287/3 "2024-07-02T12:55:22Z")

</div>

Could please help me with the sample code ?

---

<div class="post-metadata">

**Author:** ![bovineone](https://sea1.discourse-cdn.com/flex019/user_avatar/discussions.flightaware.com/bovineone/32/117631_2.png) [@bovineone](https://discussions.flightaware.com/u/bovineone)\
**Post date:** [July 2, 2024, 8:09pm UTC](https://discussions.flightaware.com/t/flightaware-message-stream-connection/93287/4 "2024-07-02T20:09:24Z")

</div>

By default, any [firehose initiation command](https://www.flightaware.com/commercial/firehose/documentation/commands) will send all message types that your account has access to. Only when you specify the `events` command will the server limit what messages you will receive to just what you request.

---

<div class="post-metadata">

**Author:** ![system](https://sea1.discourse-cdn.com/flex019/user_avatar/discussions.flightaware.com/system/32/38558_2.png) [@system](https://discussions.flightaware.com/u/system)\
**Post date:** [July 2, 2025, 8:09pm UTC](https://discussions.flightaware.com/t/flightaware-message-stream-connection/93287/5 "2025-07-02T20:09:29Z")

</div>

Closed on July 2, 2025, 8:09pm UTC

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
