# Hertz — 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 Hertz rental locations and instantly compare available vehicles with real-time pricing, fees, and vehicle features for your desired pickup and dropoff dates. Find the perfect rental car deal by browsing inventory across multiple locations and filtering by your travel needs.

**Category:** Travel | **Website:** [www.hertz.com/](https://www.hertz.com/) | **Docs:** [parse.bot/marketplace/41832543-4bb5-4bd0-8b8b-bb6cc6ad0dca/hertz-com-api](https://parse.bot/marketplace/41832543-4bb5-4bd0-8b8b-bb6cc6ad0dca/hertz-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-hertz-com-api-41832543/`
**Auth:** `Authorization: Bearer <LOCUS_API_KEY>`

## Endpoints

### search_locations

Search for Hertz rental locations by text query (city name, airport code, or address). Returns location details including the OAG code required by search_vehicles. Results are unordered; airport locations are flagged via is_airport. A single query may match locations across multiple countries.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `query` | string | No | Search text - city name, airport code, or address (e.g., 'LAX', 'JFK', 'New York', 'Chicago'). |

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-hertz-com-api-41832543/search_locations \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"query":"<string>"}'
```

### search_vehicles

Search for available rental vehicles with pricing at a Hertz location. Returns vehicle types, daily rates, total prices, fees, taxes, and vehicle features. Use OAG codes obtained from search_locations for pickup/dropoff locations. Pricing includes non-refundable pay-now and pay-later rate types. Each vehicle entry includes a SIPP code for industry-standard classification. When sipp_code is provided, results are filtered to that exact code; if no match exists, sipp_code_available is false and vehicles is empty. When cdp_numbers is provided (batch mode), the endpoint queries pricing for each CDP code against the specified sipp_code and returns a sorted comparison of per-CDP results (available cheapest-first, then unavailable/error). Batch mode is designed for reliable batches of ~25–50 CDPs per call.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `cdp_number` | string | No | Hertz CDP (Corporate Discount Program) code to apply corporate/discounted pricing (e.g. '12345'). If omitted, standard public pricing is returned. Ignored when cdp_numbers is provided. |
| `cdp_numbers` | array | No | Array of CDP codes for batch price comparison (e.g. ["2278478", "12345", "67890"]). When provided, the endpoint queries each CDP against the specified sipp_code and returns per-CDP availability and pricing. Designed for batches of ~25–50 CDPs. Requires sipp_code to be set. |
| `country_code` | string | No | Country code for the rental location (e.g. 'US', 'GB', 'CA', 'AU'). |
| `dropoff_location` | string | No | Dropoff location OAG code. If omitted, defaults to the pickup_location value. |
| `dropoff_time` | string | No | Dropoff date/time in ISO 8601 format (e.g. '2026-06-04T10:00:00'). If omitted, defaults to 17 days from today at 10:00. |
| `min_age` | string | No | Minimum driver age. |
| `pickup_location` | string | No | Pickup location OAG code (from search_locations endpoint, e.g. 'LAXT15', 'JFKT02'). |
| `pickup_time` | string | No | Pickup date/time in ISO 8601 format (e.g. '2026-06-01T10:00:00'). If omitted, defaults to 14 days from today at 10:00. |
| `sipp_code` | string | No | SIPP code to filter vehicles by exact match (e.g. 'PFAR', 'XFDR'). If omitted, all available vehicles are returned. If provided but unavailable, the response indicates unavailability with sipp_code_available=false and an empty vehicles array. Required when using cdp_numbers batch mode. |

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-hertz-com-api-41832543/search_vehicles \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"cdp_number":"<string>","cdp_numbers":"<array>","country_code":"<string>","dropoff_location":"<string>","dropoff_time":"<string>","min_age":"<string>","pickup_location":"<string>","pickup_time":"<string>","sipp_code":"<string>"}'
```
