> ## Documentation Index
> Fetch the complete documentation index at: https://docs.paycrest.io/llms.txt
> Use this file to discover all available pages before exploring further.

# Get Node Uptime

> Returns how often Paycrest could reach your provision node in each of the last 24 hours, and the
uptime percentage over that window. With no node host configured, every bucket is empty and
`uptimePercent` is `null`.


Retrieve your provision node's uptime over the last 24 hours, in hourly buckets.


## OpenAPI

````yaml openapi-v2.yaml GET /provider/node-uptime
openapi: 3.0.3
info:
  title: Paycrest Aggregator API
  version: 1.0.0
  description: >
    OpenAPI schema for the Paycrest Aggregator API. This covers sender,
    provider, and general endpoints.
servers:
  - url: https://api.paycrest.io/v2
security: []
tags:
  - name: Sender
    description: Endpoints for senders to create and manage payment orders
  - name: Provider
    description: Endpoints for providers to manage and fulfill orders
  - name: General
    description: General protocol and utility endpoints
paths:
  /provider/node-uptime:
    get:
      tags:
        - Provider
      summary: Get node uptime
      description: >
        Returns how often Paycrest could reach your provision node in each of
        the last 24 hours, and the

        uptime percentage over that window. With no node host configured, every
        bucket is empty and

        `uptimePercent` is `null`.
      responses:
        '200':
          description: Node uptime
          content:
            application/json:
              schema:
                allOf:
                  - $ref: '#/components/schemas/StandardResponse'
                  - type: object
                    properties:
                      data:
                        $ref: '#/components/schemas/NodeUptimeResponse'
        '401':
          description: Unauthorized
        '500':
          description: Internal server error
      security:
        - ApiKeyAuth: []
      servers:
        - url: https://api.paycrest.io/v2
components:
  schemas:
    StandardResponse:
      type: object
      properties:
        status:
          type: string
          example: success
        message:
          type: string
          example: Operation successful
        data:
          type: object
          description: The actual response data (e.g., ReceiveAddressResponse, etc.)
    NodeUptimeResponse:
      type: object
      description: >-
        Reachability of your provision node over the last 24 hours, in hourly
        buckets, oldest first.
      properties:
        windowHours:
          type: integer
          example: 24
          description: Length of the window in hours. Always 24.
        uptimePercent:
          type: number
          format: double
          nullable: true
          example: 99.3
          description: >-
            Share of checks in the window that succeeded, as a percentage.
            `null` when there were no checks in the window, for example when no
            node host is configured.
        buckets:
          type: array
          description: >-
            24 hourly buckets, oldest first. The last bucket is the current
            hour.
          items:
            type: object
            properties:
              start:
                type: string
                format: date-time
                example: '2026-11-09T13:00:00Z'
                description: Start of the hour (UTC).
              checks:
                type: integer
                example: 12
                description: Number of times Paycrest checked your node during the hour.
              failures:
                type: integer
                example: 0
                description: >-
                  Number of those checks that could not reach your node or got a
                  server error (5xx) from it.
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      in: header
      name: API-Key

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.