AISStream · Authentication Profile

Aisstream Authentication

Authentication

AISStream secures its APIs with apiKey across 1 declared security scheme, as derived from its OpenAPI definitions.

Vessel TrackingAISMaritimeShip TrackingReal-Time DataWebSocketStreamingShipsMaritime DataLocation
Methods: apiKey Schemes: 1 OAuth flows: API key in:

Security Schemes

api_key_in_payload apiKey
· in: message ()

Source

Authentication Profile

Raw ↑
generated: '2026-07-12'
method: derived
source: asyncapi/aisstream-asyncapi.yml + https://aisstream.io/documentation
summary:
  types:
  - apiKey
schemes:
- name: api_key_in_payload
  type: apiKey
  in: message
  fieldName: APIKey
  description: >-
    A single free API key obtained by registering at https://aisstream.io/. The
    key is placed in the `APIKey` field of the JSON subscription message sent
    over the open WebSocket (wss://stream.aisstream.io/v0/stream). It is NOT an
    HTTP header, bearer token, or OAuth flow - AISStream carries the credential
    inside the WebSocket message payload. A subscription message (with the key)
    must be sent within 3 seconds of connecting or the server closes the socket.
  sources:
  - https://aisstream.io/documentation
  - https://github.com/aisstream/ais-message-models