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

# How to Use Autotrader inventory breakdown in Muse Code

Returns inventory breakdowns for narrowing an Autotrader search. Use it to identify available years, trims, or cities before retrieving individual vehicle listings.

|  |  |
| --- | --- |
| Model | Autotrader inventory breakdown |
| 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 inventory breakdown in Muse Code

- Use Autotrader inventory breakdown for used Toyota Camry inventory around Atlanta, ZIP 30301, and build a table of the returned year and trim breakdowns in my project.
- Use Autotrader inventory breakdown to look this up and give me the result as a table. Save the result in ./assets.
- Pull the latest numbers from Autotrader inventory breakdown and tell me what changed since last week.
- Check Autotrader inventory breakdown and summarize what you find in three bullet points.
- Pull the newest data from Autotrader inventory breakdown and give me the result as a table.

## How to set up Autotrader inventory breakdown 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 inventory breakdown**: 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/listing_facets",
    "input": {
      "facet": "model_years",
      "make_code": "<make_code>"
    }
  }'
```

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

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

## Autotrader inventory breakdown tools and prices

- [Autotrader · Listing facets](https://spiral.ai/tools/alexandria/autotrader-com/vehicles/listing_facets) (Alexandria): $0.00873 per call.

## Settings you can ask for

| Setting | Allowed values | Default | Description |
| --- | --- | --- | --- |
| zip |  | — | 5-digit US ZIP code; ignored by the cities facet. Pattern: ^[0-9]{5}$. |
| model_code |  | — | Autotrader model code, e.g. CAMRY, CIVIC, 911 (from suggest_make_model). Requires make_code. Pattern: ^[A-Z0-9_-]{1,30}$. |
| listing_type | NEW, USED, CERTIFIED | — | Filter by NEW, USED or CERTIFIED (certified pre-owned). Omit for all. |
| radius_miles | 0 to 500 | — | Search radius in miles around zip; 0 means nationwide. Default 50. |

## What can you do with Autotrader inventory breakdown 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.

### 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.

## Overview

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

## Autotrader inventory breakdown in other agents

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

## More Muse Code guides

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

## Questions about Autotrader inventory breakdown in Muse Code

**Can Muse Code use Autotrader inventory breakdown?**

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

**How much does Autotrader inventory breakdown 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 inventory breakdown in Muse Code?**

No. Spiral runs Autotrader inventory breakdown 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 inventory breakdown 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 inventory breakdown runs?**

Autotrader inventory breakdown 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.

