What the response contains
Try BR, US, and JP and use the returned fields to identify the right record.
Fields worth checking
- Date
- Local name
- Coverage
- Holiday type
Type a real query, scan the cards and confirm the key details before opening the full source.
Try BR, US, and JP and use the returned fields to identify the right record.
Fields worth checking
A holiday request uses a country code and, on the annual endpoint, a year. Each returned item includes date, localName, name, and countryCode. date uses the YYYY-MM-DD format; localName preserves the name used in that country, while name may provide another presentation. Choose country and year before comparing dates, since the same celebration can have different names or dates by place.
global, counties, and types help interpret the scope of an item. A holiday may not apply to an entire country or may have territorial limits indicated in counties. types classifies the record in the source, but does not replace checking a law, employment agreement, school calendar, or notice from a local authority. Use this information to organise a lookup, not to state an obligation.
The API provides annual lists and a next-holidays route. fixed and launchYear appear as metadata in some results, but the returned set remains tied to the requested country and period. If a schedule depends on a future date, query again close to use and record when the data was collected. That prevents an old list being reused for another year or location.