API Reference
API Reference
Section titled “API Reference”The Evergreeners API is built using Fastify and provides endpoints for managing users, streaks, and quests.
Base URL
Section titled “Base URL”https://api.evergreeners.dev/v1Authentication
Section titled “Authentication”All private endpoints require a Bearer token in the Authorization header.
Authorization: Bearer YOUR_ACCESS_TOKENCore Endpoints
Section titled “Core Endpoints”Get User Profile
Section titled “Get User Profile”GET /users/:username
Get Current Streak
Section titled “Get Current Streak”GET /streaks/:userId
List Quests
Section titled “List Quests”GET /quests
Accept Quest
Section titled “Accept Quest”POST /quests/:questId/accept
Rate Limiting
Section titled “Rate Limiting”We allow up to 1000 requests per hour for authenticated users.