Perigee Tides Decisions API

Explainable planning decisions with provenance and freshness.

GitHub OpenAPI

Operations 4

POST /api/v1/decisions/trip-health Get one explainable Trip Health planning read #
POST /api/v1/decisions/best-window Rank 2–12 candidate local windows #
POST /api/v1/decisions/evaluate-rules Evaluate deterministic rules against a fresh planning decision #
POST /api/v1/decisions/material-change Compare a prior decision summary with current inputs #

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/perigeetides-com:perigeetides-com-decisions-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

perigeetides-com-decisions-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Perigee Tides Decisions API
  version: '2026-07-09'
  summary: Tides, coast conditions, sun, moon, and best-time planning for any place — one call, no station lookup.
  description: 'Start with the **Coast** endpoints: each takes a place the way a person says it (`place=Santa Cruz, CA`), coordinates, or a NOAA station ID and returns a complete, self-describing answer with local times, units, sources, and a link to the matching page on perigeetides.com. They need no API key within the anonymous rate limit.


    The station-scoped endpoints expose the underlying NOAA CO-OPS and National Weather Service products for callers that already hold a station ID. Decision endpoints return explainable planning reads.


    The same answers are available to AI assistants over MCP at `/mcp`. Results are planning information, never navigation or safety clearance.'
  termsOfService: https://perigeetides.com/terms
  contact:
    name: Perigee support
    email: support@cardinlabs.com
  license:
    name: Commercial and free-plan terms
    url: https://perigeetides.com/terms
servers:
- url: https://perigeetides.com
  description: Production
tags:
- name: Decisions
  description: Explainable planning decisions with provenance and freshness.
