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

opencode · Maps & Reviews

How to Use Nissan dealer inventory in opencode

Returns public new or certified pre-owned vehicle listings for a dealer or surrounding area. Use it to compare VINs, trims, colors, and location status before inspecting an individual vehicle.

Prompts to try with Nissan dealer inventory in opencode

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

Use Nissan dealer inventory for NNA5110 near 36.192227, -86.792276 and create a CSV of new vehicles with VIN, model, trim, exterior color, and location status.

Nissan dealer inventoryopencode
Try asking
  • Use Nissan dealer inventory to look this up and give me the result as a table. Save the result in ./assets.

  • Pull the latest numbers from Nissan dealer inventory and tell me what changed since last week.

  • Check Nissan dealer inventory and summarize what you find in three bullet points.

  • Pull the newest data from Nissan dealer inventory and give me the result as a table.

How to set up Nissan dealer inventory 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 Nissan dealer inventory

    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": "nissanusa-com/vehicles/list_dealer_inventory",
        "input": {
          "latitude": -90,
          "longitude": -180
        }
      }'

Then paste one of the prompts above: opencode finds Nissan dealer inventory on Spiral, shows the price and runs it.

Nissan dealer inventory providers and prices

Spiral runs Nissan dealer inventory through Alexandria. Open a card for today's price, with every fee included.

AlexandriaMaps & Reviews
Nissan USA dealer locator and inventory · List dealer inventory
nissanusa-com/vehicles/list_dealer_inventory

Settings you can ask for

Ask opencode for any of these in your prompt.

SettingAllowed valuesDefaultDescription
Latitude-90 to 90

latitude

Longitude-180 to 180

longitude

Limit1 to 5010

limit

Offset0 to 100000

Pass next_offset from the previous page.

Conditionnew or cponew

new = new vehicles (getInventory); cpo = certified pre-owned (getCpoInventory).

Include filterson or off

Also return the source's facet lists (option labels, grades, colours, ...) for this result set. Off by default: the new-vehicle facet list runs to hundreds of values.

Every API field of Nissan USA dealer locator and inventory · List dealer inventory is on its tool page: open its card above.

What can you do with Nissan dealer inventory in opencode?

Build a local Nissan shopping comparison with dealer locations, sales hours, and VIN-level vehicle candidates. A coding agent can organize the returned records into project files and show which listings are still in transit.

Plan dealership visits

Find Nissan stores around Nashville, check their sales hours, compare listed vehicles, and inspect the equipment on a few new-car candidates before choosing where to visit.

Compare local trim choices

Build a dealer shortlist around Austin, compare the trims in their public inventory, and inspect individual new vehicles to distinguish accessory packages from trim differences.

Find a preferred color combination

Search stores around Denver for a listed exterior color, inspect the upholstery on matching new vehicles, and collect the stocking dealers' contact details and hours.

Find alternatives to an in-transit vehicle

Compare a new vehicle marked in transit with listings at other nearby Nissan stores, inspect the closest alternatives, and prepare a contact list for availability checks.

Compare certified pre-owned selections

Find Nissan stores around Phoenix, compare their certified pre-owned listings, and check the hours and contact details of the stores with suitable candidates.

Questions about Nissan dealer inventory in opencode

Can opencode use Nissan dealer inventory?

Yes. Add Spiral to opencode as an MCP server, and opencode can find and run Nissan dealer inventory like any built-in tool.

How much does Nissan dealer inventory 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 Nissan dealer inventory in opencode?

No. Spiral runs Nissan dealer inventory on its own Alexandria account. You sign in to Spiral once and never paste a key.

How long does it take to set up Nissan dealer inventory in opencode?

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

Does opencode wait while Nissan dealer inventory runs?

Nissan dealer inventory runs in the background. opencode starts the run, checks on it and gives you the json when it's ready.

What geographic market does this source cover?

This is Nissan USA's shopping data. Nissan describes the vehicle inventory search as nationwide, covering cars, trucks, crossovers, and SUVs.

What vehicle inventory is public here?

The provider describes public new and certified pre-owned Nissan inventory by dealer or VIN. That coverage does not establish a complete catalog of every used vehicle a dealership sells.

Does an inventory listing mean the vehicle is already at the dealership?

No. The inventory response example includes an “In Transit” location status, so a listed vehicle may still be on its way to the store.

What does Nissan EV Certified mean?

Nissan describes an EV Certified dealer as certified to sell and fully service Nissan EVs. It is a specific dealer qualification, rather than a statement that every Nissan store has the same capabilities.

Can the inventory response always tell me how many vehicles match?

The provider's inventory example returns a continuation offset but leaves the total match count null. A returned page therefore does not necessarily include a usable total for the search.

Get started

Start using Nissan dealer inventory 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