RateAPI Monitors API

Monitor simulation and delivery inspection.

GitHub OpenAPI

Operations 1

POST /v1/webhook-deliveries List webhook delivery audit log + redeliver a failed delivery #

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/rateapi-dev:rateapi-dev-monitors-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

rateapi-dev-monitors-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Rate Monitors API
  description: 'API for intelligent financial rate decisions and relationship-aware credit union discovery across the United States. **Primary Endpoint**: Use `/v1/decisions` to get product-matched recommendations based on borrower context and current market rates. **Institution Discovery**: Use `/credit-unions/nearby?zip=...` to find the nearest NCUA-reported branch per credit union, then `/credit-unions/{state}/{slug}` for current rates, membership eligibility, services, branches, and source-labelled NCUA quarterly facts. **Interactive Documentation**: Visit api.rateapi.dev in your browser to access the full Swagger UI interface where you can test API endpoints directly. **Authentication**: Most endpoints require an API key passed via the `X-API-Key` header. Create a free API key using `POST /keys`. **Tiered Rate Limits**:

    - **Tier 1 (Free)**: 20 requests per 30 days

    - **Tier 2 (Pro)**: 100 requests per 30 days ($49/month)

    - **Tier 3 (Enterprise)**: Unlimited requests with uncapped querying and SFTP/CSV/Excel exports


    Contact us to upgrade your tier for higher limits. **Caching**: Responses are aggressively cached at the edge for optimal performance. Cache status is indicated via `X-Cache` response headers. **Key Features**:

    - **Smart Decisions** (`/v1/decisions`): Get personalized financing recommendations with confidence scores

    - **Nearest Credit Unions** (`/credit-unions/nearby`): Discover local institutions by approximate branch distance

    - **Relationship-Aware Profiles** (`/credit-unions/{state}/{slug}`): Inspect rates, membership, NCUA facts, services, and branches

    - **API Key Management** (`/keys`): Self-service key creation and usage tracking

    - Evidence-backed loan and deposit rate data from credit unions nationwide

    - Edge-cached for fast global access

    - RESTful JSON API with comprehensive OpenAPI documentation


    ## Versioning and deprecation


    Product and decision endpoints use the `/v1` URL prefix. Stable reference routes such as `/credit-unions`, `/credit-unions/nearby`, `/credit-unions/{state}/{slug}`, `/meta`, and `/keys` are intentionally unversioned; use each path exactly as published in this document rather than adding `/v1`. Additive changes — new endpoints, new response fields, new optional parameters, new enum members — ship continuously, so write clients that ignore fields they do not recognise rather than treating them as errors. Nothing is removed without at least **180 days** of notice. A deprecated surface keeps behaving exactly as before and starts sending RFC 8594 `Deprecation` and `Sunset` headers, plus a `Link: ; rel="deprecation"`, and is marked `deprecated: true` in this document so a generated client can flag it at build time. Nothing is currently deprecated. Full policy: https://rateapi.dev/deprecation-policy


    ## Rate limits


    Every response carries `RateLimit-Limit`, `RateLimit-Remaining`, `RateLimit-Reset` (seconds) and `RateLimit-Policy`, alongside the legacy `X-RateLimit-*` headers, which are retained indefinitely. A 429 additionally carries `Retry-After` in seconds. Read them and self-throttle rather than discovering the ceiling by hitting it. ## Long-running work


    Every operation in this API completes inside its own request — there is no batch job, no report render, and no crawl to wait on, so nothing returns `202 Accepted` today. The convention is fixed in advance so the first operation that needs it does not invent its own: a long-running route answers `202` with a `Location` header naming a status resource and a body matching `AsyncJobAccepted` (`job_id`, `status`, `status_url`), and the client polls no faster than `Retry-After`. See the `Accepted` response and `AsyncJobAccepted` schema in components. ## Authenticating


    A `401` carries `WWW-Authenticate: Bearer resource_metadata="https://api.rateapi.dev/.well-known/oauth-protected-resource"`.'
  version: 2.0.0
  contact:
    name: Rate API
    url: https://rateapi.dev
  termsOfService: https://rateapi.dev/terms
  x-deprecation-policy: https://rateapi.dev/deprecation-policy
  license:
    name: RateAPI Terms of Service
    url: https://rateapi.dev/terms
servers:
- url: https://api.rateapi.dev
  description: Production
security: []
tags:
- name: Monitors
  description: Monitor simulation and delivery inspection.