paths:
  /api/v1/decisions/trip-health:
    post:
      operationId: getTripHealth
      summary: Get one explainable Trip Health planning read
      description: Public product-led sample. Authenticated calls count against the credential's Developer quota.
      tags:
      - Decisions
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/TripHealthRequest'
            example:
              stationId: '9414290'
              activity: fishing
              localDate: '2026-07-10'
              localTime: 07:30
      responses:
        '200':
          description: Explainable decision.
          headers:
            X-Request-Id:
              description: Stable request identifier for support and logs.
              schema:
                type: string
                format: uuid
            X-RateLimit-Limit:
              description: Credential or anonymous requests-per-minute limit.
              schema:
                type: integer
            X-RateLimit-Remaining:
              description: Requests remaining in the current minute bucket.
              schema:
                type: integer
            X-RateLimit-Reset:
              description: Minute-bucket reset as Unix seconds.
              schema:
                type: integer
            X-Quota-Month-Limit:
              description: Monthly request allowance for the resolved Developer plan.
              schema:
                type: integer
            X-Quota-Month-Remaining:
              description: Requests remaining in the current UTC month.
              schema:
                type: integer
            X-Quota-Month-Reset:
              description: Monthly reset as Unix seconds.
              schema:
                type: integer
            X-Quota-Warning:
              description: 'Soft quota state: none, approaching, critical, or exhausted.'
              schema:
                type: string
                enum:
                - none
                - approaching
                - critical
                - exhausted
          content:
            application/json:
              schema:
                type: object
                required:
                - decision
                properties:
                  decision:
                    $ref: '#/components/schemas/TripHealthDecision'
        '400':
          $ref: '#/components/responses/BadRequest'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '403':
          $ref: '#/components/responses/Forbidden'
        '429':
          $ref: '#/components/responses/RateLimited'
        '503':
          $ref: '#/components/responses/Unavailable'
  /api/v1/decisions/best-window:
    post:
      operationId: findBestWindow
      summary: Rank 2–12 candidate local windows
      tags:
      - Decisions
      security:
      - ApiKeyBearer: []
      - ApiKeyHeader: []
      x-perigee-scope: decision:read
      x-perigee-feature: decision_api
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/BestWindowRequest'
      responses:
        '200':
          description: Successful response.
          headers:
            X-Request-Id:
              description: Stable request identifier for support and logs.
              schema:
                type: string
                format: uuid
            X-RateLimit-Limit:
              description: Credential or anonymous requests-per-minute limit.
              schema:
                type: integer
            X-RateLimit-Remaining:
              description: Requests remaining in the current minute bucket.
              schema:
                type: integer
            X-RateLimit-Reset:
              description: Minute-bucket reset as Unix seconds.
              schema:
                type: integer
            X-Quota-Month-Limit:
              description: Monthly request allowance for the resolved Developer plan.
              schema:
                type: integer
            X-Quota-Month-Remaining:
              description: Requests remaining in the current UTC month.
              schema:
                type: integer
            X-Quota-Month-Reset:
              description: Monthly reset as Unix seconds.
              schema:
                type: integer
            X-Quota-Warning:
              description: 'Soft quota state: none, approaching, critical, or exhausted.'
              schema:
                type: string
                enum:
                - none
                - approaching
                - critical
                - exhausted
          content:
            application/json:
              schema:
                type: object
                additionalProperties: true
        '400':
          $ref: '#/components/responses/BadRequest'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '403':
          $ref: '#/components/responses/Forbidden'
        '429':
          $ref: '#/components/responses/RateLimited'
        '503':
          $ref: '#/components/responses/Unavailable'
  /api/v1/decisions/evaluate-rules:
    post:
      operationId: evaluateDecisionRules
      summary: Evaluate deterministic rules against a fresh planning decision
      tags:
      - Decisions
      security:
      - ApiKeyBearer: []
      - ApiKeyHeader: []
      x-perigee-scope: decision:read
      x-perigee-feature: decision_api
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/EvaluateRulesRequest'
      responses:
        '200':
          description: Successful response.
          headers:
            X-Request-Id:
              description: Stable request identifier for support and logs.
              schema:
                type: string
                format: uuid
            X-RateLimit-Limit:
              description: Credential or anonymous requests-per-minute limit.
              schema:
                type: integer
            X-RateLimit-Remaining:
              description: Requests remaining in the current minute bucket.
              schema:
                type: integer
            X-RateLimit-Reset:
              description: Minute-bucket reset as Unix seconds.
              schema:
                type: integer
            X-Quota-Month-Limit:
              description: Monthly request allowance for the resolved Developer plan.
              schema:
                type: integer
            X-Quota-Month-Remaining:
              description: Requests remaining in the current UTC month.
              schema:
                type: integer
            X-Quota-Month-Reset:
              description: Monthly reset as Unix seconds.
              schema:
                type: integer
            X-Quota-Warning:
              description: 'Soft quota state: none, approaching, critical, or exhausted.'
              schema:
                type: string
                enum:
                - none
                - approaching
                - critical
                - exhausted
          content:
            application/json:
              schema:
                type: object
                additionalProperties: true
        '400':
          $ref: '#/components/responses/BadRequest'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '403':
          $ref: '#/components/responses/Forbidden'
        '429':
          $ref: '#/components/responses/RateLimited'
        '503':
          $ref: '#/components/responses/Unavailable'
  /api/v1/decisions/material-change:
    post:
      operationId: detectMaterialChange
      summary: Compare a prior decision summary with current inputs
      tags:
      - Decisions
      security:
      - ApiKeyBearer: []
      - ApiKeyHeader: []
      x-perigee-scope: decision:read
      x-perigee-feature: decision_api
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/MaterialChangeRequest'
      responses:
        '200':
          description: Successful response.
          headers:
            X-Request-Id:
              description: Stable request identifier for support and logs.
              schema:
                type: string
                format: uuid
            X-RateLimit-Limit:
              description: Credential or anonymous requests-per-minute limit.
              schema:
                type: integer
            X-RateLimit-Remaining:
              description: Requests remaining in the current minute bucket.
              schema:
                type: integer
            X-RateLimit-Reset:
              description: Minute-bucket reset as Unix seconds.
              schema:
                type: integer
            X-Quota-Month-Limit:
              description: Monthly request allowance for the resolved Developer plan.
              schema:
                type: integer
            X-Quota-Month-Remaining:
              description: Requests remaining in the current UTC month.
              schema:
                type: integer
            X-Quota-Month-Reset:
              description: Monthly reset as Unix seconds.
              schema:
                type: integer
            X-Quota-Warning:
              description: 'Soft quota state: none, approaching, critical, or exhausted.'
              schema:
                type: string
                enum:
                - none
                - approaching
                - critical
                - exhausted
          content:
            application/json:
              schema:
                type: object
                additionalProperties: true
        '400':
          $ref: '#/components/responses/BadRequest'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '403':
          $ref: '#/components/responses/Forbidden'
        '429':
          $ref: '#/components/responses/RateLimited'
        '503':
          $ref: '#/components/responses/Unavailable'
