Api Endpoint

darwin-business-calendar.onrender.com

Count business days between two ISO dates, excluding weekends and public holidays.

Open interactive test console

Offering

Provider
darwin-business-calendar.onrender.com
Method
GET
Offering type
Api Endpoint
Transport type
http
Category
General Utilities
Delivery
Not provided
Pricing model
Not provided
x402 version
2

Endpoint context

URL
https://darwin-business-calendar.onrender.com/business-days
MIME type
application/json
First seen
2026-10-16T02:01:31.612Z
Last seen
Tags
None supplied

Payment pricing

x402 payment terms are the authoritative price for calling this endpoint.

Payment option 1
0.001 USDC
Atomic price: 1000 · Network: eip155:8453 · Asset: USDC · Scheme: exact
Raw x402 terms
[
  {
    "scheme": "exact",
    "network": "eip155:8453",
    "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
    "amount": "1000",
    "payTo": "0xcA94C6d68E620202aBc1dcDc30C5C7DDbC83604b"
  }
]

Observed health

Status
Healthy
Latest latency
312 ms
Average latency
652 ms
HTTP status
402
Last checked
Reachability
88.9% over 9 checks

Latency is measured to the first response headers. A reachable result does not verify response accuracy or merchant identity.

Input schema

{
  "type": "object",
  "properties": {
    "type": {
      "type": "string",
      "const": "http"
    },
    "method": {
      "type": "string",
      "enum": [
        "GET"
      ]
    },
    "queryParams": {
      "type": "object",
      "properties": {
        "start": {
          "type": "string",
          "description": "Inclusive start date in YYYY-MM-DD format"
        },
        "end": {
          "type": "string",
          "description": "Inclusive end date in YYYY-MM-DD format"
        },
        "country": {
          "type": "string",
          "description": "ISO 3166-1 alpha-2 country code",
          "default": "BR"
        }
      },
      "required": [
        "start",
        "end"
      ]
    }
  },
  "required": [
    "type",
    "method"
  ],
  "additionalProperties": false
}

Output schema

{
  "type": "object",
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "required": [
    "input"
  ],
  "properties": {
    "input": {
      "type": "object",
      "required": [
        "type",
        "method"
      ],
      "properties": {
        "type": {
          "type": "string",
          "const": "http"
        },
        "method": {
          "enum": [
            "GET"
          ],
          "type": "string"
        },
        "queryParams": {
          "type": "object",
          "required": [
            "start",
            "end"
          ],
          "properties": {
            "end": {
              "type": "string",
              "description": "Inclusive end date in YYYY-MM-DD format"
            },
            "start": {
              "type": "string",
              "description": "Inclusive start date in YYYY-MM-DD format"
            },
            "country": {
              "type": "string",
              "default": "BR",
              "description": "ISO 3166-1 alpha-2 country code"
            }
          }
        }
      },
      "additionalProperties": false
    },
    "output": {
      "type": "object",
      "required": [
        "type"
      ],
      "properties": {
        "type": {
          "type": "string"
        },
        "example": {
          "type": "object",
          "required": [
            "country",
            "start",
            "end",
            "businessDays",
            "excludedHolidays"
          ],
          "properties": {
            "end": {
              "type": "string"
            },
            "start": {
              "type": "string"
            },
            "country": {
              "type": "string"
            },
            "businessDays": {
              "type": "integer"
            },
            "excludedHolidays": {
              "type": "array",
              "items": {
                "type": "string"
              }
            }
          }
        }
      }
    }
  }
}