# Enterprise — 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 Enterprise Rent-A-Car locations near you and check real-time vehicle availability with pricing to find the perfect rental car across the US. Compare options at different branches and instantly see what's available for your desired travel dates.

**Category:** Travel | **Website:** [www.enterprise.com/](https://www.enterprise.com/) | **Docs:** [parse.bot/marketplace/efc439b0-ff16-4f7f-b517-677e7a3afb11/enterprise-com-api](https://parse.bot/marketplace/efc439b0-ff16-4f7f-b517-677e7a3afb11/enterprise-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/enterprise/`
**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

### Search locations

Search Enterprise rental locations by text query. Returns airports, branches, and cities matching the search term with addresses, GPS coordinates, and contact info. Results are not paginated — all matches return in a single response. Each location carries an id usable as input to search_vehicles.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `country_code` | string | No | Country code filter (e.g. US, CA, GB) |
| `query` | string | Yes | Location search text (city name, airport code, address) |

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

### Search vehicles

Search available rental vehicles with pricing at a specific Enterprise location for given dates. Returns all available car classes with daily rates, total prices, vehicle specs, and features. Use search_locations first to get a location_id. Results are not paginated — all available vehicle classes return in a single response.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `country_code` | string | No | Country of residence code |
| `currency` | string | No | Currency code for pricing (e.g. USD, EUR, GBP) |
| `location_id` | string | Yes | Enterprise location ID from search_locations results (e.g. '1018611') |
| `pickup_date` | string | No | Pickup date in YYYY-MM-DD format. Omitting defaults to 3 days from current date. |
| `pickup_time` | string | No | Pickup time in HH:MM format (24h) |
| `renter_age` | integer | No | Renter's age (affects pricing for under 25) |
| `return_date` | string | No | Return date in YYYY-MM-DD format. Omitting defaults to 5 days from current date. |
| `return_location_id` | string | No | Return location ID if different from pickup (one-way rental). Omitting defaults to same as pickup location. |
| `return_time` | string | No | Return time in HH:MM format (24h) |

```bash
curl -X POST https://api.beta.paywithlocus.com/api/wrapped/credits/enterprise/search-vehicles \
  -H "Authorization: Bearer $LOCUS_CREDITS_SECRET_KEY" \
  -H "Idempotency-Key: $(uuidgen)" \
  -H "Content-Type: application/json" \
  -d '{"country_code":"<string>","currency":"<string>","location_id":"<string>","pickup_date":"<string>","pickup_time":"<string>","renter_age":"<integer>","return_date":"<string>","return_location_id":"<string>","return_time":"<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.