Docs

Below you'll find examples using Fetch API but you can use any other http library out there.

Important Notes

  1. Default rate limit is 100 requests per hour.
  2. Default number of randomly generated super sets from random endpoint is 8.

Random Super Set

Get one random super set

fetch("https://workout-api.vercel.app/api/random")
.then((response) => response.json())
.then((quote) => console.log(quote));

Get one random super set by mentioning a specific amount to of workouts to be included

fetch("https://workout-api.vercel.app/api/random?amount=8")
.then((response) => response.json())
.then((quote) => console.log(quote));

Available Workouts

Get all available workouts

fetch("https://workout-api.vercel.app/api/list")
.then((response) => response.json())
.then((quote) => console.log(quote));

Created by Omer Mohideen © 2023