{
  "x402Version": 2,
  "id": 3981,
  "slug": "3981",
  "resource": "https://data.greeneris.io/v1/fr/business-days",
  "description": "Adds N French business days to a date (?start=2026-07-13&add=30) or counts them over a range (?from=2026-07-01&to=2026-09-30). Skips weekends and the 11 French legal public holidays (movable feasts computed via Butcher-Meeus). mode=ouvres (Mon-Fri, default) or ouvrables (Mon-Sat). Deterministic local computation, JSON.",
  "type": "http",
  "accepts": [
    {
      "scheme": "exact",
      "network": "eip155:8453",
      "payTo": "0x6ab8efe305cce67daa48c97bde29c04402822dff",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "amount": "5000",
      "maxTimeoutSeconds": 300
    }
  ],
  "outputSchema": {
    "bazaar": {
      "info": {
        "input": {
          "method": "GET",
          "queryParams": {
            "add": 30,
            "start": "2026-07-13"
          },
          "type": "http"
        },
        "output": {
          "example": {
            "business_days_added": 30,
            "calendar_days": 43,
            "end_date": "2026-08-25",
            "holidays_crossed": [
              {
                "date": "2026-07-14",
                "name": "fete_nationale"
              },
              {
                "date": "2026-08-15",
                "name": "assomption"
              }
            ],
            "mode": "ouvres",
            "source": "Computed locally: French legal holidays (Code du travail L3133-1), Easter via Butcher-Meeus",
            "start": "2026-07-13"
          },
          "type": "json"
        }
      },
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "input": {
            "additionalProperties": false,
            "properties": {
              "method": {
                "enum": [
                  "GET",
                  "HEAD",
                  "DELETE"
                ],
                "type": "string"
              },
              "queryParams": {
                "properties": {
                  "add": {
                    "description": "Business days to add, 1-366 (default 1)",
                    "type": "integer"
                  },
                  "from": {
                    "description": "ISO range start (use with to, counting mode)",
                    "type": "string"
                  },
                  "mode": {
                    "default": "ouvres",
                    "enum": [
                      "ouvres",
                      "ouvrables"
                    ],
                    "type": "string"
                  },
                  "start": {
                    "description": "ISO date to add business days to (use with add)",
                    "type": "string"
                  },
                  "to": {
                    "description": "ISO range end (inclusive)",
                    "type": "string"
                  }
                },
                "type": "object"
              },
              "type": {
                "const": "http",
                "type": "string"
              }
            },
            "required": [
              "type",
              "method"
            ],
            "type": "object"
          },
          "output": {
            "properties": {
              "example": {
                "type": "object"
              },
              "type": {
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          }
        },
        "required": [
          "input"
        ],
        "type": "object"
      }
    }
  },
  "tags": [
    "bazaar"
  ],
  "sourceHost": "data.greeneris.io",
  "lastUpdated": "2026-08-27T15:07:53.918Z",
  "quality": {
    "calls30d": 1,
    "uniquePayers30d": 1,
    "lastCalledAt": "2026-08-27T15:07:53.689Z"
  },
  "liveness": {},
  "verified": false,
  "featured": false,
  "provider": {
    "host": "data.greeneris.io",
    "manifest_name": "data.greeneris.io",
    "source": "cdp-mirror",
    "source_manifest_url": "https://api.cdp.coinbase.com/platform/v2/x402/discovery/resources",
    "submitted_at": "2026-09-18T22:00:31.484Z"
  }
}