The GymDex API
Every gym in Georgia, machine by machine, and your own training log, for your scripts, spreadsheets and AI assistants. Read-only and free.
Quick start
Public data needs no key. Find gyms in Tbilisi with a hack squat:
curl "https://gymdex.ge/api/v1/gyms?city=tbilisi&equipment=hack-squat&limit=5"Your own data needs a personal token. Create one under Account → API tokens, then:
curl -H "Authorization: Bearer gdx_pat_…" "https://gymdex.ge/api/v1/me/workouts?limit=10"Tokens and scopes
Send a token as Authorization: Bearer <token>. Tokens only read; nothing in the API can change your data.
- Personal token (gdx_pat_…): reads your own data, within the scopes you chose.
- Public key (gdx_pub_…): public data only, with higher limits. Use it for apps and sites built on GymDex gym data.
- No token: public data, with lower limits per IP address.
Scopes
- profile:read — your profile and home gym
- workouts:read — workouts, sets, exercise history and routines
- measurements:read — bodyweight and body fat
- stats:read — records, weekly and monthly totals, XP, badges and contest place
Treat a token like a password. Revoke it at once if it leaks; we email you whenever a new one is created.
Endpoints
Base URL https://gymdex.ge/api/v1. Every endpoint is GET and answers JSON.
Public data
- GET /gyms
- Search gyms: q, city, country, equipment (slugs or names), near=lat,lng, radiusKm, minDumbbellKg, open24h, openNow, fitpass
- GET /gyms/{slug}
- One gym: address, hours, prices, contact, rating, verified owner
- GET /gyms/{slug}/equipment
- A gym's equipment, machine by machine, with specs
- GET /equipment-types
- The equipment taxonomy
- GET /equipment-types/{slug}
- One equipment type, its spec fields and exercises
- GET /cities
- Cities and how many gyms each has
- GET /exercises
- The exercise library
- GET /leaderboards
- Public leaderboards (first name and initial only)
- GET /leaderboards/{exercise}
- Public leaderboards (first name and initial only)
- GET /contest
- This month's contest top 10
Your data (personal token)
- GET /me
- Your profile (profile:read)
- GET /me/workouts
- Your workouts with sets, newest first: from, to (workouts:read)
- GET /me/workouts/{id}
- One workout, with the heart-rate series (workouts:read)
- GET /me/exercises/{slug}/history
- Every session of one exercise, with estimated 1RM (workouts:read)
- GET /me/routines
- Your routines (workouts:read)
- GET /me/records
- Best results per exercise (stats:read)
- GET /me/stats
- Totals per week or month, weekly streak: period, count, timeZone (stats:read)
- GET /me/xp
- Level, XP, badges, contest place (stats:read)
- GET /me/measurements
- Bodyweight and body fat (measurements:read)
Conventions
Weights in kilograms, distances in metres, times in ISO 8601 (UTC). Names come in Georgian (ka) and English (en).
Lists return { data, nextCursor }. Pass nextCursor back as cursor for the next page; limit is 1–100.
Errors return { error, message } with the HTTP status: invalid 400, unauthorized 401, forbidden 403, not_found 404, rate_limited 429.
{ "error": "forbidden", "message": "This token lacks the stats:read scope." }Limits
- No token: 60 requests a minute and 2,000 a day per IP address
- Public key: 600 a minute and 50,000 a day
- Personal token: 300 a minute and 20,000 a day
Every answer carries X-RateLimit-Limit, X-RateLimit-Remaining and X-RateLimit-Reset. Over the limit you get 429 with Retry-After.
AI assistants (MCP)
GymDex runs a Model Context Protocol server, so assistants such as Claude, ChatGPT and Cursor can look up gyms and equipment for you, and, with your token, read your training log.
Server URL
https://gymdex.ge/api/mcp- Claude: Settings → Connectors → Add custom connector, and paste the server URL.
- ChatGPT: Settings → Connectors (developer mode) → Create, and paste the server URL.
- Cursor, Claude Code and other clients: add it as a remote (Streamable HTTP) MCP server. For your own data, add the header below.
{
"mcpServers": {
"gymdex": {
"type": "http",
"url": "https://gymdex.ge/api/mcp",
"headers": { "Authorization": "Bearer gdx_pat_…" }
}
}
}Public tools (search_gyms, get_gym, get_gym_equipment, list_equipment_types…) work without a token. Tools for your own data (get_my_workouts, get_my_records, get_my_stats…) need a personal token in the Authorization header.
Terms of use
- The API is free. It is read-only and may change; we keep /api/v1 stable and announce breaking changes.
- When you show GymDex gym data publicly, credit “Data: GymDex.ge” with a link to the gym's page (the url field).
- Don't resell the data in bulk or use it to build a copy of GymDex.
- We may revoke keys that are abused or that harm the service.
- Personal tokens only ever reveal their owner's data. See the privacy policy for what we store about tokens.