The Countries Datatbase Api (TCD Api)
All of our API calls return a JSON response. No authentication required
This example uses fetch, a modern built-in way to make HTTP requests with JavaScript.
fetch(".../v1/today")
.then(response => response.json())
.then(response => console.log(response))
.catch(err => console.error(err));
Method: GET: https://the-countries-datatbase-api.vercel.app
✅ Get today celebration
👉 https://the-countries-datatbase-api.vercel.app/v1/today
✅ Get This month celebration
👉 https://the-countries-datatbase-api.vercel.app/v1/month
✅ Get date (v1/date/:DDMM)
👉 https://the-countries-datatbase-api.vercel.app/v1/date/0101
✅ Get this year celebration