Habitica API v3
Automation Free key (no card)
AuthenticationFree key (no card)
Rate limit30 requests/60 seconds per user; responses include X-RateLimit-* headers and 429 with Retry-After
Documentation: apidoc.habitica.com ยท Checked Sep 13, 2026
About
Habitica turns your habits, daily tasks, and to-dos into a role-playing game where completing real-life tasks earns you gear and pets. Its v3 API exposes everything: habits, dailies, to-dos, checklists, rewards, and scoring. Your free user ID and API token are found right in your account settings.
Details
Free to start. You may need a free key, but no credit card.
Auth: Free key (no card)
Rate limit: 30 requests/60 seconds per user; responses include X-RateLimit-* headers and 429 with Retry-After
Verified: 2026-09-13
Best for: habits productivity gamification
Setup
- Create a free Habitica account.
- Open Settings, then the API section, to find your user ID and API token.
- Include x-api-user, x-api-key, and x-client headers in every request.
- Use the tasks endpoints to create habits, dailies, and to-dos.
- Score tasks up or down via the API to earn rewards automatically.
Example
GET https://habitica.com/api/v3/tasks/user with x-api-user and x-api-key headersUse cases
- Log habits automatically from other apps and scripts
- Build a custom dashboard of your streaks and stats
- Create tasks from calendar events or messages