McDonald's API
mcdonalds.com
McDonald's - restaurants, menus, item details, pricing, ingredients, and nutrition.
- Actions
- 7
- Category
- Food Dining
- Login
- Not required
- Output
- JSON
Call the McDonald's API
Submit a task, then poll the job until it settles. This example runs act_mcdonalds_com_homepage_ssr.
curl -X POST https://api.anakin.io/v1/wire/task \
-H "X-API-Key: $ANAKIN_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"action_id": "act_mcdonalds_com_homepage_ssr",
"params": {}
}'7 actions on mcdonalds.com
Read
Homepage Content
act_mcdonalds_com_homepage_ssrread1 credit / callReturns homepage promotional items with titles, links, and images.
Menu Category Burgers
act_mcdonalds_com_menu_category_ssr_burgersread1 credit / callReturns the burgers menu category with item names, IDs, and product links.
- category_slug
- string · required
Menu Category Drinks
act_mcdonalds_com_menu_category_ssr_drinksread1 credit / callReturns the drinks menu category with item names, IDs, and product links.
- category_slug
- string · required
Menu Item Details
act_mcdonalds_com_menu_item_detailread2 credits / callReturns item details with components, nutrient facts, ingredients, and categories.
- item
- string · required
Menu Item Nutrition List
act_mcdonalds_com_menu_item_nutrition_listread2 credits / callReturns nutrition facts, ingredients, and components for menu items.
- item
- string · required
Product Details
act_mcdonalds_com_product_detail_ssrread1 credit / callReturns product detail for a menu item with name, description, and IDs.
- product_slug
- string · required
Restaurant Locator GeoJSON
act_mcdonalds_com_restaurant_locator_geojsonread2 credits / callReturns nearby restaurants with addresses, hours, status, and delivery links.
- latitude
- string · required
- longitude
- string · required
McDonald's API questions
- Is there an API for McDonald's?
- McDonald's does not offer a public data API for this, but Anakin Wire provides 7 maintained endpoints for mcdonalds.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 McDonald's 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 mcdonalds.com changes its markup, Anakin updates the action.
- Do I need a McDonald's account?
- No. Every McDonald's action listed here runs anonymously — no account and no credentials required.
- What does the McDonald's 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 Food Dining APIs
101 Cookbooks
Whole-foods recipe blog - recipe categories, full recipes with ingredients, and article roundups.
Allmenus
Allmenus - restaurant search by city, menus with dish prices, and cuisine filters.
Allrecipes
Allrecipes - recipe search by keyword or ingredient, categories, and recipe details.
Ambitiouskitchen
Recipe site - categories, recipe details, ingredients, steps, and ratings.
Applebee's
Applebee's - menu, item prices, locations, and nutrition info.
Arbys
Arby's quick-service chain - menu categories, prices, nutrition facts, and store locations.