[Integrations](https://spiral.ai/integrations) › [opencode](https://spiral.ai/integrations/opencode) › [Hertz Car Sales inventory search](https://spiral.ai/integrations/opencode/hertz-car-sales-inventory-search)

# How to Use Hertz Car Sales inventory search in opencode

Returns matching Hertz vehicle listings, including mileage and store locations, with pagination. Use it to build a shortlist across locations before inspecting individual vehicles.

|  |  |
| --- | --- |
| Model | Hertz Car Sales inventory search |
| Available through | Alexandria |
| Category | E-commerce |
| Price | $0.00873 per call. |
| Returns | json |
| Runs | In the background |
| Setup | About 2 minutes, no API key |

## Prompts to try with Hertz Car Sales inventory search in opencode

- Use Hertz Car Sales inventory search to fetch Toyota Camry listings in California, then populate this project's comparison table with mileage and location.
- Use Hertz Car Sales inventory search to look this up and give me the result as a table. Save the result in ./assets.
- Pull the latest numbers from Hertz Car Sales inventory search and tell me what changed since last week.
- Check Hertz Car Sales inventory search and summarize what you find in three bullet points.
- Pull the newest data from Hertz Car Sales inventory search and give me the result as a table.

## How to set up Hertz Car Sales inventory search in opencode

Pick the way that suits you. Each takes about two minutes.

### Use Spiral's MCP server

1. **Add the server**: Leave out `--global` to add Spiral to the current project only. No header and no client ID or secret: opencode registers itself with Spiral.

```bash
opencode mcp add spiral --global --url https://api.spiral.ai/mcp
```

2. **Sign in**: Your browser opens. Sign in to Spiral, pick the organization and click Authorize, then return to the terminal. No API key. Inside opencode, `/mcps` starts the same sign-in.

```bash
opencode mcp auth spiral
```

3. **Check it**: Spiral shows as connected.

```bash
opencode mcp list
```

### Use the Spiral skill

1. **Send opencode this message**: Your agent reads Spiral's skill and sets itself up.

```
set up https://spiral.ai/SKILL.md
```

2. **Sign in or paste a key**: Approve Spiral in the browser, or give the agent a key from the console.

### Use the Spiral CLI

1. **Install and sign in**: Installs the Spiral CLI, signs you in and adds its skill to your coding agents.

```bash
npx -y spiral-cli@latest init
```

### Call the Spiral API

1. **Create an API key**: In the console, under API keys.

2. **Run Hertz Car Sales inventory search**: One request; the result comes back by polling or a webhook.

```bash
curl https://api.spiral.ai/v1/runs \
  -H "Authorization: Bearer $SPIRAL_API_KEY" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: $(uuidgen)" \
  -d '{
    "provider": "alexandria",
    "model": "hertzcarsales-com/vehicles/search_inventory",
    "input": {
      "zip": "<zip>"
    }
  }'
```

Then paste one of the prompts above: opencode finds Hertz Car Sales inventory search on Spiral, shows the price and runs it.

Setup guide in the docs: https://spiral.ai/docs/quickstarts/opencode

## Hertz Car Sales inventory search tools and prices

- [Hertz Car Sales · Search inventory](https://spiral.ai/tools/alexandria/hertzcarsales-com/vehicles/search_inventory) (Alexandria): $0.00873 per call.

## Settings you can ask for

| Setting | Allowed values | Default | Description |
| --- | --- | --- | --- |
| zip |  | — | US ZIP code to measure distance from (geoZip). Alone it only fills distance_miles (every match nationwide is kept); with radius_miles it restricts the search. Without it distance_miles is null. Pattern: ^[0-9]{5}$. |
| city |  | — | Store cities (facet accountCity), e.g. ['Baltimore']. |
| make |  | — | Make names as the site spells them (facet make), e.g. ['Toyota']. |
| sort | price_asc, price_desc, year_asc, year_desc, odometer_asc, odometer_desc, newest | — | Sort order, passed to the site as its own sort expression (e.g. internetPrice asc). The site's store/make boost order can still interleave rows; without sort the site's default order applies. |
| trim |  | — | Trim names (facet trim). |
| model |  | — | Model names (facet model), e.g. ['Camry']. |

## What can you do with Hertz Car Sales inventory search in opencode?

Build a Hertz vehicle comparison view with inventory matches, selection counts, specifications, and availability checks. Use these results to support a purchasing shortlist across US locations.

### Replace a small business fleet vehicle

Start with a Toyota Camry request, inspect available choices and counts, search the relevant locations, compare exact specifications, and recheck the finalists' Buy Online status.

### Find vehicles for an EV pilot

Explore Chevrolet Bolt inventory, identify choices with stock, collect matching listings, inspect each candidate's specifications, and check availability before proposing a pilot shortlist.

### Research a rental business acquisition

Turn a Nissan Rogue request into candidates, review stock counts, compare listings and exact specifications, and verify which finalists have Buy Online availability.

### Source cars across several states

Explore Toyota Corolla matches, compare the available selections in California and Arizona, inspect individual listings, and confirm the shortlist's availability for a business purchasing review.

### Compare exact vehicles

Build a side-by-side comparison of listed mileage, location, and vehicle specifications, then check the Buy Online status of the preferred candidates.

### Revise a search with few matches

Use suggestions and filter counts to find nearby model choices, then search those choices instead of repeatedly requesting a combination with little stock.

## Overview

- [Alexandria](https://spiral.ai/providers/alexandria)
- [All opencode guides](https://spiral.ai/integrations/opencode)

## Hertz Car Sales inventory search in other agents

- [Amp](https://spiral.ai/integrations/amp/hertz-car-sales-inventory-search)
- [ChatGPT](https://spiral.ai/integrations/chatgpt/hertz-car-sales-inventory-search)
- [Claude](https://spiral.ai/integrations/claude-desktop/hertz-car-sales-inventory-search)
- [Claude Code](https://spiral.ai/integrations/claude-code/hertz-car-sales-inventory-search)
- [Cline](https://spiral.ai/integrations/cline/hertz-car-sales-inventory-search)
- [Codex](https://spiral.ai/integrations/codex/hertz-car-sales-inventory-search)
- [Cursor](https://spiral.ai/integrations/cursor/hertz-car-sales-inventory-search)
- [Devin](https://spiral.ai/integrations/devin/hertz-car-sales-inventory-search)
- [dots](https://spiral.ai/integrations/dots/hertz-car-sales-inventory-search)
- [Factory Droid](https://spiral.ai/integrations/factory-droid/hertz-car-sales-inventory-search)
- [Gemini](https://spiral.ai/integrations/gemini/hertz-car-sales-inventory-search)
- [Gemini CLI](https://spiral.ai/integrations/gemini-cli/hertz-car-sales-inventory-search)
- [Google Antigravity](https://spiral.ai/integrations/antigravity/hertz-car-sales-inventory-search)
- [goose](https://spiral.ai/integrations/goose/hertz-car-sales-inventory-search)
- [Grok](https://spiral.ai/integrations/grok/hertz-car-sales-inventory-search)
- [Grok Build](https://spiral.ai/integrations/grok-build/hertz-car-sales-inventory-search)
- [Hermes](https://spiral.ai/integrations/hermes/hertz-car-sales-inventory-search)
- [Instinct](https://spiral.ai/integrations/instinct/hertz-car-sales-inventory-search)
- [Manus](https://spiral.ai/integrations/manus/hertz-car-sales-inventory-search)
- [Muse](https://spiral.ai/integrations/muse/hertz-car-sales-inventory-search)
- [Muse Code](https://spiral.ai/integrations/muse-code/hertz-car-sales-inventory-search)
- [n8n](https://spiral.ai/integrations/n8n/hertz-car-sales-inventory-search)
- [Notion](https://spiral.ai/integrations/notion/hertz-car-sales-inventory-search)
- [OpenClaw](https://spiral.ai/integrations/openclaw/hertz-car-sales-inventory-search)
- [Perplexity](https://spiral.ai/integrations/perplexity/hertz-car-sales-inventory-search)
- [Raycast](https://spiral.ai/integrations/raycast/hertz-car-sales-inventory-search)
- [VS Code](https://spiral.ai/integrations/vscode/hertz-car-sales-inventory-search)
- [Windsurf](https://spiral.ai/integrations/windsurf/hertz-car-sales-inventory-search)
- [Zapier](https://spiral.ai/integrations/zapier/hertz-car-sales-inventory-search)

## More opencode guides

- [Hertz Car Sales inventory filters](https://spiral.ai/integrations/opencode/hertz-car-sales-inventory-filters)
- [Hertz Car Sales vehicle availability](https://spiral.ai/integrations/opencode/hertz-car-sales-vehicle-availability)
- [Google Play search suggestions](https://spiral.ai/integrations/opencode/google-play-search-suggestions)
- [Hertz Car Sales vehicle details](https://spiral.ai/integrations/opencode/hertz-car-sales-vehicle-details)
- [Google Play movie details](https://spiral.ai/integrations/opencode/google-play-movie-details)
- [Hertz Car Sales vehicle suggestions](https://spiral.ai/integrations/opencode/hertz-car-sales-vehicle-suggestions)

## Questions about Hertz Car Sales inventory search in opencode

**Can opencode use Hertz Car Sales inventory search?**

Yes. Add Spiral to opencode as an MCP server, and opencode can find and run Hertz Car Sales inventory search like any built-in tool.

**How much does Hertz Car Sales inventory search cost in opencode?**

$0.00873 per call. You pay from your Spiral balance as you go, with no subscription, and a failed run is not charged. Your opencode plan is separate.

**Do I need an Alexandria account to use Hertz Car Sales inventory search in opencode?**

No. Spiral runs Hertz Car Sales inventory search on its own Alexandria account. You sign in to Spiral once and never paste a key.

**How long does it take to set up Hertz Car Sales inventory search in opencode?**

About two minutes: add the server, then sign in, then check it.

**Does opencode wait while Hertz Car Sales inventory search runs?**

Hertz Car Sales inventory search runs in the background. opencode starts the run, checks on it and gives you the json when it's ready.

**Which country does this inventory cover?**

This is Hertz's US retail inventory. Hertz's 2025 annual report describes Hertz Car Sales locations throughout the US.

**Does this show every vehicle Hertz sells?**

No. Hertz also sells through dealer direct wholesale and auctions, so retail inventory is only one of its disposal channels.

**Is Rent2Buy offered everywhere in the US?**

Hertz's 2025 annual report says Rent2Buy was offered in more than 25 states. That dated statement does not establish availability in every state today.

**How current is the mileage on Rent2Buy listings?**

An October 2026 review quoting Hertz's FAQ says online mileage reflects the previous rental return. The vehicle can accumulate more miles before pickup.

**Does a Rent2Buy listing guarantee the car will be ready?**

No. An October 2026 review quotes Hertz's warning that these are active rental vehicles and availability on time cannot be guaranteed.

