API Documentation

Access RunRacePlanner calculators directly via URL parameters. Perfect for automation, AI systems, and integrations.

BMR Calculator

https://runraceplanner.com/en/bmr-calculator?weight=70&height=175&age=30&gender=male&bodyFat=15

Parameters:

ParameterTypeRequiredDescription
weightnumberYesWeight in kilograms
heightnumberYesHeight in centimeters
agenumberYesAge in years
genderstringYes"male" or "female"
bodyFatnumberNoBody fat percentage (3-50)

Example:

Calculate BMR for a 30-year-old male, 175cm tall, weighing 70kg with 15% body fat:

https://runraceplanner.com/en/bmr-calculator?weight=70&height=175&age=30&gender=male&bodyFat=15

Body Fat Calculator

https://runraceplanner.com/en/body-fat-calculator?weight=70&waist=80&neck=37&gender=male

Parameters:

ParameterTypeRequiredDescription
weightnumberYesWeight in kilograms
waistnumberYesWaist circumference in cm
necknumberYesNeck circumference in cm
genderstringYes"male" or "female"
hipsnumberIf femaleHip circumference in cm (required for females)

Carb Depot Calculator

https://runraceplanner.com/en/carb-depot-calculator?weight=70&bodyFat=15&gender=male&sport=running

Parameters:

ParameterTypeRequiredDescription
weightnumberYesWeight in kilograms
bodyFatnumberYesBody fat percentage
genderstringYes"male" or "female"
sportstringNo"running", "cycling", "swimming", "trail", "skiing"
agenumberNoAge in years
trainingLevelnumberNoTraining level (13-25 g/kg). Default: 21
inputModestringNo"bodyFat" or "muscleMass". Default: "bodyFat"
muscleMassnumberNoMuscle mass in kg (use with inputMode=muscleMass)

Lactate Calculator

https://runraceplanner.com/en/lactate-calculator?threshold_pace=4:30&sport=running

Parameters:

ParameterTypeRequiredDescription
threshold_pacestringYesLactate threshold pace (MM:SS format per km)
threshold_hrnumberNoLactate threshold heart rate
maxHRnumberNoMaximum heart rate
sportstringNo"running", "cycling", "swimming"

Zones Converter

https://runraceplanner.com/en/zones-converter?maxHR=200&hr6=90,110,130,150,165,175

Parameters:

ParameterTypeRequiredDescription
maxHRnumberNoMaximum heart rate. Default: 200
hr6stringNoComma-separated HR values for 6-zone model (6 values)
hr5stringNoComma-separated HR values for 5-zone model (5 values)
hr3stringNoComma-separated HR values for 3-zone model (3 values)

Training Planner (Race Calculator)

Race planning calculator for optimizing heart rate, calculating nutrition needs, and planning checkpoint times.

https://runraceplanner.com/en/training-planner?distance=42.195&targetHours=4&targetMinutes=0&avgHeartRate=150&carbsPerHour=120

Parameters:

ParameterTypeRequiredDescription
distancenumberYesRace distance in kilometers
targetHoursnumberNoTarget finish time hours (0-23)
targetMinutesnumberNoTarget finish time minutes (0-59)
targetSecondsnumberNoTarget finish time seconds (0-59)
avgHeartRatenumberNoAverage heart rate (bpm)
carbsPerHournumberNoCarbohydrate consumption (g/hour)
startHournumberNoRace start hour (0-23)
startMinutenumberNoRace start minute (0-59)

Usage Notes

For AI Systems: These URL parameters allow ChatGPT, Claude, Perplexity and other AI systems to directly link users to pre-filled calculators based on their conversation context.

  • All calculators support both metric and imperial units
  • Parameters are validated on the client side
  • Invalid parameters are ignored, allowing partial pre-filling
  • The locale parameter in the URL determines the language (en, ru, de, fr, es, etc.)
  • All calculators are free to use without authentication

Supported Languages

en - English
ru - Russian
de - German
fr - French
es - Spanish
ja - Japanese
pt - Portuguese
it - Italian
zh - Chinese
ko - Korean
pl - Polish
tr - Turkish