components:
  responses:
    Forbidden:
      description: The credential scope or plan entitlement is insufficient.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
    BadRequest:
      description: Input validation failed.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
    RateLimited:
      description: Minute or monthly allowance exhausted.
      headers:
        X-Request-Id:
          description: Stable request identifier for support and logs.
          schema:
            type: string
            format: uuid
        X-RateLimit-Limit:
          description: Credential or anonymous requests-per-minute limit.
          schema:
            type: integer
        X-RateLimit-Remaining:
          description: Requests remaining in the current minute bucket.
          schema:
            type: integer
        X-RateLimit-Reset:
          description: Minute-bucket reset as Unix seconds.
          schema:
            type: integer
        X-Quota-Month-Limit:
          description: Monthly request allowance for the resolved Developer plan.
          schema:
            type: integer
        X-Quota-Month-Remaining:
          description: Requests remaining in the current UTC month.
          schema:
            type: integer
        X-Quota-Month-Reset:
          description: Monthly reset as Unix seconds.
          schema:
            type: integer
        X-Quota-Warning:
          description: 'Soft quota state: none, approaching, critical, or exhausted.'
          schema:
            type: string
            enum:
            - none
            - approaching
            - critical
            - exhausted
        Retry-After:
          schema:
            type: integer
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
    Unauthorized:
      description: A valid credential is required.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
    Unavailable:
      description: A required provider or quota store is unavailable. Commercial quota fails closed.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
  schemas:
    BestWindowRequest:
      type: object
      additionalProperties: false
      required:
      - stationId
      - activity
      - candidates
      properties:
        stationId:
          type: string
        activity:
          type: string
        candidates:
          type: array
          minItems: 2
          maxItems: 12
          items:
            type: object
            required:
            - localDate
            - localTime
            properties:
              localDate:
                type: string
                format: date
              localTime:
                type: string
    MaterialChangeRequest:
      allOf:
      - $ref: '#/components/schemas/TripHealthRequest'
      - type: object
        required:
        - baseline
        properties:
          baseline:
            type: object
            additionalProperties: true
    EvaluateRulesRequest:
      allOf:
      - $ref: '#/components/schemas/TripHealthRequest'
      - type: object
        required:
        - rules
        properties:
          rules:
            type: array
            minItems: 1
            maxItems: 20
            items:
              $ref: '#/components/schemas/DecisionRule'
    TripHealthDecision:
      type: object
      required:
      - contractVersion
      - kind
      - decisionId
      - evaluatedAt
      - requestedFor
      - state
      - confidence
      - reasons
      - sources
      - disclaimer
      properties:
        contractVersion:
          type: string
        kind:
          const: trip-health
        decisionId:
          type: string
          format: uuid
        evaluatedAt:
          type: string
          format: date-time
        requestedFor:
          type: string
          format: date-time
        state:
          type: string
          enum:
          - normal
          - watch
          - action-needed
          - unknown
        confidence:
          type: string
          enum:
          - high
          - moderate
          - low
        headline:
          type: string
        summary:
          type: string
        reasons:
          type: array
          items:
            type: object
            additionalProperties: true
        missingInputs:
          type: array
          items:
            type: string
        sources:
          type: array
          items:
            $ref: '#/components/schemas/DecisionSource'
        disclaimer:
          type: string
    TripHealthRequest:
      type: object
      additionalProperties: false
      required:
      - stationId
      - activity
      - localDate
      - localTime
      properties:
        stationId:
          type: string
          pattern: ^[A-Za-z0-9]{4,16}$
        activity:
          type: string
          enum:
          - fishing
          - boating
          - surf-paddle
          - beachcombing
          - photography
          - coastal-living
        localDate:
          type: string
          format: date
        localTime:
          type: string
          pattern: ^([01]\d|2[0-3]):[0-5]\d$
    Error:
      type: object
      required:
      - error
      properties:
        error:
          type: object
          required:
          - code
          - message
          properties:
            code:
              oneOf:
              - type: string
              - type: integer
            message:
              type: string
            issues:
              type: array
              items:
                type: object
                additionalProperties: true
    DecisionSource:
      type: object
      required:
      - id
      - label
      - provider
      - kind
      - required
      - available
      - freshness
      - receivedAt
      - attributionUrl
      properties:
        id:
          type: string
        label:
          type: string
        provider:
          type: string
          enum:
          - NOAA CO-OPS
          - National Weather Service
          - Perigee
        kind:
          type: string
          enum:
          - prediction
          - observation
          - forecast
          - calculation
        required:
          type: boolean
        available:
          type: boolean
        freshness:
          type: string
          enum:
          - fresh
          - aging
          - stale
          - unknown
        sourceAt:
          type:
          - string
          - 'null'
          format: date-time
        receivedAt:
          type: string
          format: date-time
        ageMinutes:
          type:
          - integer
          - 'null'
        attributionUrl:
          type: string
          format: uri
    DecisionRule:
      oneOf:
      - type: object
        required:
        - id
        - kind
        - allowed
        properties:
          id:
            type: string
          kind:
            const: state_allowed
          allowed:
            type: array
            items:
              type: string
              enum:
              - normal
              - watch
              - action-needed
              - unknown
      - type: object
        required:
        - id
        - kind
        - minimum
        properties:
          id:
            type: string
          kind:
            const: minimum_confidence
          minimum:
            type: string
            enum:
            - low
            - moderate
            - high
      - type: object
        required:
        - id
        - kind
        - maximum
        properties:
          id:
            type: string
          kind:
            const: maximum_missing_inputs
          maximum:
            type: integer
            minimum: 0
      - type: object
        required:
        - id
        - kind
        - sourceIds
        properties:
          id:
            type: string
          kind:
            const: required_fresh_sources
          sourceIds:
            type: array
            items:
              type: string
  securitySchemes:
    ApiKeyBearer:
      type: http
      scheme: bearer
      bearerFormat: pg_live_…
      description: Preferred. Send a scoped Perigee API credential.
    ApiKeyHeader:
      type: apiKey
      in: header
      name: x-api-key
      description: Alternative for clients that cannot set Bearer auth.
externalDocs:
  description: Guides, MCP server, and SDKs
  url: https://perigeetides.com/developers
x-perigee:
  apiVersion: '2026-07-09'
  credentialScopes:
  - raw:read
  - mcp:use
  - decision:read
  - webhook:read
  - webhook:write
  - usage:read
  webhookEvents:
  - webhook.test
  - decision.material_change
  - quota.warning
  - quota.exceeded
  - api.degraded
  - status.incident.created
  - status.incident.updated
  - status.maintenance.scheduled
  monthlyQuotaWindow: UTC calendar month
  supportWindow: 12 months after a successor version becomes generally available