Spiral gives your agent every tool with one account. Browse the tools →

opencode · E-commerce

How to Use Autotrader vehicle listing details in opencode

Returns details for one Autotrader vehicle listing. Use it to examine a specific car after searching, keeping the seller's advertised vehicle separate from general model specifications.

Prompts to try with Autotrader vehicle listing details in opencode

Copy an example into opencode, or ask in your own words.

Use Autotrader vehicle listing details for the first dealer-advertised 2023 Toyota Tacoma returned in a Denver search, and render the returned advertisement details in my project's vehicle detail view.

Autotrader vehicle listing detailsopencode
Try asking
  • Use Autotrader vehicle listing details to look this up and give me the result as a table. Save the result in ./assets.

  • Pull the latest numbers from Autotrader vehicle listing details and tell me what changed since last week.

  • Check Autotrader vehicle listing details and summarize what you find in three bullet points.

  • Pull the newest data from Autotrader vehicle listing details and give me the result as a table.

How to set up Autotrader vehicle listing details 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.

    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.

    opencode mcp auth spiral
  3. Check it

    Spiral shows as connected.

    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.

    npx -y spiral-cli@latest init

Call the Spiral API

  1. Create an API key

    In the console, under API keys.

  2. Run Autotrader vehicle listing details

    One request; the result comes back by polling or a webhook.

    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/get_listing",
        "input": {
          "url": "<url>"
        }
      }'

Then paste one of the prompts above: opencode finds Autotrader vehicle listing details on Spiral, shows the price and runs it.

Autotrader vehicle listing details providers and prices

Spiral runs Autotrader vehicle listing details through Alexandria. Open a card for today's price, with every fee included.

AlexandriaE-commerce
Autotrader · Get listing
autotrader-com/vehicles/get_listing

Settings you can ask for

Ask opencode for any of these in your prompt.

SettingAllowed valuesDefaultDescription
Listing IDa number from 1

Autotrader listing id, e.g. 788577333.

Every API field of Autotrader · Get listing is on its tool page: open its card above.

What can you do with Autotrader vehicle listing details in opencode?

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.

Check an advertisement for equipment questions

Read a selected Ford F-150 advertisement alongside its vehicle specifications. Flag differences or unclear equipment claims for confirmation with the dealership.

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.

Autotrader vehicle listing details success rate and speed on Spiral

Success and speed over the last 24 hours, across every run of these tools on Spiral.

Success rate
100.0%
Fastest median run time
1.7s
Runs, last 24 hours
43
ToolSuccessMedian timeRuns
Autotrader · Get listing100.0%1.7s43

Questions about Autotrader vehicle listing details in opencode

Can opencode use Autotrader vehicle listing details?

Yes. Add Spiral to opencode as an MCP server, and opencode can find and run Autotrader vehicle listing details like any built-in tool.

How much does Autotrader vehicle listing details 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 Autotrader vehicle listing details in opencode?

No. Spiral runs Autotrader vehicle listing details 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 vehicle listing details in opencode?

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

Does opencode wait while Autotrader vehicle listing details runs?

Autotrader vehicle listing details runs in the background. opencode 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.

Get started

Start using Autotrader vehicle listing details in opencode

One Spiral account for every tool your agent needs. No subscription; you pay per run.

Paste this into opencode:

Set up opencode

set up https://spiral.ai/SKILL.md
Are you an AI agent? See setup options