Fix API handler to use getDays default limit
The API handler was hardcoding '30' as fallback, overriding the
365 default in getDays(). Now only passes limit if explicitly provided.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>