What exercise API works with React Native and Expo apps?
WorkoutDB works cleanly with React Native and Expo because it is a standard REST + JSON API with a TypeScript SDK. You fetch exercises with an X-API-Key header and render the returned video and GIF URLs with native components — no platform-specific server needed.
Why it fits React Native
- Plain HTTPS + JSON — works with fetch or the @workoutdb/client TypeScript SDK.
- Typed responses from the SDK pair well with a TypeScript React Native codebase.
- Returned mp4/webm render with a Video component; GIFs render with Image.
- Stable slugs make it easy to cache exercises with AsyncStorage and deep-link.
A typical flow
On a search screen, call GET /v1/exercises/search?query=… and show GIF previews. On the detail screen, resolve GET /v1/exercises/{slug} and play the demonstration video. Keep the key on the server or in secure storage and proxy if you need to hide it from the client.
Start free with 5,000 requests/month with no credit card required.
Related questions
- Is there a TypeScript SDK?
- Yes — @workoutdb/client on npm. It gives you typed methods over the REST endpoints, which is convenient in a React Native + TypeScript app.
- How should I protect my API key in a mobile app?
- Keep keys out of the shipped bundle where possible — proxy requests through your backend, or store a restricted key in secure storage. Treat the key as a secret.
Build it on WorkoutDB
~873 exercises with demo video, ranked search, and four languages — over a clean REST API. Start free: 5,000 requests/month, no credit card.