Welcome to the Pregnancy Calculator API! This API provides endpoints for calculating various aspects related to pregnancy, including the Fertility Window, Pregnancy Due Date, Pregnancy Week, and Pregnancy Weight Recommendation. With this API, you can easily integrate these calculations into your applications, websites, or any other projects.
- Fertility Window Calculation: Calculate the fertility window based on menstrual cycle length and date.
- Pregnancy Due Date Prediction: Predict the due date of pregnancy based on the last menstrual period or conception date.
- Pregnancy Week Estimation: Estimate the current week of pregnancy based on the last menstrual period or conception date.
- Pregnancy Weight Recommendation: Calculate recommended pregnancy weight based on pre-pregnancy weight, height, and gestational age.
To get started, you need to subscribe to the API on RapidAPI. Visit Pregnancy Calculator API on RapidAPI and subscribe to start using the API in your projects.
curl --request GET \
--url 'https://pregnancy-calculator-api.p.rapidapi.com/fw?cycle_length=28&menstrual_date=2023-06-01' \
--header 'X-RapidAPI-Host: pregnancy-calculator-api.p.rapidapi.com' \
--header 'X-RapidAPI-Key: SIGN-UP-FOR-KEY'
- By Last Menstrual Period:
curl --request GET \
--url 'https://pregnancy-calculator-api.p.rapidapi.com/dd/lmp?last_period_date=2023-01-01&cycle_length=28' \
--header 'X-RapidAPI-Host: pregnancy-calculator-api.p.rapidapi.com' \
--header 'X-RapidAPI-Key: SIGN-UP-FOR-KEY'
- By Conception Date:
curl --request GET \
--url 'https://pregnancy-calculator-api.p.rapidapi.com/dd/conception?conception_date=2023-05-01' \
--header 'X-RapidAPI-Host: pregnancy-calculator-api.p.rapidapi.com' \
--header 'X-RapidAPI-Key: SIGN-UP-FOR-KEY'
- By Last Menstrual Period:
curl --request GET \
--url 'https://pregnancy-calculator-api.p.rapidapi.com/pw/lmp?last_period_date=2023-01-01&cycle_length=28' \
--header 'X-RapidAPI-Host: pregnancy-calculator-api.p.rapidapi.com' \
--header 'X-RapidAPI-Key: SIGN-UP-FOR-KEY'
- By Conception Date:
curl --request GET \
--url 'https://pregnancy-calculator-api.p.rapidapi.com/pw/conception?conception_date=2023-05-01' \
--header 'X-RapidAPI-Host: pregnancy-calculator-api.p.rapidapi.com' \
--header 'X-RapidAPI-Key: SIGN-UP-FOR-KEY'
curl --request GET \
--url 'https://pregnancy-calculator-api.p.rapidapi.com/pwr?pre_pregnancy_weight=60&height=1.65&gestational_age=20' \
--header 'X-RapidAPI-Host: pregnancy-calculator-api.p.rapidapi.com' \
--header 'X-RapidAPI-Key: SIGN-UP-FOR-KEY'
If you encounter any issues or have suggestions for improvements, please feel free to open an issue on GitHub.
This project is licensed under the MIT License - see the LICENSE file for details.
- Website: www.dakidarts.com
- Twitter: @dakidarts
- Facebook: @dakidarts
- LinkedIn: company/@dakidarts