# Ubereats — Wrapped API

> **You are on:** `https://api.beta.paywithlocus.com/api` | [llms.txt](https://beta.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 by cuisine or location and browse their menus, prices, ratings, and delivery times. Get detailed information about specific restaurants and menu items to find exactly what you want to order.

**Category:** Food & Dining | **Website:** [ubereats.com/](https://ubereats.com/) | **Docs:** [parse.bot/marketplace/7b867f99-67b5-4f57-96eb-b07aacb3b44f/ubereats-com-api](https://parse.bot/marketplace/7b867f99-67b5-4f57-96eb-b07aacb3b44f/ubereats-com-api)

Pay-per-use API proxy for Locus Pro. Each call burns credits from your workspace balance.

## Access

**Base URL:** `https://api.beta.paywithlocus.com/api/wrapped/credits/ubereats/`
**Auth:** `Authorization: Bearer <LOCUS_CREDITS_SECRET_KEY>` (an `lcr_` secret key or a scoped `lcac_` agent credential)
**Required header:** `Idempotency-Key: <fresh UUID per call>`. A retry with the same key replays the stored result without a new charge.
**Response:** the provider response after any endpoint-specific normalization. `X-Locus-Credits-Charged` carries the charge and `X-Locus-Credits-Balance` the remaining balance. Insufficient credits return `402` before the provider is called.
**Pricing:** estimated costs below are USD. Locus debits the credit equivalent at your workspace rate.

Full call contract: https://docs.paywithlocus.com/api-reference/introduction

> Using a Pay With Locus wallet key (`claw_` prefix)? Wallet routes are documented separately: https://docs.paywithlocus.com/wrapped-apis/for-agents

## Endpoints

### Get menu item details

Get detailed information about a specific menu item, including description, price, customization options, nutritional info, and product identifiers. Requires store_uuid and item_uuid; section_uuid and subsection_uuid are needed for accurate results and can be obtained from the store catalog data. An address near the store is required for the API to resolve the item.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `address` | string | No | Delivery address near the store, used for location context required by the API |
| `item_uuid` | string | Yes | UUID of the menu item (obtainable from store catalog data) |
| `section_uuid` | string | No | UUID of the menu section containing the item (from the item's sectionUuid field in store catalog) |
| `store_uuid` | string | Yes | UUID of the store/restaurant |
| `subsection_uuid` | string | No | UUID of the menu subsection containing the item (from the item's subsectionUuid field in store catalog) |

```bash
curl -X POST https://api.beta.paywithlocus.com/api/wrapped/credits/ubereats/get-menu-item-details \
  -H "Authorization: Bearer $LOCUS_CREDITS_SECRET_KEY" \
  -H "Idempotency-Key: $(uuidgen)" \
  -H "Content-Type: application/json" \
  -d '{"address":"<string>","item_uuid":"<string>","section_uuid":"<string>","store_uuid":"<string>","subsection_uuid":"<string>"}'
```

### Get restaurant feed

Get the restaurant feed for a specific address. Returns featured restaurants, carousels, filters, dining mode options, and scheduling information. Feed includes multiple carousel types (deals, popular stores) and individual restaurant listings.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `address` | string | Yes | Delivery address to get the feed for (e.g., 'New York, NY', '1600 Amphitheatre Parkway, Mountain View, CA') |

```bash
curl -X POST https://api.beta.paywithlocus.com/api/wrapped/credits/ubereats/get-restaurant-feed \
  -H "Authorization: Bearer $LOCUS_CREDITS_SECRET_KEY" \
  -H "Idempotency-Key: $(uuidgen)" \
  -H "Content-Type: application/json" \
  -d '{"address":"<string>"}'
```

### Search restaurants

Search for restaurants by query and address. Returns a list of restaurants matching the search criteria along with filters, dining modes, and pagination metadata. The query matches restaurant names and cuisine types. Results are geo-scoped to the resolved delivery address.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `address` | string | No | Delivery address to search near. Can be a city/state or full street address. |
| `query` | string | Yes | Search keyword for restaurants or cuisine types (e.g., 'Pizza', 'Sushi', 'Chinese', 'McDonald's') |

```bash
curl -X POST https://api.beta.paywithlocus.com/api/wrapped/credits/ubereats/search-restaurants \
  -H "Authorization: Bearer $LOCUS_CREDITS_SECRET_KEY" \
  -H "Idempotency-Key: $(uuidgen)" \
  -H "Content-Type: application/json" \
  -d '{"address":"<string>","query":"<string>"}'
```

## Next steps

- [All wrapped API providers](https://beta.paywithlocus.com/wapi/index.md): pick another provider.
- [Find and call tools](https://beta.paywithlocus.com/agent/tools.md): price ceilings, async results, and errors.
- [Credits and billing](https://beta.paywithlocus.com/agent/billing.md): what a call costs and how to add credits.
- [Agent docs index](https://beta.paywithlocus.com/agent/index.md): every Locus agent page.