McDonalds API endpoint
Use Crawlora's McDonald's Restaurants API to extract supported public McDonalds data as structured JSON. This page includes request parameters, cURL examples, response schema, error behavior, credit cost, and a Playground link for testing before integration.
/mcdonalds/restaurantsReturns McDonald's restaurants near a latitude/longitude, in any of ten markets. Each restaurant carries its store id, name, street address, city, state, postal code, phone, coordinates, timezone, open status, today's dining and drive-thru hours, the full published week of hours, and McDonald's own amenity codes (for example DRIVETHRU, WIFI, MOBILEOFFERS, GIFTCARDS). A delivery deep link is included where McDonald's publishes one; note it points at a third-party delivery platform. A coordinate with no McDonald's nearby returns an empty list rather than an error. Set country to search outside the United States -- the locator covers more markets than the menu and item endpoints do, so a country valid here is not necessarily valid there. Developers commonly use this endpoint for data enrichment, monitoring, research dashboards, internal automation, and agent-native workflows that need repeatable structured public web data. Authentication uses the documented Crawlora headers, and usage is metered with the credit cost shown on this page.
Request parameters are generated from the active endpoint catalog. Required values must be sent before Crawlora can call the upstream public web data source.
| Parameter | Type | Required | Default | Description | Example |
|---|---|---|---|---|---|
| latitude | number | Yes | Search center latitude | ||
| longitude | number | Yes | Search center longitude | ||
| radius | integer | No | Search radius in miles, 1-100 (default 20) | ||
| max_results | integer | No | Maximum restaurants to return, 1-50 (default 10) | ||
| country | string | No | Market to search (default us). One of us, gb, ca, au, de, ie, nz, ch, nl, se. Allowed values: us, gb, ca, au, de, ie, nz, ch, nl, se | ||
| x-api-key (header) | string | Yes | API key required |
curl -X GET "https://api.crawlora.net/api/v1/mcdonalds/restaurants?country=us" \ -H "x-api-key: $CRAWLORA_API_KEY"
Send your scraping API key in the x-api-key header. Use the console API Keys page to rotate or select the active key.
Endpoint usage is metered in credits. The plan prices, included credits, limits, and overage rates below match the active backend billing configuration.
| Plan | Price | Included credits | Daily cap | Rate limit | Overage |
|---|---|---|---|---|---|
| Free | $0/mo | 2,000 | 500 daily credits | 5/min | No overage |
| Starter | $9/mo | 20,000 | 5,000 daily credits | 15/min | $0.75/1,000 overage credits when enabled |
| Growth | $29/mo | 100,000 | 25,000 daily credits | 45/min | $0.45/1,000 overage credits when enabled |
| Pro | $79/mo | 400,000 | No daily cap | 120/min | $0.30/1,000 overage credits |
| Business | $199/mo | 1,200,000 | No daily cap | 300/min | $0.20/1,000 overage credits |
| Enterprise | $499/mo | 5,000,000 | No daily cap | 1,000/min | $0.12/1,000 overage credits |
This endpoint is executed through Crawlora's managed scraping infrastructure.
Crawlora does not silently return bad data when the upstream page cannot be used.
| Status | Common failure case |
|---|---|
| 400 | Invalid input or missing required parameter |
| 429 | Plan or endpoint rate limit exceeded |
| 500 | Internal execution error |
| 502 | Upstream platform failed, returned unusable HTML, or served a challenge page that could not be resolved |
When possible, Crawlora returns structured error context so your integration can retry, back off, or inspect the request.
| Status | Description | Schema |
|---|---|---|
| 400 | Bad Request | #/definitions/app.Response |
| 404 | Not Found | #/definitions/app.Response |
| 429 | Too Many Requests | #/definitions/app.Response |
| 503 | Service Unavailable | #/definitions/app.Response |
{
"code": 200,
"msg": "OK",
"data": {
"restaurants": [
{
"store_id": "10528",
"name": "160 BROADWAY",
"address": "160 Broadway",
"city": "New York",
"state": "NY",
"postal_code": "10038",
"telephone": "(212) 385-2066",
"latitude": 40.709438,
"longitude": -74.010086,
"timezone": "(GMT-05:00) Eastern Time (US & Canada)",
"open_status": "OPEN",
"today_hours": "00:00 - 00:00",
"hours": [
{
"day_of_week": "Monday",
"hours": "00:00 - 00:00"
}
],
"facilities": [
"GIFTCARDS",
"MOBILEOFFERS"
]
}
],
"count": 1,
"source_url": "https://www.mcdonalds.com/googleappsv2/geolocation?method=searchLocation",
"fetched_at": "2026-08-31T05:10:00Z"
}
}Request schema
No body schema
Response schema
#/definitions/mcdonalds.restaurantsResponseDoc
| Field | Type | Required | Enum | Bounds | Example | Description |
|---|---|---|---|---|---|---|
| code | integer | No | Code is the HTTP status code or a custom code used to indicate the result of the request @example 200 | |||
| data | mcdonalds.RestaurantsResponse | No | ||||
| data.count | integer | No | 5 | |||
| data.country | string | No | us | Country echoes the market searched, so a response is self-describing when several markets are queried in one workflow. | ||
| data.fetched_at | string | No | ||||
| data.restaurants | array | No | ||||
| data.restaurants[].address | string | No | 160 Broadway | |||
| data.restaurants[].city | string | No | New York | |||
| data.restaurants[].delivery_url | string | No | DeliveryURL is the store's delivery deep link when one is published. Note McDonald's points this at a third-party delivery platform. | |||
| data.restaurants[].drive_thru_hours | string | No | ||||
| data.restaurants[].facilities | array | No | Facilities are McDonald's own amenity codes for the restaurant (e.g. GIFTCARDS, MOBILEOFFERS, DRIVETHRU, WIFI). | |||
| data.restaurants[].hours | array | No | Hours is the full week where McDonald's publishes it. | |||
| data.restaurants[].hours[].day_of_week | string | No | monday | |||
| data.restaurants[].hours[].hours | string | No | 00:00 - 00:00 | |||
| data.restaurants[].latitude | number | No | 40.709438 | |||
| data.restaurants[].longitude | number | No | -74.010086 | |||
| data.restaurants[].name | string | No | 160 BROADWAY | |||
| data.restaurants[].open_status | string | No | OPEN | |||
| data.restaurants[].postal_code | string | No | 10038 | |||
| data.restaurants[].state | string | No | NY | |||
| data.restaurants[].store_id | string | No | 10528 | |||
| data.restaurants[].telephone | string | No | (212) 385-2066 | |||
| data.restaurants[].timezone | string | No | ||||
| data.restaurants[].today_hours | string | No | TodayHours and DriveThruHours are the published windows for today. | |||
| data.source_url | string | No | ||||
| msg | unknown | No | Msg is the message that describes the result of the request @example "Request successful" |
Use environment variables for secrets and keep Crawlora API keys server-side.
curl -X GET "https://api.crawlora.net/api/v1/mcdonalds/restaurants?country=us" \
-H "x-api-key: $CRAWLORA_API_KEY"Crawlora is designed for responsible structured public web data workflows. Customers are responsible for using Crawlora in compliance with applicable laws, third-party rights, target-platform rules, and Crawlora terms.
Read Crawlora terms