Your Move Programs API
Generate multi-week training programs
Generate multi-week training programs
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
find_apisBrowse and filter every API in the catalog.get_api_artifactsOne API's artifacts, grouped by type.get_openapiThe primary OpenAPI for this API.find_similar_apisAPIs that look like this one.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.curl "https://apis.io/api/v1/apis/ymove-app:ymove-app-programs-api"
curl "https://apis.io/api/v1/apis?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.
openapi: 3.2.0
info:
title: YMove Fitness Programs API
version: 2.5.0
description: Access 2005+ professional exercise videos, a comprehensive food & nutrition database, recipe search, and AI-powered meal plan generation. Features include rate limiting, monthly exercise caps, and video access protection. Video URLs are pre-signed and expire after 48 hours. Always fetch fresh exercise data before displaying videos. Sign up at https://ymove.app/exercise-api/signup for a free trial.
contact:
email: contact@ymove.app
url: https://ymove.app/exercise-api
servers:
- url: https://exercise-api.ymove.app/api/v2
description: Production
security:
- ApiKeyHeader: []
- ApiKeyQuery: []
tags:
- name: Programs
description: Generate multi-week training programs
paths:
/programs/generate:
get:
summary: Generate a multi-week training program
operationId: generateProgram
tags:
- Programs
parameters:
- name: goal
in: query
schema:
type: string
enum:
- muscle_building
- weight_loss
- strength
- endurance
default: muscle_building
description: Training goal. Sets the set/rep/rest scheme and exercises-per-muscle.
- name: difficulty
in: query
schema:
type: string
enum:
- beginner
- intermediate
- advanced
default: intermediate
description: 'Difficulty level. Filters which exercises are selected per muscle: beginner returns beginner-level moves, intermediate returns beginner+intermediate, advanced prefers advanced moves (falling back to intermediate where advanced options are limited). Combine with goal, which controls volume.'
- name: daysPerWeek
in: query
schema:
type: integer
minimum: 3
maximum: 6
default: 4
description: Training days per week
- name: weeks
in: query
schema:
type: integer
enum:
- 4
- 8
- 12
default: 4
description: Program duration in weeks
- name: equipment
in: query
schema:
type: string
enum:
- bodyweight
- dumbbell
- cable
- mat
- machine
- barbell
- kettlebell
- band
- plate
- chair
- wall
- treadmill
- smith-machine
- box
- bosu
- foam-roller
- rings
- bench
- stationary-bike
- stability-ball
- landmine
- medicine-ball
- pull-up-bar
- dip-bar
- rowing-machine
- suspension-trainer
- weighted-vest
- mini-band
- push-up-handles
- battle-rope
- air-bike
- trap-bar
- ab-wheel
- block
- cone
- towel
- step
- smith machine
- foam roller
- stationary bike
- stability ball
- medicine ball
- pull up bar
- dip bar
- rowing machine
- suspension trainer
- weighted vest
- mini band
- push-up handles
- battle rope
- air bike
- trap bar
- ab wheel
- free weights
- ez bar
- swiss ball
- exercise ball
- gym ball
- resistance band
- resistance bands
- bosu ball
- balance trainer
- pullup bar
- chin up bar
- chinup bar
- parallel bars
- gymnastic rings
- yoga mat
- med ball
- slam ball
- weight plate
- bumper plate
- hex bar
- aerobic step
- step platform
- plyo box
- plyometric box
- jump box
- yoga block
- yoga blocks
- running machine
- row machine
- rowing ergometer
- concept 2
- exercise bike
- home bike
- spin bike
- spinning bike
- indoor bike
- indoor cycle
- upright bike
- recumbent bike
- cycle ergometer
- assault bike
- fan bike
- echo bike
- no equipment
description: Limit to specific equipment. Hyphens, underscores and spaces are interchangeable.
- name: includeWarmup
in: query
schema:
type: boolean
default: true
description: Adds a warmup block (bodyweight stretches, mobility, light cardio) to the start of each training day. Default true; set to false to omit. Warmup exercises count toward your monthly exercise cap.
- name: warmupCount
in: query
schema:
type: integer
default: 3
minimum: 2
maximum: 5
description: Number of warmup exercises per day. Only applied when includeWarmup is not false.
- name: includeCooldown
in: query
schema:
type: boolean
default: true
description: Adds a cooldown block (bodyweight stretches and mobility) to the end of each training day. Default true; set to false to omit. Cooldown exercises count toward your monthly exercise cap.
- name: cooldownCount
in: query
schema:
type: integer
default: 3
minimum: 2
maximum: 5
description: Number of cooldown exercises per day. Only applied when includeCooldown is not false.
- name: includeVideos
in: query
schema:
type: boolean
description: 'Whether to include video URLs. When omitted, the default depends on your API key: keys created before 2026-07-07 default to true, newer keys default to false (browse mode). Pass includeVideos=true when you want playable videos - the returned exercises then count toward your monthly cap. Thumbnails are returned either way on this endpoint, on every plan.'
- name: preferGender
in: query
schema:
type: string
enum:
- male
- female
description: Preferred model gender for the videos. Wherever an exercise has a clip with this model it comes first in the videos array; otherwise the other model is used. Read the gender field on each video to see which one you got.
responses:
'200':
description: Generated training program. When the monthly exercise cap is exceeded, exercises not previously accessed will have video properties removed entirely. A `_warning` object is included with details.
content:
application/json:
schema:
type: object
properties:
data:
$ref: '#/components/schemas/Program'
_warning:
$ref: '#/components/schemas/MonthlyCapWarning'
'401':
description: Invalid or missing API key
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'429':
description: Rate limit exceeded
content:
application/json:
schema:
$ref: '#/components/schemas/RateLimitError'
components:
schemas:
WorkoutExercise:
type: object
properties:
exercise:
$ref: '#/components/schemas/Exercise'
sets:
type: integer
reps:
type: string
restSeconds:
type: integer
group:
type: string
description: Block label when structure=superset ("A","B",...) or circuit ("circuit"). Absent on straight sets and unpaired exercises.
groupType:
type: string
enum:
- superset
- circuit
description: Block type; absent on straight sets.
groupPosition:
type: integer
description: 1-based position inside the block.
order:
type: integer
RateLimitError:
type: object
required:
- error
- retryAfterMs
properties:
error:
type: string
retryAfterMs:
type: integer
description: Milliseconds until the rate limit resets
upgradeUrl:
type: string
description: URL to upgrade your plan
availablePlans:
type: array
items:
type: string
ProgramDay:
type: object
properties:
day:
type: integer
name:
type: string
muscleGroups:
type: array
items:
type: string
exercises:
type: array
items:
$ref: '#/components/schemas/WorkoutExercise'
warmup:
type: array
items:
$ref: '#/components/schemas/WorkoutExercise'
description: Warmup exercises (bodyweight stretches, mobility, and light cardio) placed at the start of this day. Present unless includeWarmup=false.
cooldown:
type: array
items:
$ref: '#/components/schemas/WorkoutExercise'
description: Cooldown exercises (bodyweight stretches and mobility) placed at the end of this day. Present unless includeCooldown=false.
Exercise:
type: object
required:
- id
- title
- slug
- muscleGroup
- equipment
- hasVideo
- hasVideoWhite
- hasVideoGym
- videos
properties:
id:
type: string
format: uuid
title:
type: string
slug:
type: string
description:
type:
- string
- 'null'
instructions:
type:
- array
- 'null'
items:
type: string
importantPoints:
type:
- array
- 'null'
items:
type: string
muscleGroup:
type: string
secondaryMuscles:
type:
- array
- 'null'
items:
type: string
muscleGroups:
type:
- array
- 'null'
items:
type: string
description: Every muscle this exercise works, primary and supporting, at anatomical detail (e.g. ["back","lats","rhomboids","traps","erector_spinae"]). muscleGroup is the single coarse value the filters use; this is the detail behind it, for body maps and analysis. Populated for the whole catalogue.
equipment:
type: string
category:
type:
- string
- 'null'
difficulty:
type:
- string
- 'null'
videoUrl:
type:
- string
- 'null'
format: uri
description: Pre-signed CDN URL for primary video. Expires after 48 hours.
videoHlsUrl:
type:
- string
- 'null'
format: uri
description: Pre-signed CDN URL for HLS playlist. Expires after 48 hours.
thumbnailUrl:
type:
- string
- 'null'
format: uri
description: Default thumbnail (up to 600x800, 3:4) for the primary video, served from ymove.app. Static and cacheable - it does not expire. Same as thumbnails.default. Returned in browse mode too, where the video URLs are not.
thumbnails:
$ref: '#/components/schemas/Thumbnails'
videoDurationSecs:
type:
- integer
- 'null'
exerciseType:
type:
- array
- 'null'
items:
type: string
hasVideo:
type: boolean
hasVideoWhite:
type: boolean
hasVideoGym:
type: boolean
videos:
type: array
items:
$ref: '#/components/schemas/Video'
example:
id: a1b2c3d4-e5f6-7890-abcd-ef1234567890
title: Barbell Bench Press
slug: barbell-bench-press
description: A compound chest exercise performed lying on a flat bench.
instructions:
- Lie on a flat bench with feet flat on the floor
- Grip the barbell slightly wider than shoulder width
- Lower the bar to mid-chest
- Press the bar back up to full arm extension
importantPoints:
- Keep your back flat on the bench
- Do not bounce the bar off your chest
muscleGroup: chest
secondaryMuscles:
- triceps
- shoulders
muscleGroups:
- chest
- middle_chest
- pectoralis_major
- front_deltoids
- triceps
- core
equipment: barbell
category: compound
difficulty: intermediate
videoUrl: https://vz-xxx.b-cdn.net/video-id/play_720p.mp4?token=...
videoHlsUrl: https://vz-xxx.b-cdn.net/video-id/playlist.m3u8?token=...
thumbnailUrl: https://exercise-api.ymove.app/api/v2/thumbnail/video-id?crop=default
thumbnails:
default: https://exercise-api.ymove.app/api/v2/thumbnail/video-id?crop=default
square: https://exercise-api.ymove.app/api/v2/thumbnail/video-id?crop=square
portrait: https://exercise-api.ymove.app/api/v2/thumbnail/video-id?crop=portrait
landscape: https://exercise-api.ymove.app/api/v2/thumbnail/video-id?crop=landscape
original: https://exercise-api.ymove.app/api/v2/thumbnail/video-id
videoDurationSecs: 12
exerciseType:
- strength
hasVideo: true
hasVideoWhite: true
hasVideoGym: false
videos:
- id: 3f6c2a9e-8b1d-4c7a-9e2f-5d0b7a1c4e88
videoUrl: https://vz-xxx.b-cdn.net/video-id/play_720p.mp4?token=...
videoHlsUrl: https://vz-xxx.b-cdn.net/video-id/playlist.m3u8?token=...
thumbnailUrl: https://exercise-api.ymove.app/api/v2/thumbnail/video-id?crop=default
thumbnails:
default: https://exercise-api.ymove.app/api/v2/thumbnail/video-id?crop=default
square: https://exercise-api.ymove.app/api/v2/thumbnail/video-id?crop=square
portrait: https://exercise-api.ymove.app/api/v2/thumbnail/video-id?crop=portrait
landscape: https://exercise-api.ymove.app/api/v2/thumbnail/video-id?crop=landscape
original: https://exercise-api.ymove.app/api/v2/thumbnail/video-id
tag: white-background
orientation: landscape
isPrimary: true
Program:
type: object
properties:
name:
type: string
goal:
type: string
difficulty:
type: string
daysPerWeek:
type: integer
weeks:
type: integer
split:
type: string
weeklySchedule:
type: array
items:
$ref: '#/components/schemas/ProgramDay'
notes:
type: string
Video:
type: object
required:
- id
- tag
- isPrimary
description: Video URLs are pre-signed and expire after 48 hours. Do not cache these URLs. Always fetch fresh exercise data before displaying videos.
properties:
id:
type: string
format: uuid
description: Stable unique ID of this video. Use it to tell apart the videos of one exercise, or to store a reference to one specific clip. It does not change when the signed URLs do.
videoUrl:
type: string
format: uri
description: Pre-signed CDN URL for MP4 video. Expires after 48 hours.
videoHlsUrl:
type: string
format: uri
description: Pre-signed CDN URL for HLS playlist. Expires after 48 hours.
thumbnailUrl:
type: string
format: uri
description: The default thumbnail (up to 600x800, 3:4), served from ymove.app. Static and cacheable - it does not expire. Same as thumbnails.default; the other framings are on the thumbnails object.
thumbnails:
$ref: '#/components/schemas/Thumbnails'
tag:
type: string
enum:
- white-background
- gym-shot
orientation:
type: string
enum:
- landscape
- portrait
description: 'Video aspect orientation. Most exercise clips are PORTRAIT (vertical, ~9:16), shot for mobile. Do not assume landscape. Read this field and size your player to a portrait container (e.g. aspect-ratio 9/16) with object-fit: cover so clips fill the frame instead of letterboxing.'
gender:
type:
- string
- 'null'
enum:
- male
- female
- null
description: The model in the clip. Filter on it with ?gender= or order by it with ?preferGender=. Null on a clip that has not been tagged.
isPrimary:
type: boolean
Error:
type: object
required:
- error
properties:
error:
type: string
message:
type: string
Thumbnails:
type: object
description: 'Five framings of one frame from the clip, all served from ymove.app. Unlike the video URLs these are static: no token, no expiry, safe to cache, store and hotlink. They accompany the video whenever one is returned, and never count against your monthly cap. On Scale they are also returned without a video, in browse mode and with excludeVideos; on the capped plans they are not, so the monthly exercise limit stays visible while you build rather than arriving all at once the day you switch video on. The frame is picked from across the clip for a visible face and the most extended pose, so a jump is caught mid-air rather than at the standing rest position the clip opens on. Every crop is centred on the person by face detection, and each one is white-balanced after cropping, so a grid of clips from different shoots reads as one library instead of drifting warm or green between shoots.'
required:
- default
- square
- portrait
- landscape
- original
properties:
default:
type: string
format: uri
description: Up to 600x800 (3:4). The one to reach for, and what thumbnailUrl points at. A mild portrait holds a standing lift and a lying floor exercise without cramping either.
square:
type: string
format: uri
description: Up to 600x600 (1:1). List rows, grid tiles, anywhere the layout is already square.
portrait:
type: string
format: uri
description: Up to 720x1280 (9:16). Matches the video itself, for full-bleed mobile and story-style screens.
landscape:
type: string
format: uri
description: 'Up to 1280x720 (16:9). Wide cards, hero strips, and the poster frame of a video player. Tall poses are cropped to the upper body to fit the shape. Sizes are ceilings: the images are never upscaled, so a crop is only as large as the source clip allows, and older clips cap around 720px wide.'
original:
type: string
format: uri
description: The whole frame, uncropped, as shot (portrait, ~9:16). Use it when you want to crop it yourself.
MonthlyCapWarning:
type: object
description: Included as `_warning` in the response body when the exercise video limit is exceeded (per 30 days on monthly billing, per 365 days on yearly; reason stays monthly_exercise_cap for both). Exercises not previously accessed will have their video properties (videoUrl, videoHlsUrl, thumbnailUrl, videoDurationSecs, videos) removed entirely from the response. Previously accessed exercises keep their video URLs.
properties:
message:
type: string
reason:
type: string
enum:
- monthly_exercise_cap
monthlyExercisesUsed:
type: integer
monthlyExerciseLimit:
type: integer
exerciseLimitWindowDays:
type: integer
enum:
- 30
- 365
upgradeUrl:
type: string
securitySchemes:
ApiKeyHeader:
type: apiKey
in: header
name: X-API-Key
ApiKeyQuery:
type: apiKey
in: query
name: api_key