[Integrations](https://spiral.ai/integrations) › [opencode](https://spiral.ai/integrations/opencode) › [CARFAX car listings search](https://spiral.ai/integrations/opencode/carfax-car-listings-search)

# How to Use CARFAX car listings search in opencode

Find US cars for sale with vehicle specifications, dealer information, and CARFAX history highlights. Use it to build a shortlist across cars before inspecting individual listings.

|  |  |
| --- | --- |
| Model | CARFAX car listings 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 CARFAX car listings search in opencode

- Use CARFAX car listings search for 2020 through 2022 Honda Civics near 94103. Build a comparison table in this project with mileage, dealer, and reported history highlights.
- Use CARFAX car listings search for 2021 through 2023 Toyota RAV4s near 60601. Add a comparison view for engine, transmission, and fuel economy.
- Use CARFAX car listings search for 2019 through 2022 Subaru Outbacks near 80202. Show available CARFAX value assessments beside mileage in this project's results table.
- Use CARFAX car listings search to look this up and give me the result as a table. Save the result in ./assets.
- Pull the latest numbers from CARFAX car listings search and tell me what changed since last week.

## How to set up CARFAX car listings 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 CARFAX car listings 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": "carfax-com/vehicles/search_listings",
    "input": {
      "zip": "<zip>"
    }
  }'
```

Then paste one of the prompts above: opencode finds CARFAX car listings search on Spiral, shows the price and runs it.

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

## CARFAX car listings search tools and prices

- [CARFAX · Search listings](https://spiral.ai/tools/alexandria/carfax-com/vehicles/search_listings) (Alexandria): $0.00873 per call.

## Settings you can ask for

| Setting | Allowed values | Default | Description |
| --- | --- | --- | --- |
| zip |  | — | US ZIP the radius is centred on. Omit for a nationwide search. A ZIP Carfax cannot resolve is invalid_input. Pattern: ^[0-9]{5}$. |
| make |  | — | Make name as Carfax spells it, e.g. Honda, Mercedes-Benz, Land Rover. An unknown make returns no results. |
| page | 1 to 50 | — | 1-based page of 25; Carfax serves at most 50 pages. |
| sort | best, price_asc, price_desc, mileage_asc, mileage_desc, year_desc, year_asc | — | Default best (Carfax's best match). |
| model |  | — | Model name, e.g. Civic, F-150, Grand Cherokee. Needs make. |
| max_year | 1900 to 2100 | — | max_year |

## What can you do with CARFAX car listings search in opencode?

Build a vehicle comparison view that puts CARFAX specifications and reported history beside each candidate. Keep listing highlights and full Vehicle History Reports clearly distinguished in the interface.

### Build a used-car shortlist

Compare listed vehicles by mileage, specifications, and reported history, then examine the strongest candidates individually before choosing cars to view.

### Compare reported maintenance

Put available service highlights beside mileage for competing cars. Identify which candidates warrant questions about maintenance records.

### Review CARFAX value assessments

Compare available History-Based Values and price ratings across candidates, using reported ownership, service, and accident information to explain differences.

### Prepare questions for a dealer visit

Turn vehicle specifications and history highlights into a focused question list about equipment, reported damage, and maintenance.

### Compare equipment across trims

Check listed features, engines, transmissions, and fuel economy across candidate vehicles before deciding which trim meets your needs.

### Compare cars across locations

Review matching vehicles around different US ZIP codes, then inspect individual listings to compare specifications, history highlights, and dealer locations.

### Compare reported ownership histories

Compare ownership highlights alongside mileage and service information when choosing between otherwise similar listed cars.

## Overview

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

## CARFAX car listings search in other agents

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

## More opencode guides

- [Best Buy search suggestions](https://spiral.ai/integrations/opencode/best-buy-search-suggestions)
- [CARFAX vehicle listing details](https://spiral.ai/integrations/opencode/carfax-vehicle-listing-details)
- [Best Buy product search](https://spiral.ai/integrations/opencode/best-buy-product-search)
- [CPSC recall details](https://spiral.ai/integrations/opencode/cpsc-recall-details)
- [Best Buy product rating summary](https://spiral.ai/integrations/opencode/best-buy-product-rating-summary)
- [CPSC recall search](https://spiral.ai/integrations/opencode/cpsc-recall-search)

## Questions about CARFAX car listings search in opencode

**Can opencode use CARFAX car listings search?**

Yes. Add Spiral to opencode as an MCP server, and opencode can find and run CARFAX car listings search like any built-in tool.

**How much does CARFAX car listings 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 CARFAX car listings search in opencode?**

No. Spiral runs CARFAX car listings 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 CARFAX car listings search in opencode?**

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

**Does opencode wait while CARFAX car listings search runs?**

CARFAX car listings search runs in the background. opencode starts the run, checks on it and gives you the json when it's ready.

**Which market do these CARFAX tools cover?**

They cover US new and used car listings. CARFAX's underlying history sources also include Canadian provincial agencies, but that does not make these tools a Canadian listings search.

**Do the results include a full Vehicle History Report?**

No. These tools return listing data and history highlights; full CARFAX Vehicle History Reports are outside their scope.

**Does no reported accident mean a car has never been damaged?**

No. CARFAX says some accident and damage events go unreported, and some reported events never reach CARFAX. Read the label as a boundary on the records available.

**How frequently does CARFAX add history data?**

CARFAX advertises 6.5 million records added daily across its vehicle history database. That database-wide figure does not establish a daily refresh schedule for each car listing.

**What goes into CARFAX History-Based Value?**

CARFAX lists service records, open recalls, past accidents, and previous owner count among its valuation factors. Use those factors when comparing a value estimate with the vehicle's history highlights.

