Skip to main content
Caching of AscendAPI data is only permitted if your current plan explicitly allows it. If you are unsure whether your plan includes caching rights, check the features listed on your product page or contact us before implementing any caching layer.

What to Cache

If your plan permits caching, the table below gives recommended TTL values based on how frequently each data type changes.
Data TypeChanges How OftenRecommended TTL
Exercise IDStart of every week (Monday 00:00 UTC)Under 7 days
Body parts, muscles, equipment listsRarely7 days or longer
Muscle visualization imagesPer requestDuration of session
Media asset URLs (images, GIFs, videos)Start of every week (Monday 00:00 UTC)Under 7 days

ExerciseDB V1 and V2

Exercise IDs and media asset URLs are rotated at the start of every week on Monday at 00:00 UTC. If your plan does not permit caching, these values can change at any point and should never be stored. If your plan permits caching, set your TTL to expire before Monday 00:00 UTC to ensure your cache stays valid. Any cached exercise IDs or media URLs that are not refreshed before rotation will return a 404 error when accessed.
Do not store exercise IDs or media URLs as permanent identifiers in your database. Always fetch fresh data from the API and respect the recommended TTL.

Media Assets

Media assets including images, GIFs, and videos are served directly from a CDN. Reference the URLs returned by the API in your app. You do not need to proxy or re-host them under standard plans. Since media URLs rotate alongside exercise IDs every Monday at 00:00 UTC, ensure you refresh cached URLs before that window.

Muscle Visualizer

Generated muscle visualization images can be cached on your server for the duration of your active subscription. Storing the generated image and serving it from your own layer avoids regenerating the same visualization on every request.
Cached Muscle Visualizer assets must not be served after your subscription ends.

Contact

Standard plans do not cover persistent storage, bulk downloads, custom cache invalidation, dedicated CDN endpoints, whitelabel URLs, or SLA-backed availability. For these requirements, reach out at hello@ascendapi.com.
Last modified on March 22, 2026