Open Waters Contributing API

Send what your receiver hears. Everything you feed is credited to your station, and 1,000 messages a day earns a personal token the feeder tier. A UDP station that delivers as much earns it for every connection from its network.

GitHub OpenAPI

Operations 2

POST /v1/receive HTTP #
GET /v1/nmea Deduplicated NMEA feed #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/openwaters-io:openwaters-io-contributing-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

openwaters-io-contributing-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: aiscast Contributing API
  version: 1.0.0
  description: 'Live AIS data from openwaters.io: current vessel positions, receiving stations, usage stats, self-serve tokens, and HTTP ingest for feeders. Successful responses are JSON; errors and `/health` are plain text. CORS is open, times are UTC, and JSON is compressed (zstd or gzip) when the request sends `Accept-Encoding`.


    The streams are documented separately: `/v0/stream` (WebSocket, aisstream.io-compatible), `/v1/stream` (WebSocket JSON frames, MQTT over WebSocket for feeders, or Server-Sent Events), `/v1/nmea` (WebSocket, raw NMEA), and raw NMEA ingest on UDP port 10110. `/mcp` is the MCP (Model Context Protocol) endpoint for AI assistants: Streamable HTTP, no sign-in, the same tiers as `/v1/vessels`. See openwaters.io/api/ais.


    All requests require a valid `User-Agent` header that names your app, version, and a URL or email address, such as `my-app/1.2 (you@example.org)`. See the User-Agent policy.'
  contact:
    name: aiscast
    url: https://github.com/openwatersio/aiscast
  termsOfService: https://github.com/openwatersio/aiscast/blob/main/docs/contributor-agreement.md
  license:
    name: MIT
    identifier: MIT
servers:
- url: https://ais.openwaters.io
tags:
- name: Contributing
  description: Send what your receiver hears. Everything you feed is credited to your station, and 1,000 messages a day earns a personal token the feeder tier. A UDP station that delivers as much earns it for every connection from its network.
paths:
  /v1/receive:
    post:
      operationId: receive
      tags:
      - Contributing
      summary: HTTP
      description: 'Contributing over HTTP with AIS-catcher''s `-H` output or your own client:


        ```

        AIS-catcher -H https://ais.openwaters.io/v1/receive USERPWD x: GZIP on INTERVAL 15

        ```


        The body is AIS-catcher''s `jsonaiscatcher` envelope or plain newline-separated NMEA, optionally gzipped, up to 1 MB. Needs a token, whose `sub` becomes the station name. 600 posts per minute per station. Feeding data is acceptance of the contributor agreement, linked from every response''s `Link: rel="terms-of-service"` header.'
      security:
      - token: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              description: AIS-catcher `jsonaiscatcher` envelope.
              properties:
                msgs:
                  type: array
                  items:
                    type: object
                    properties:
                      nmea:
                        type: array
                        items:
                          type: string
                      rxtime:
                        type: string
                        description: YYYYMMDDHHMMSS UTC; used as the message time when within 30 s of arrival.
                      channel:
                        type: string
            example:
              msgs:
              - nmea:
                - '!AIVDM,1,1,,A,13HOI:0P0000VOHLCnHQKwvL05Ip,0*23'
                rxtime: '20260820111900'
                channel: A
          text/plain:
            schema:
              type: string
              description: Newline-separated NMEA sentences, TAG blocks allowed.
            example: '!AIVDM,1,1,,A,13HOI:0P0000VOHLCnHQKwvL05Ip,0*23'
      responses:
        '200':
          description: Accepted. The body is empty.
        '400':
          $ref: '#/components/responses/BadRequest'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '413':
          description: Body larger than 1 MB (before or after gzip decompression).
          content:
            text/plain:
              schema:
                type: string
        '429':
          $ref: '#/components/responses/RateLimited'
  /v1/nmea:
    get:
      operationId: nmeaStream
      tags:
      - Contributing
      summary: Deduplicated NMEA feed
      description: 'The raw NMEA WebSocket, documented at openwaters.io/api/ais. It needs the feeder tier: a token that has it, or a connection from a network that feeds by UDP. The responses below are what a request receives when it is refused before the WebSocket upgrade.'
      security:
      - token: []
      - {}
      parameters:
      - name: bbox
        in: query
        required: false
        description: '`minLat,minLon,maxLat,maxLon`. Repeatable; boxes are ORed. Must fit inside the token''s `bbox` and `area` claims.'
        schema:
          type: string
        example: 58.5,9.5,60.5,11.5
      responses:
        '101':
          description: Switching to the WebSocket protocol.
        '400':
          $ref: '#/components/responses/BadRequest'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '429':
          $ref: '#/components/responses/RateLimited'
components:
  responses:
    RateLimited:
      description: Over the per-address or per-station request limit.
      content:
        text/plain:
          schema:
            type: string
          example: rate limited
    BadRequest:
      description: Malformed parameter or body. The plain-text body says which.
      content:
        text/plain:
          schema:
            type: string
    Unauthorized:
      description: Missing, invalid, expired, or revoked token, or the token lacks the role for this action. The plain-text body gives the reason.
      content:
        text/plain:
          schema:
            type: string
  securitySchemes:
    token:
      type: http
      scheme: bearer
      description: 'An aiscast claim token (`ak1....`), created by `POST /v1/keys` or issued by the operator. Besides `Authorization: Bearer`, the token is accepted as an HTTP Basic password (`anything:<token>`, which is what AIS-catcher''s USERPWD sends) or as `?key=<token>` on the URL. A token that is present but invalid, expired, revoked, used outside its `cidr`, or lacking the role for the action is refused; it never degrades to anonymous access.'