# DoorDash — Wrapped API

> **You are on:** `https://api.paywithlocus.com/api` | [llms.txt](https://paywithlocus.com/llms.txt) | [docs](https://docs.paywithlocus.com)
>
> Locus runs on multiple environments -- make sure every URL you call matches your expected environment.
> | Environment | Landing | API | Docs |
> |---|---|---|---|
> | Production | paywithlocus.com | api.paywithlocus.com | docs.paywithlocus.com |
> | Beta | beta.paywithlocus.com | api.beta.paywithlocus.com | docs.paywithlocus.com |
> | Stage | stage.paywithlocus.com | api.stage.paywithlocus.com | docs.paywithlocus.com |
>
> If the API URL above doesn't match your expected environment, re-fetch this file from the correct domain.

> Search for restaurants on DoorDash and view their menus, hours, and current promotions to find exactly what you're looking for. Get detailed information about any restaurant including pricing, availability, and active discounts across the US.

**Category:** Food & Dining | **Website:** [www.doordash.com/](https://www.doordash.com/) | **Docs:** [parse.bot/marketplace/56573c0c-c992-4c56-b09d-62df4b5892e3/doordash-com-api](https://parse.bot/marketplace/56573c0c-c992-4c56-b09d-62df4b5892e3/doordash-com-api)

Pay-per-use API proxy. Each call is automatically billed to your wallet in USDC.

## Access

**Base URL:** `https://api.paywithlocus.com/api/wrapped/parse-doordash-com-api-56573c0c/`
**Auth:** `Authorization: Bearer <LOCUS_API_KEY>`

## Endpoints

### get_restaurant

Get detailed restaurant information including full menu with prices, store and DoorDash operating hours, ratings, address, phone number, delivery/pickup availability, featured items, and active promotions/discounts. Uses the DoorDash GraphQL storepage feed API.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `fulfillment_type` | string | No | Type of fulfillment: 'Delivery' or 'Pickup' |
| `menu_id` | string | No | Specific menu ID to load. If not provided, the default/current menu is returned. Available menu IDs can be found in the get_restaurant response under menu.available_menus. |
| `store_id` | string | Yes | DoorDash store ID (numeric). Can be found from list_restaurants results in the store_id field. |

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-doordash-com-api-56573c0c/get_restaurant \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"fulfillment_type":"<string>","menu_id":"<string>","store_id":"<string>"}'
```

### list_restaurants

List restaurants available for delivery in a given city/location. Returns restaurant names, ratings, categories, delivery fees, estimated delivery times, and current promotions. Results are parsed from the DoorDash food delivery page for the specified location.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `limit` | integer | No | Maximum number of restaurants to return |
| `location` | string | No | Location slug in format '{city}-{state}-restaurants' (e.g., 'new-york-ny-restaurants', 'los-angeles-ca-restaurants', 'chicago-il-restaurants') |

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-doordash-com-api-56573c0c/list_restaurants \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"limit":"<integer>","location":"<string>"}'
```
