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

Codex · E-commerce

How to Use eBay search suggestions in Codex

Returns the query suggestions eBay proposes as someone starts typing a product search. Use it to find more specific search wording before researching individual listings.

Prompts to try with eBay search suggestions in Codex

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

Use eBay search suggestions for 'ThinkPad T480' and populate our search-refinement component with the returned phrases.

eBay search suggestionsCodex
Try asking
  • Use eBay search suggestions to look this up and give me the result as a table. Save the result in ./assets.

  • Pull the latest numbers from eBay search suggestions and tell me what changed since last week.

  • Check eBay search suggestions and summarize what you find in three bullet points.

  • Pull the newest data from eBay search suggestions and give me the result as a table.

How to set up eBay search suggestions in Codex

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

Use Spiral's MCP server

  1. Add the hosted server
    codex mcp add spiral --url https://api.spiral.ai/mcp
  2. Sign in

    Codex opens the browser: sign in to Spiral and click Authorize. No API key. codex mcp list then shows Spiral.

    codex mcp login spiral

Use the Spiral skill

  1. Send Codex 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 eBay search suggestions

    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": "ebay-com/listings/suggest",
        "input": {
          "prefix": "<prefix>"
        }
      }'

Then paste one of the prompts above: Codex finds eBay search suggestions on Spiral, shows the price and runs it.

eBay search suggestions providers and prices

Spiral runs eBay search suggestions through Alexandria. Open a card for today's price, with every fee included.

AlexandriaE-commerce
eBay listings · Suggest
ebay-com/listings/suggest

What can you do with eBay search suggestions in Codex?

Build an eBay purchasing view around the product questions your project needs to answer. Use listing checks, shipping comparisons, product-choice availability, or suggested search wording to populate the relevant screen.

Prepare a purchasing shortlist

Review supplied eBay listing links for a product purchase. Combine item checks, delivery terms, and availability for the required configuration, then use suggested search wording to identify gaps for further research.

Build a product comparison dashboard

Turn a saved shortlist into comparable offers with separate views for listing information, shipping terms, and individual product choices. Add eBay's suggested phrases to help users refine their next search.

Research an apparel assortment

Inspect selected public listings for Gildan shirts or similar merchandise. Compare available sizes and colors, delivery and return terms, and the search wording eBay proposes for the product.

Find suitable replacement components

Check a supplied shortlist of replacement-component listings for the required configuration and delivery terms. Use suggested product phrases to prepare more precise follow-up searches when the shortlist lacks a suitable choice.

Prepare a product keyword brief

Collect eBay's suggested phrases for products such as ThinkPad T480 laptops or Gildan shirts. Use the returned wording to plan more specific searches and organize a research brief.

Questions about eBay search suggestions in Codex

Can Codex use eBay search suggestions?

Yes. Add Spiral to Codex as an MCP server, and Codex can find and run eBay search suggestions like any built-in tool.

How much does eBay search suggestions cost in Codex?

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

Do I need an Alexandria account to use eBay search suggestions in Codex?

No. Spiral runs eBay search suggestions on its own Alexandria account. You sign in to Spiral once and never paste a key.

How long does it take to set up eBay search suggestions in Codex?

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

Does Codex wait while eBay search suggestions runs?

eBay search suggestions runs in the background. Codex starts the run, checks on it and gives you the json when it's ready.

Does eBay verify every claim in a listing?

eBay does not guarantee listing accuracy. Its listing policy requires the selected condition to agree with the title, description, and item specifics, so conflicting condition claims deserve a closer check.

Can eBay listing information change after I check it?

Yes. For most listings, sellers can edit titles and change photos at any time, so an earlier listing summary can differ from the offer you see later.

Can public eBay data show exact stock counts?

Not consistently. eBay lets sellers choose whether buyers can see the exact quantity remaining, so public availability is not always an exact inventory count.

How many size, color, or configuration choices can one listing contain?

eBay permits up to 250 choices in one listing. Each choice can have a different quantity and price, so the listing's headline offer may not represent the selection you want.

Is the delivery date shown on a listing final?

The estimate can become more precise after you confirm your shipping method and address at checkout. eBay also calculates estimates dynamically using handling time, carrier performance, and the delivery locations.

Get started

Start using eBay search suggestions in Codex

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

Paste this into Codex:

Set up Codex

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