Onplana Working Calendars API

Working days, hours and holidays used for scheduling

GitHub OpenAPI

Operations 1

GET /working-calendars/public-holidays A country's national public holidays for one year #

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/onplana-com:onplana-com-working-calendars-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

onplana-com-working-calendars-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Onplana Working Calendars API
  version: 1.0.0
  description: AI-native Project Management System REST API. All org-scoped routes require the `X-Organization-Id` header. Most routes require a Bearer JWT obtained from `/auth/login`.
servers:
- url: /api
security:
- bearerAuth: []
- patAuth: []
tags:
- name: working-calendars
  description: Working days, hours and holidays used for scheduling
paths:
  /working-calendars/public-holidays:
    get:
      tags:
      - working-calendars
      summary: A country's national public holidays for one year
      description: 'Read only. The statutory national list of AU, BR, CA, DE, ES, FR, GB, IE, IN, IT, JP, MX, NL or US, never a regional one, each on the day it is observed: a US federal holiday on a Saturday is observed the Friday before (so 1 January 2028 appears in 2028 as 31 December 2027) and on a Sunday the Monday after; in GB, CA and AU a weekend holiday moves to the next weekday that is not already a holiday (Anzac Day stays put); Japan adds its substitute holiday and the day between two holidays. One row per day; two holidays on the same day share a row with both names. Names are in the country''s own language. Dates are calendar days (YYYY-MM-DD). Adding a day to a calendar is POST /working-calendars/{id}/exceptions. Any member of the organization may read it. A country the list does not cover answers 404 with code COUNTRY_NOT_COVERED.'
      parameters:
      - $ref: '#/components/parameters/OrgHeader'
      - name: country
        in: query
        required: true
        schema:
          type: string
          pattern: ^[A-Za-z]{2}$
        description: ISO 3166 alpha-2 country code, either case
      - name: year
        in: query
        required: true
        schema:
          type: integer
          minimum: 2000
          maximum: 2099
        description: Calendar year
      responses:
        '200':
          description: The country's holidays for the year, by date
          content:
            application/json:
              schema:
                type: object
                properties:
                  country:
                    type: string
                    example: US
                  year:
                    type: integer
                    example: 2026
                  holidays:
                    type: array
                    items:
                      type: object
                      properties:
                        date:
                          type: string
                          format: date
                          example: '2026-07-03'
                        name:
                          type: string
                          example: Independence Day (observed)
        '400':
          description: Validation error
        '401':
          description: Unauthorized - missing or invalid JWT
        '404':
          description: No public holiday list for that country (code COUNTRY_NOT_COVERED)
      operationId: getWorkingCalendarsPublicHolidays
      x-operation-id-source: derived
components:
  parameters:
    OrgHeader:
      name: X-Organization-Id
      in: header
      required: true
      description: UUID of the active organization. Sets org context for all scoped operations.
      schema:
        type: string
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT
    patAuth:
      type: apiKey
      in: header
      name: Authorization
      description: 'Personal Access Token: `Authorization: Bearer pat_<token>`. Org context is embedded in the token - no `X-Organization-Id` header required.'
    oauthApp:
      type: oauth2
      description: Third-party OAuth app (confidential client). Register the app under Settings > Developer > OAuth apps; the person approving picks the workspace the token acts in. Tokens last 90 days and extend while in use; there is no refresh token, so a dormant connection re-consents.
      flows:
        authorizationCode:
          authorizationUrl: /oauth/authorize
          tokenUrl: /oauth/token
          scopes:
            tasks: Read and write the tasks assigned to the person, read their projects, log their time.
            schedule: Read projects and create or update them (publish a schedule).
            mcp: The MCP tool surface, as a member-capped agent persona.
            webhooks: Create, list, change and delete the app's own webhook subscriptions.