Obtain your API key

Go to the console and obtain your API key. You will need this key to authenticate your requests.

Base URL

All of the endpoints are prefixed with the base URL. The base URL for the Wrkout API is:

https://api.wrkout.xyz

The response will be in JSON format.

Authentication

All of the endpoints require an API key to be passed in the header.

curl -X GET "https://api.wrkout.xyz/exercise/3-4_sit-up" \
  -H "X-API-Key: $API_KEY"

Making a request

Head to the API reference to see all the available endpoints and their parameters.

The first request you will probably want to make is to fetch the list of exercises available:

curl -X GET "https://api.wrkout.xyz/exercise/exerciseIds" \
  -H "X-API-Key: $API_KEY"