API Status: Operational

Build Amazing Fitness Apps

A powerful, modern REST API for social fitness platforms. Access comprehensive endpoints for authentication, social networking, nutrition tracking, and workout management.

v2.0.0
API Version
24/7
Uptime
REST
Protocol
JWT
Auth
production
Environment

Core Features

Everything you need to build a complete fitness platform

🔐

Secure Authentication

JWT-based authentication with HTTP-only cookies, bcrypt password hashing, and session management.

👥

Social Networking

Follow system, profiles, feeds, posts with images, likes, comments, and real-time notifications.

🥗

Nutrition Tracking

FatSecret API with 500k+ foods, custom categories, macro tracking, and visual analytics.

💪

Workout Management

Exercise library, workout logging, templates, folders, and progress tracking.

💬

Real-Time Messaging

Socket.IO powered messaging with online status and message persistence.

🔔

Push Notifications

Real-time notifications for follows, likes, comments, and messages.

API Endpoints

Browse available endpoints by category

Authentication

POST/api/auth/registerPublic
POST/api/auth/loginPublic
POST/api/auth/logoutProtected

User Management

GET/api/users/profileProtected
PUT/api/users/profileProtected
POST/api/users/follow/:userIdProtected

Posts & Feed

GET/api/posts/feedProtected
POST/api/postsProtected
POST/api/posts/:id/likeProtected

Messaging

GET/api/messagesProtected
POST/api/messagesProtected

Notifications

GET/api/notificationsProtected

Nutrition Tracking

GET/api/nutrition/entriesProtected
POST/api/nutrition/entriesProtected

FatSecret Integration

GET/api/fatsecret/searchProtected

Custom Categories

GET/api/custom-categoriesProtected
POST/api/custom-categoriesProtected

Exercises

GET/api/exercisesProtected

Workouts

GET/api/workoutsProtected
POST/api/workoutsProtected

Workout Templates

GET/api/workout-templatesProtected
GET/api/workout-template-foldersProtected