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.
