Brasil Hub icon

Brasil Hub

Query Brazilian public data (CNPJ, CEP, CPF, Banks, Câmbio, DDD, Holidays, FIPE, IBGE, NCM, PIX, Taxas) with multi-provider fallback

Actions28

Holiday → Query

AI-generated

Summary

Query Brazilian public holidays for a specified year using multiple providers with fallback logic.

Inputs

  • Year (required) — The year to query holidays for, between 1900 and 2199.
  • Primary Provider — Choose which API provider to try first: Auto (tries BrasilAPI first), BrasilAPI, or Nager.Date.
  • Include Raw Response — Whether to include the raw API response data alongside the normalized holiday information.
  • Timeout (Ms) — The HTTP request timeout in milliseconds for each provider attempt (range 1000 to 60000).

Output shape

a list of normalized holiday records for the specified year, optionally including the raw API response data.

The operation attempts API providers in order, returning normalized holiday data for the requested year. If 'Include Raw Response' is enabled, the raw source data is included with each holiday record. Supports a fallback mechanism among providers based on 'Primary Provider' selection. Handles timeouts per provider attempt.

Links

Discussion