Sinay Usage API

Monthly API usage and credit-consumption reporting.

Operations 6

GET /ports-vessels/api/v1/usages Retrieve your monthly usages for the Ports and Vessels API #
GET /metocean/api/v1/usages Retrieve your monthly usages for the Metocean API #
GET /co2/api/v2/usages Retrieve your monthly usages for the CO2 Emission API #
GET /etac/api/v1/usages Retrieve your monthly usages for the ETA API #
GET /congestion/api/v1/consumption/current-period Retrieve the current credit consumption period #
GET /congestion/api/v1/consumption/periods Retrieve all credit consumption periods #

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/sinay-usage-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

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. See our Privacy Policy and Terms.

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

OpenAPI Specification

sinay-usage-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Sinay Maritime Usage API
  description: Consolidated OpenAPI description of five Sinay Developers Platform APIs - Ports and Vessels, Metocean, CO2 Emission, ETA (ETAC), and Port Congestion.
  version: '1.0'
  contact:
    name: Sinay
    url: https://sinay.ai
servers:
- url: https://api.sinay.ai
  description: Sinay Developers Platform (all products; product base path in each route)
security:
- ApiKey: []
tags:
- name: Usage
  description: Monthly API usage and credit-consumption reporting.
paths:
  /ports-vessels/api/v1/usages:
    get:
      operationId: getPortsVesselsUsages
      tags:
      - Usage
      summary: Retrieve your monthly usages for the Ports and Vessels API
      parameters:
      - $ref: '#/components/parameters/UsageStartTime'
      - $ref: '#/components/parameters/UsageEndTime'
      responses:
        '200':
          description: Monthly usages.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/UsagesResponse'
        '401':
          $ref: '#/components/responses/Unauthorized'
  /metocean/api/v1/usages:
    get:
      operationId: getMetoceanUsages
      tags:
      - Usage
      summary: Retrieve your monthly usages for the Metocean API
      parameters:
      - $ref: '#/components/parameters/UsageStartTime'
      - $ref: '#/components/parameters/UsageEndTime'
      responses:
        '200':
          description: Monthly usages.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/UsagesResponse'
        '401':
          $ref: '#/components/responses/Unauthorized'
  /co2/api/v2/usages:
    get:
      operationId: getCo2Usages
      tags:
      - Usage
      summary: Retrieve your monthly usages for the CO2 Emission API
      parameters:
      - $ref: '#/components/parameters/UsageStartTime'
      - $ref: '#/components/parameters/UsageEndTime'
      responses:
        '200':
          description: Monthly usages.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/UsagesResponse'
        '401':
          $ref: '#/components/responses/Unauthorized'
  /etac/api/v1/usages:
    get:
      operationId: getEtaUsages
      tags:
      - Usage
      summary: Retrieve your monthly usages for the ETA API
      parameters:
      - $ref: '#/components/parameters/UsageStartTime'
      - $ref: '#/components/parameters/UsageEndTime'
      responses:
        '200':
          description: Monthly usages.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/UsagesResponse'
        '401':
          $ref: '#/components/responses/Unauthorized'
  /congestion/api/v1/consumption/current-period:
    get:
      operationId: retrieveCurrentConsumptionPeriod
      tags:
      - Usage
      summary: Retrieve the current credit consumption period
      responses:
        '200':
          description: The current credit consumption period.
          content:
            application/json:
              schema:
                type: object
        '401':
          $ref: '#/components/responses/Unauthorized'
  /congestion/api/v1/consumption/periods:
    get:
      operationId: retrieveConsumptionPeriods
      tags:
      - Usage
      summary: Retrieve all credit consumption periods
      responses:
        '200':
          description: All credit consumption periods.
          content:
            application/json:
              schema:
                type: object
        '401':
          $ref: '#/components/responses/Unauthorized'
components:
  parameters:
    UsageStartTime:
      name: startTime
      in: query
      required: false
      description: Start time at which usages must be found.
      schema:
        type: string
        format: date-time
    UsageEndTime:
      name: endTime
      in: query
      required: false
      description: End time at which usages must be found.
      schema:
        type: string
        format: date-time
  responses:
    Unauthorized:
      description: The authentication failed (missing or invalid API_KEY).
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorInfo'
  schemas:
    ErrorInfo:
      type: object
      required:
      - errorCode
      - message
      - details
      - time
      properties:
        errorCode:
          type: integer
          format: int32
        message:
          type: string
        details:
          type: array
          items:
            type: string
        time:
          type: string
          format: date-time
    UsagesResponse:
      type: object
      properties:
        allCalls:
          type: integer
          format: int64
        successCalls:
          type: integer
          format: int64
        clientErrorCalls:
          type: integer
          format: int64
        serverErrorCalls:
          type: integer
          format: int64
        consumedApiUnits:
          type: integer
          format: int64
  securitySchemes:
    ApiKey:
      type: apiKey
      in: header
      name: API_KEY
      description: API key issued by the Sinay Developers Platform, sent in the `API_KEY` request header on every call.