paths:
  /v1/webhook-deliveries:
    post:
      operationId: webhookDeliveries
      summary: List webhook delivery audit log + redeliver a failed delivery
      description: 'Org-scoped (key-authed) observability for monitor webhook deliveries. Returns a per-event delivery log with status (delivered/failed/pending), response code, error, response time, and timestamp, plus a rollup summary. Set `action: "redeliver"` with a `delivery_id` to replay a stored payload verbatim (the replay is itself audited). Every row is scoped to the authenticated API key for org isolation. This route is the single source of truth; the MCP `list_webhook_deliveries` tool and the dashboard call it.


        **Authentication required**: Pass your API key in the `X-API-Key` header.'
      tags:
      - Monitors
      security:
      - apiKey: []
      requestBody:
        required: false
        content:
          application/json:
            schema:
              oneOf:
              - title: List deliveries
                type: object
                properties:
                  action:
                    type: string
                    description: 'Which operation to perform: `list` reads past deliveries, `redeliver` re-sends one.'
                    enum:
                    - list
                    default: list
                  monitor_id:
                    type: string
                    description: Filter to one monitor.
                  status:
                    type: string
                    enum:
                    - delivered
                    - failed
                    - pending
                    description: Filter by delivery outcome.
                  limit:
                    type: integer
                    description: Maximum number of records this response may contain.
                    minimum: 1
                    maximum: 100
                    default: 50
                  offset:
                    type: integer
                    description: How many records were skipped before this page.
                    minimum: 0
                    default: 0
              - title: Redeliver a delivery
                type: object
                required:
                - action
                - delivery_id
                properties:
                  action:
                    type: string
                    description: 'Which operation to perform: `list` reads past deliveries, `redeliver` re-sends one.'
                    enum:
                    - redeliver
                  delivery_id:
                    type: integer
                    description: The audit-log id of the delivery to replay.
            examples:
              list:
                summary: List failed deliveries for a monitor
                value:
                  action: list
                  monitor_id: mon_123
                  status: failed
                  limit: 50
                  offset: 0
              redeliver:
                summary: Replay a failed delivery
                value:
                  action: redeliver
                  delivery_id: 4821
      responses:
        '200':
          description: Delivery log (list) or redelivery result.
          content:
            application/json:
              schema:
                oneOf:
                - title: List response
                  type: object
                  properties:
                    deliveries:
                      type: array
                      description: Past webhook deliveries, most recent first.
                      items:
                        type: object
                        properties:
                          id:
                            type: integer
                            description: Identifier of this delivery attempt, which `redeliver` takes as `delivery_id`.
                          monitor_id:
                            type: string
                            description: Monitor whose trigger produced this delivery.
                          event_id:
                            type: string
                            description: Identifier of the event that was delivered. Reuse it to deduplicate on your side.
                          event_type:
                            type: string
                            description: The kind of event that was delivered.
                          trigger_type:
                            type: string
                            description: What caused the monitor to fire.
                          status:
                            type: string
                            description: 'Outcome of the attempt: `delivered` on a 2xx from your endpoint, `failed` on any other outcome, `pending` while it is still in flight.'
                            enum:
                            - delivered
                            - failed
                            - pending
                          delivery_status_code:
                            type:
                            - integer
                            - 'null'
                            description: HTTP status your endpoint returned, or null if no response was received.
                          delivery_error:
                            type:
                            - string
                            - 'null'
                            description: Why the attempt failed, or null when it succeeded.
                          response_time_ms:
                            type:
                            - integer
                            - 'null'
                            description: How long your endpoint took to respond, in milliseconds, or null if it never did.
                          webhook_url:
                            type: string
                            description: Endpoint the payload was posted to.
                          is_simulation:
                            type: boolean
                            description: True when the delivery came from a simulated run rather than a live trigger.
                          timestamp:
                            type: string
                            description: When the attempt was made.
                            format: date-time
                    summary:
                      type: object
                      description: Counts of the deliveries matching this query, by outcome.
                      properties:
                        total:
                          type: integer
                          description: Total deliveries matching the query.
                        delivered:
                          type: integer
                          description: How many succeeded.
                        failed:
                          type: integer
                          description: How many failed.
                        pending:
                          type: integer
                          description: How many are still in flight.
                    limit:
                      type: integer
                      description: Maximum number of records this response may contain.
                    offset:
                      type: integer
                      description: How many records were skipped before this page.
                  description: 'Returned by `action: "list"`.'
                  required:
                  - deliveries
                  - summary
                  - limit
                  - offset
                - title: Redeliver response
                  type: object
                  properties:
                    redelivered:
                      type: boolean
                      description: True when the redelivery was attempted.
                    delivery_id:
                      type: integer
                      description: The delivery attempt that was re-sent.
                    new_status:
                      type: string
                      description: Outcome of the redelivery attempt.
                      enum:
                      - delivered
                      - failed
                      - pending
                    delivery_status_code:
                      type:
                      - integer
                      - 'null'
                      description: HTTP status your endpoint returned on the redelivery, or null if no response was received.
                    response_time_ms:
                      type:
                      - integer
                      - 'null'
                      description: How long your endpoint took to respond to the redelivery, in milliseconds, or null if it never did.
                    error:
                      type:
                      - string
                      - 'null'
                      description: Short machine-comparable error label.
                  description: 'Returned by `action: "redeliver"`.'
                  required:
                  - redelivered
                  - delivery_id
                  - new_status
                  - delivery_status_code
                  - response_time_ms
                  - error
              examples:
                list:
                  summary: Two deliveries, one failed
                  value:
                    deliveries:
                    - id: 4821
                      monitor_id: mon_123
                      event_id: evt_a1
                      event_type: decision.monitor.triggered
                      trigger_type: condition_met
                      status: failed
                      delivery_status_code: 500
                      delivery_error: 'HTTP 500: Internal Server Error'
                      response_time_ms: 1203
                      webhook_url: https://example.com/webhook
                      is_simulation: false
                      timestamp: '2026-06-09T14:02:11Z'
                    - id: 4820
                      monitor_id: mon_123
                      event_id: evt_a0
                      event_type: decision.monitor.triggered
                      trigger_type: condition_met
                      status: delivered
                      delivery_status_code: 200
                      delivery_error: null
                      response_time_ms: 312
                      webhook_url: https://example.com/webhook
                      is_simulation: false
                      timestamp: '2026-06-08T09:30:00Z'
                    summary:
                      total: 2
                      delivered: 1
                      failed: 1
                      pending: 0
                    limit: 50
                    offset: 0
                redeliver:
                  summary: Replay succeeded
                  value:
                    redelivered: true
                    delivery_id: 4821
                    new_status: delivered
                    delivery_status_code: 200
                    response_time_ms: 287
                    error: null
          headers:
            RateLimit-Limit:
              $ref: '#/components/headers/RateLimit-Limit'
            RateLimit-Remaining:
              $ref: '#/components/headers/RateLimit-Remaining'
            RateLimit-Reset:
              $ref: '#/components/headers/RateLimit-Reset'
            RateLimit-Policy:
              $ref: '#/components/headers/RateLimit-Policy'
            X-RateLimit-Limit:
              $ref: '#/components/headers/X-RateLimit-Limit'
            X-RateLimit-Remaining:
              $ref: '#/components/headers/X-RateLimit-Remaining'
            X-RateLimit-Reset:
              $ref: '#/components/headers/X-RateLimit-Reset'
            X-RateLimit-Scope:
              $ref: '#/components/headers/X-RateLimit-Scope'
        '400':
          $ref: '#/components/responses/BadRequest'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '404':
          $ref: '#/components/responses/NotFound'
        '429':
          $ref: '#/components/responses/RateLimited'
