Overview
This documentation describes how to fetch your data from CC Athletics database through REST API endpoints.
- Get an API key from your Cloud dashboard (Account β API Keys)
- Include the API key in the
X-API-Keyheader for all requests - Use the endpoints below to retrieve your data
Base URL
https://europe-west1-forcemate-desktop.cloudfunctions.net
Authentication
API Key
- Each API request requires a valid API key
- Include the API key in the
X-API-Keyheader - API keys can be generated and managed in your ForceMate Cloud dashboard under Account β API Keys
Example Authentication
curl https://europe-west1-forcemate-desktop.cloudfunctions.net/get_athletes \ -H "X-API-Key: fm_your_api_key_here"
API Endpoints
Description: Retrieve all teams for your organization
Request Example
curl https://europe-west1-forcemate-desktop.cloudfunctions.net/get_teams \ -H "X-API-Key: fm_your_api_key_here"
Response Format
Loading...
Description: Retrieve athletes including all recordings (optionally filtered by team and other parameters)
Query Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
| team_id | string | Optional | Filter athletes by specific team |
| min_birth_year | integer | Optional | Filter athletes born on or after this year (e.g., 1990) |
| max_birth_year | integer | Optional | Filter athletes born on or before this year (e.g., 2005) |
| tests_date_from | string | Optional | Filter tests recorded on or after this date. Format: YYYY-MM-DD (e.g., 2024-01-01) |
| tests_date_to | string | Optional | Filter tests recorded on or before this date. Format: YYYY-MM-DD (e.g., 2024-12-31) |
| analysis_type | string | Optional | Filter by type of analysis. Valid values: "jump", "pogo", "isometric" |
| jump_types | string | Optional | Comma-separated list of jump types to include. Only applies when analysis_type is "jump" (e.g., "cmj,sj,dj") |
| isometric_exercise_names | string | Optional | Comma-separated list of isometric exercise names to include. Only applies when analysis_type is "isometric" (e.g., "Mid-thigh pull,Squat") |
Request Examples
Basic request (all athletes):
curl https://europe-west1-forcemate-desktop.cloudfunctions.net/get_athletes \ -H "X-API-Key: fm_your_api_key_here"
Filter by team:
curl "https://europe-west1-forcemate-desktop.cloudfunctions.net/get_athletes?team_id=team_123" \ -H "X-API-Key: fm_your_api_key_here"
Filter by birth year and test dates:
curl "https://europe-west1-forcemate-desktop.cloudfunctions.net/get_athletes?min_birth_year=1995&max_birth_year=2005&tests_date_from=2024-01-01&tests_date_to=2024-12-31" \ -H "X-API-Key: fm_your_api_key_here"
Filter by analysis type (jump tests only):
curl "https://europe-west1-forcemate-desktop.cloudfunctions.net/get_athletes?analysis_type=jump" \ -H "X-API-Key: fm_your_api_key_here"
Filter by specific jump types (CMJ and SJ only):
curl "https://europe-west1-forcemate-desktop.cloudfunctions.net/get_athletes?analysis_type=jump&jump_types=cmj,sj" \ -H "X-API-Key: fm_your_api_key_here"
Filter isometric exercises:
curl "https://europe-west1-forcemate-desktop.cloudfunctions.net/get_athletes?analysis_type=isometric&isometric_exercise_names=Mid-thigh%20pull,Squat" \ -H "X-API-Key: fm_your_api_key_here"
Response Format - Basic Structure
Loading...