# Enterprise — 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 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. Each call is automatically billed to your wallet in USDC.

## Access

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

## 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.paywithlocus.com/api/wrapped/parse-enterprise-com-api-efc439b0/search_locations \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -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.paywithlocus.com/api/wrapped/parse-enterprise-com-api-efc439b0/search_vehicles \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -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>"}'
```
