We've improved the Day in History API with new paginated endpoints for better performance and easier data consumption.
💡What's Changed
New Endpoint Structure:
— /v1/today/events/ - Get today's historical events
— /v1/today/births/ - Get today's births
— /v1/today/deaths/ - Get today's deaths
— /v1/events/{month}/{day}/ - Get events for any date (e.g., /v1/events/january/8/)
— /v1/births/{month}/{day}/ - Get births for any date
— /v1/deaths/{month}/{day}/ - Get deaths for any date
Pagination Support:
All endpoints now support pagination with ?page= parameter. Default page size is 20 items.
Example: /v1/births/january/8/?page=2
✅ Migration Guide
If you're using the old /v1/today/ endpoint, please update to:
— Use /v1/today/events/ for events only
— Use /v1/today/births/ for births only
— Use /v1/today/deaths/ for deaths only
📜 Documentation
Visit our updated API documentation: https://dayinhistory.dev/docs
All rate limits and authentication remain unchanged.
