AIS WebSocket stream
Subscribe to incoming reports by area, MMSI or message type. Use the feed for live views and event processing.
Explore AIS StreamAIS DATA FOR DEVELOPERS
Keep building with live vessel data. Pelyr combines an AIS WebSocket stream with an HTTPS API for vessel lookups and recorded tracks. Start with a free account, without running a receiver.
Free access is for non-commercial use. Plan limits and source attribution apply.
PELYR AIS STREAM
{
"type": "position",
"id": "1755183845123-0",
"license": "100",
"data": {
"mmsi": 230123456,
"msg_type": 1,
"lat": 60.161234,
"lon": 24.934567,
"sog": 12.3,
"cog": 45.6,
"heading": 47,
"rx_ts": "2026-08-13T10:00:00Z"
}
}SIDE BY SIDE
Both services deliver AIS data over WebSocket. Compare the access options, then adapt your integration to Pelyr’s documented frames.
| Feature | aisstream.io | Pelyr |
|---|---|---|
| Live AIS data | WebSocket / JSON | WebSocket / JSON |
| Geographic filters | Bounding boxes | Bounding boxes |
| Vessel and message filters | MMSI and message type | MMSI and message type |
| On-demand vessel data and tracks | Not documented as an HTTPS API | HTTPS API; history depends on plan |
| Getting started | New accounts and API key creation disabled | Free account and API key; no receiver required |
| Free access | Free service; closure announced for 31 Dec 2026 | Free plan for non-commercial use; limits apply |
Sources: AISstream documentation, Pelyr’s stream documentation, HTTPS API reference and Free plan guide. A feature described as undocumented is not presented as unavailable. Check current Pelyr plans for access limits and commercial use.
MOVING YOUR APPLICATION
Keep your application’s purpose and review the connection, data model and coverage it relies on.
Read the Pelyr protocolCreate an account and a key with stream access in the Pelyr dashboard. Keep the key on your server and check that your plan fits the areas, vessels and data volume you need.
Follow Pelyr’s authentication and subscription flow. Map your geographic and vessel filters to its protocol, then update your parser for Pelyr frames such as welcome, subscribed and position. The example above shows a Pelyr position frame.
Compare reception in your target waters and verify timestamps, units, missing fields and attribution. Test disconnects and resubscriptions, then switch your application once its data flow works as expected.
LIVE REPORTS AND LOOKUPS
Subscribe to incoming reports by area, MMSI or message type. Use the feed for live views and event processing.
Explore AIS StreamRequest vessel positions, inspect individual vessels and retrieve recorded tracks. History and request limits depend on your plan.
Explore the HTTPS APIPractical answers about free access, compatibility and the data your application needs.
Yes. A free Pelyr account includes the AIS WebSocket stream, HTTPS API and Vessel Map for non-commercial use. You do not need to operate an AIS receiver. Plan limits and source attribution apply; check the Free plan guide for the current allowances.
You can reuse your application’s WebSocket infrastructure, but you need to adapt authentication, subscriptions and message parsing to Pelyr’s protocol. AISstream API keys and its JSON message format cannot be used directly with Pelyr. Test reconnects, filters and downstream processing before switching.
Coverage depends on the receivers, sources and reporting activity available to each service. Compare the waters, vessel types, fields and update frequency your application needs. Pelyr does not promise identical coverage or a matching message for every AISstream event.
Pelyr’s HTTPS API provides recorded vessel tracks as well as current vessel data. The available history and request limits depend on your plan. Use the HTTPS API for lookups and the WebSocket stream for incoming reports.
Commercial use of Pelyr developer data requires a paid plan or a separate project agreement. Compare the developer plans and their limits on the Pricing page, or contact Pelyr to discuss your application and access requirements.
YOUR NEXT CONNECTION
Try the Free plan for a non-commercial project, or compare paid plans for your application.