[Integrations](https://spiral.ai/integrations) › [Muse Code](https://spiral.ai/integrations/muse-code) › [Autotrader car listings search](https://spiral.ai/integrations/muse-code/autotrader-car-listings-search)

# How to Use Autotrader car listings search in Muse Code

Returns matching vehicles advertised on Autotrader. Use it to build a shortlist or examine a dealership's advertised inventory before opening individual listings.

|  |  |
| --- | --- |
| Model | Autotrader 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 Autotrader car listings search in Muse Code

- Use Autotrader car listings search to retrieve 2022 through 2024 Honda Accord advertisements around Seattle, then build a comparison view showing the returned vehicle identities, mileage, and listing links.
- Use Autotrader 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 Autotrader car listings search and tell me what changed since last week.
- Check Autotrader car listings search and summarize what you find in three bullet points.
- Pull the newest data from Autotrader car listings search and give me the result as a table.

## How to set up Autotrader car listings search in Muse Code

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

### Use Spiral's MCP server

1. **Install Muse Code**

```bash
curl -fsSL https://dev.meta.ai/install.sh | bash
```

2. **Ask Muse to add the server**: Start `muse` and ask:

```text
Add the Spiral MCP server at https://api.spiral.ai/mcp
```

3. **Sign in**: In your terminal, run:

```bash
muse mcp login spiral
```

### Use the Spiral skill

1. **Send Muse Code 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 Autotrader 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": "autotrader-com/vehicles/search_listings",
    "input": {
      "zip": "<zip>"
    }
  }'
```

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

Setup guide in the docs: https://spiral.ai/docs/quickstarts/muse-code

## Autotrader car listings search tools and prices

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

## Settings you can ask for

| Setting | Allowed values | Default | Description |
| --- | --- | --- | --- |
| sort | relevance, derivedpriceASC, derivedpriceDESC, mileageASC, mileageDESC, yearASC, yearDESC, distanceASC, datelistedDESC | — | Sort order. Default relevance. |
| cursor |  | — | next_cursor from a previous page (the record offset). The site serves at most the first 1000 matches. Pattern: ^[0-9]{1,3}$. |
| keyword |  | — | Free-text keyword phrase matched against listing descriptions, e.g. 'leather sunroof'. |
| end_year | 1900 to 2100 | — | Latest model year. |
| dealer_id | 1 to … | — | Restrict to one seller's inventory: the owner_id of a listing's seller (also dealer.dealer_id). Not with dealer_website. |
| make_code |  | — | Autotrader make code, e.g. TOYOTA, HONDA, CHEV, MB (resolve free text with suggest_make_model). Pattern: ^[A-Z0-9]{1,20}$. |

## What can you do with Autotrader car listings search in Muse Code?

Build a vehicle comparison view that connects Autotrader model references, inventory breakdowns, advertisements, and specifications. Keep seller descriptions and reference specifications distinct in the project's comparison tables.

### Build a used-car shortlist

Resolve Toyota Camry and Honda Accord names, examine available years and trims, and retrieve matching advertisements. Open the strongest candidates and compare their vehicle specifications before choosing cars to inspect.

### Compare trims that are actually advertised

Resolve a Honda CR-V search, identify trims represented in inventory, and retrieve examples of each. Compare listing details with reference specifications to prepare questions about equipment before visiting a dealer.

### Decide whether to widen a vehicle search

Resolve the Porsche 911 model reference and compare inventory breakdowns near Atlanta with a nationwide search. Inspect comparable advertisements and specifications so differences in configuration do not get mistaken for differences in availability.

### Compare certified and other used inventory

Resolve Toyota RAV4 names, examine the years and trims advertised as certified or used, and retrieve candidates from each search. Read individual advertisements and compare specifications before investigating the applicable certification program.

### Prepare a dealership visit

Find advertised Toyota Tacoma vehicles at a public dealership, open a short list of advertisements, and compare their configurations. Produce a compact list of vehicles and equipment questions for a visit.

### Choose useful search categories

Resolve Chevrolet Silverado model references and inspect inventory breakdowns before retrieving advertisements. Use the returned model and trim distinctions to avoid combining different vehicles in one comparison.

### Review a dealer's marketplace advertisements

Retrieve one dealership's Autotrader inventory and inspect selected advertisements. For a review covered by the relevant data-use permission, compare vehicle identities and descriptions with the dealership's own public listings.

## Overview

- [Alexandria](https://spiral.ai/providers/alexandria)
- [All Muse Code guides](https://spiral.ai/integrations/muse-code)

## Autotrader car listings search in other agents

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

## More Muse Code guides

- [Authentic Vintage Posters product search](https://spiral.ai/integrations/muse-code/authentic-vintage-posters-product-search)
- [Autotrader inventory breakdown](https://spiral.ai/integrations/muse-code/autotrader-inventory-breakdown)
- [Authentic Vintage Posters product details](https://spiral.ai/integrations/muse-code/authentic-vintage-posters-product-details)
- [Autotrader make and model lookup](https://spiral.ai/integrations/muse-code/autotrader-make-and-model-lookup)
- [Authentic Vintage Posters collections](https://spiral.ai/integrations/muse-code/authentic-vintage-posters-collections)
- [Autotrader vehicle listing details](https://spiral.ai/integrations/muse-code/autotrader-vehicle-listing-details)

## Questions about Autotrader car listings search in Muse Code

**Can Muse Code use Autotrader car listings search?**

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

**How much does Autotrader car listings search cost in Muse Code?**

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

**Do I need an Alexandria account to use Autotrader car listings search in Muse Code?**

No. Spiral runs Autotrader 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 Autotrader car listings search in Muse Code?**

About two minutes: install Muse Code, then ask Muse to add the server, then sign in.

**Does Muse Code wait while Autotrader car listings search runs?**

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

**Does Autotrader cover dealer inventory or private advertisements?**

Autotrader includes both dealer and private-seller inventory, covering new, used, and certified vehicles. These are advertisements on Autotrader, so the results describe its marketplace coverage.

**How fresh is Autotrader inventory?**

Autotrader says it updates inventory daily. It also says it cannot guarantee that every vehicle displayed remains available for sale.

**How quickly should sold dealer vehicles disappear?**

Autotrader requires dealers to remove sold vehicles from their inventory feeds immediately and no later than 24 hours after sale. That requirement is a dealer obligation, not a guarantee that every visible listing is available.

**What does Newly Listed mean?**

Autotrader uses Newly Listed for an advertisement posted within the last seven days. The label describes the listing's arrival on Autotrader.

**Where does the information in a vehicle advertisement come from?**

Autotrader says new-car listing information is supplied by the selling dealer, including the VIN and often a stock number. Its dealer guidelines require accurate vehicle identity, equipment, and mileage information.

