Health
MyFitnessPal logo

MyFitnessPal API

myfitnesspal.com

Nutrition and fitness tracker. Food/calorie logging, weight & measurement progress, nutrition goals, friends.

Actions
5
Category
Health
Login
Some actions
Output
JSON

MyFitnessPal has 5 actions. The live parameter list is temporarily unavailable — fetch it from GET https://api.anakin.io/v1/wire/catalog/myfitnesspal.

MyFitnessPal API questions

Is there an API for MyFitnessPal?
MyFitnessPal does not offer a public data API for this, but Anakin Wire provides 5 maintained endpoints for myfitnesspal.com. You call Anakin's REST API with an action ID and parameters and get structured JSON back; Anakin handles the browser, proxies, anti-bot, and parsing.
How do I scrape MyFitnessPal data?
POST to https://api.anakin.io/v1/wire/task with your API key, the action ID, and its parameters, then poll GET /v1/wire/jobs/{id} until the job settles. There is nothing to install and no scraper to maintain — when myfitnesspal.com changes its markup, Anakin updates the action.
Do I need a MyFitnessPal account?
Some MyFitnessPal actions read data that is only visible when signed in, so those need a credential you connect once. Actions marked "read" without a login requirement run anonymously.
What does the MyFitnessPal API cost?
Usage-based credits, charged per call and refunded automatically when a job fails. New accounts start with 300 free credits and no card. See anakin.io/pricing for the current rates.

More Health APIs

All Health sites