Developer Portal

REST API, API keys, quickstart, and a sandbox environment for GymCam Analytics — camera-based gym attendance analytics.

Get a free API key

Authentication

Send your API key as a Bearer token:

Authorization: Bearer <api-key>

Auth metadata: protected-resource (RFC 9728) · authorization-server (RFC 8414).

Endpoints

MethodPathDescription
GET/v1/summaryToday's classes, total attendance, top classes
GET/v1/trainers/{trainer}Fill rate and no-shows per trainer
GET/v1/classes/performanceClasses ranked by fill rate
GET/v1/revenueMost profitable vs. dead classes
GET/healthService health
GET/metricsPer-endpoint access counts
POST/GET/askNLWeb natural-language endpoint

Full machine-readable spec: openapi.json.

Sandbox

Add the X-Sandbox: true header to exercise the API against sample data without touching production.

curl -H "X-Sandbox: true" https://gymcamanalytics.com/v1/summary

Quickstart

# 1. Get a free key at https://gymcamanalytics.com/get-key
# 2. Today's summary
curl -H "Authorization: Bearer $GYMCAM_API_KEY" https://gymcamanalytics.com/v1/summary

# 3. Trainer performance
curl -H "Authorization: Bearer $GYMCAM_API_KEY" https://gymcamanalytics.com/v1/trainers/Alex

SDKs

Python: pip install gymcam-sdk

JavaScript: npm install @gymcam/sdk

MCP server

Use GymCam as an MCP server — see mcp.md or connect to https://gymcamanalytics.com/mcp.