components:
  headers:
    X-RateLimit-Limit:
      description: Legacy spelling of RateLimit-Limit. Sends the string `unlimited` on unmetered keys. Retained indefinitely; prefer the unprefixed header in new code.
      schema:
        type: string
        example: '20'
    RateLimit-Reset:
      description: Seconds until the window resets (RFC 9331). Note this is a DELTA in seconds, whereas the legacy X-RateLimit-Reset carries an ISO 8601 instant.
      schema:
        type: integer
        example: 2591940
    X-RateLimit-Reset:
      description: ISO 8601 instant at which the window resets. The unprefixed RateLimit-Reset carries the same fact as a seconds delta.
      schema:
        type: string
        format: date-time
    X-RateLimit-Remaining:
      description: Legacy spelling of RateLimit-Remaining. Sends the string `unlimited` on unmetered keys.
      schema:
        type: string
        example: '19'
    X-RateLimit-Scope:
      description: Whether the quota applied is the key’s own or the organization’s.
      schema:
        type: string
        enum:
        - key
        - organization
        - anonymous
    RateLimit-Remaining:
      description: Requests left in the current window (RFC 9331). Already accounts for the request that produced this response.
      schema:
        type: integer
        example: 19
    WWW-Authenticate:
      description: 'RFC 9110 challenge, carrying the RFC 9728 `resource_metadata` parameter. The URI it names is served by this host and describes, machine-readably, how to obtain a credential — so a 401 is a recoverable state for an agent rather than a dead end. Value: `Bearer resource_metadata="https://api.rateapi.dev/.well-known/oauth-protected-resource"`.'
      schema:
        type: string
        example: Bearer resource_metadata="https://api.rateapi.dev/.well-known/oauth-protected-resource"
    RateLimit-Limit:
      description: Requests allowed in the current window (RFC 9331). Absent on unmetered enterprise keys, which have no quota to express.
      schema:
        type: integer
        example: 20
    Retry-After:
      description: Seconds to wait before retrying. Sent on 429 responses only.
      schema:
        type: integer
        example: 2591940
    RateLimit-Policy:
      description: The quota and its window, e.g. `20;w=2592000` for 20 requests per 30 days.
      schema:
        type: string
        example: 20;w=2592000
  schemas:
    ErrorResponse:
      type: object
      required:
      - error
      properties:
        error:
          type: string
          description: Error message describing what went wrong
          example: API key required. Get one at POST /keys
        message:
          type: string
          description: Additional error details or context (optional)
        code:
          type: string
          description: Stable machine-readable reason code when the endpoint can identify one, for example `invalid_product_category`.
        field:
          type: string
          description: Request field that failed validation, when applicable.
        received:
          description: The rejected value, when it is safe and useful to echo.
        allowed_values:
          type: array
          items:
            type: string
          description: Canonical values accepted for an enum field.
        did_you_mean:
          description: A canonical replacement value or one or more corrected method/path suggestions.
        example:
          type: object
          additionalProperties: true
          description: A corrected request fragment that can be copied into the next attempt.
        docs:
          type: string
          format: uri
          description: Documentation for correcting the request.
        traceId:
          type: string
          description: Unique trace ID for this request, useful for debugging and support requests (optional, included in most error responses)
          example: a1b2c3d4-e5f6-g7h8-i9j0-k1l2m3n4o5p6
      description: 'Standard error envelope returned by every failing endpoint: a short `error`, an optional human-readable `message`, and the `traceId` to quote in a support request. Validation and routing errors may also include a stable `code`, the rejected `field` and `received` value, canonical `allowed_values`, `did_you_mean`, and a `docs` URL so clients can recover without guessing.'
  responses:
    BadRequest:
      description: The request was malformed — a missing required field, an unparseable body, or a parameter outside its allowed range. The `error` field names what was wrong; retrying the identical request will fail identically.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
    RateLimited:
      description: Quota exhausted for the current window. `Retry-After` gives the seconds to wait; `upgradeInfo` explains how to lift the cap. Retrying before the reset will fail again and still counts as a request.
      headers:
        RateLimit-Limit:
          $ref: '#/components/headers/RateLimit-Limit'
        RateLimit-Remaining:
          $ref: '#/components/headers/RateLimit-Remaining'
        RateLimit-Reset:
          $ref: '#/components/headers/RateLimit-Reset'
        RateLimit-Policy:
          $ref: '#/components/headers/RateLimit-Policy'
        X-RateLimit-Limit:
          $ref: '#/components/headers/X-RateLimit-Limit'
        X-RateLimit-Remaining:
          $ref: '#/components/headers/X-RateLimit-Remaining'
        X-RateLimit-Reset:
          $ref: '#/components/headers/X-RateLimit-Reset'
        X-RateLimit-Scope:
          $ref: '#/components/headers/X-RateLimit-Scope'
        Retry-After:
          $ref: '#/components/headers/Retry-After'
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
    Unauthorized:
      description: No API key, or a key that is unknown or disabled. Send it in the `X-API-Key` header. Free keys are issued instantly by POST /keys with an email address. The response carries `WWW-Authenticate` pointing at this host's protected-resource metadata, and the `RateLimit-*` headers describing the Free-tier budget a key issued now would carry (scope `anonymous`) — a rejected request spends none of it, so `Remaining` equals `Limit`.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
      headers:
        WWW-Authenticate:
          $ref: '#/components/headers/WWW-Authenticate'
        RateLimit-Limit:
          $ref: '#/components/headers/RateLimit-Limit'
        RateLimit-Remaining:
          $ref: '#/components/headers/RateLimit-Remaining'
        RateLimit-Reset:
          $ref: '#/components/headers/RateLimit-Reset'
        RateLimit-Policy:
          $ref: '#/components/headers/RateLimit-Policy'
        X-RateLimit-Limit:
          $ref: '#/components/headers/X-RateLimit-Limit'
        X-RateLimit-Remaining:
          $ref: '#/components/headers/X-RateLimit-Remaining'
        X-RateLimit-Reset:
          $ref: '#/components/headers/X-RateLimit-Reset'
        X-RateLimit-Scope:
          $ref: '#/components/headers/X-RateLimit-Scope'
    NotFound:
      description: No resource matches the identifier supplied. For rate queries an empty result set is a 200 with an empty array, so a 404 here means the resource itself does not exist.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
  securitySchemes:
    apiKey:
      type: apiKey
      in: header
      name: X-API-Key
      description: API key for authentication. Create a key using POST /keys. Keys start with 'rk_' prefix.
externalDocs:
  description: RateAPI developer portal — keys, quickstart, MCP server, sandbox
  url: https://rateapi.dev/developers