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

Windsurf · E-commerce

How to Use Alibaba product search in Windsurf

Returns wholesale offers with product links, advertised price text, minimum orders, and supplier information. Use it to find candidates before examining individual listings.

Prompts to try with Alibaba product search in Windsurf

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

Use Alibaba product search for '11oz ceramic sublimation mug' and add a purchasing comparison view to this project showing product links, minimum orders, and supplying companies.

Alibaba product searchWindsurf
Try asking
  • Use Alibaba product search to look this up and give me the result as a table. Save the result in ./assets.

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

  • Check Alibaba product search and summarize what you find in three bullet points.

  • Pull the newest data from Alibaba product search and give me the result as a table.

How to set up Alibaba product search in Windsurf

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

Use Spiral's MCP server

  1. Add the server

    Open the Customize page from the Agents window and click MCPs. Under This computer, open the config file, or edit it directly: ~/.config/devin/mcp_config.json on macOS and Linux, %APPDATA%\devin\mcp_config.json on Windows. Add this:

    {
      "mcpServers": {
        "spiral": {
          "url": "https://api.spiral.ai/mcp"
        }
      }
    }
  2. Sign in

    Click Authenticate on the Spiral server in Customize › MCPs, or let the agent call Spiral once: your browser opens. Sign in to Spiral, pick the organization and click Authorize. No API key.

    devin mcp login spiral
  3. Check it

    Spiral is listed under This computer in Customize › MCPs. From the terminal:

    devin mcp list

Use the Spiral skill

  1. Send Windsurf 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 Alibaba product search

    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": "alibaba/retail/search",
        "input": {
          "query": "<query>"
        }
      }'

Then paste one of the prompts above: Windsurf finds Alibaba product search on Spiral, shows the price and runs it.

Alibaba product search providers and prices

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

AlexandriaE-commerce

What can you do with Alibaba product search in Windsurf?

Build a purchasing comparison in your project from Alibaba's advertised wholesale offers. A coding agent can organize product identities, specifications, quantity bands, or supplier summaries into the review format your team uses.

Prepare a wholesale purchasing shortlist

Find ceramic mug offers, compare minimum orders and quantity pricing, review advertised specifications, and identify the supplying companies before requesting quotations.

Draft comparable supplier inquiries

Turn packaging candidates into a quotation brief with product links, stated materials, order quantities, advertised price bands, and supplier names. List the stock and shipment questions that still need answers.

Find a backup source for an enclosure

Find alternative aluminum enclosure listings, compare stated dimensions and materials, check minimum orders and quantity bands, and separate offers by supplying company.

Choose candidates for sample evaluation

Find cotton tote bag offers and compare their advertised construction, minimum orders, quantity pricing, and supplier information. Produce a sample shortlist with specific claims to inspect.

Screen supplier concentration

Review reusable drinkware search results and identify offers attached to the same supplying companies. Use product identities and supplier summaries to distinguish listing variety from supplier variety.

Questions about Alibaba product search in Windsurf

Can Windsurf use Alibaba product search?

Yes. Add Spiral to Windsurf as an MCP server, and Windsurf can find and run Alibaba product search like any built-in tool.

How much does Alibaba product search cost in Windsurf?

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

Do I need an Alexandria account to use Alibaba product search in Windsurf?

No. Spiral runs Alibaba product 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 Alibaba product search in Windsurf?

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

Does Windsurf wait while Alibaba product search runs?

Alibaba product search runs in the background. Windsurf starts the run, checks on it and gives you the json when it's ready.

What part of Alibaba does this data cover?

It covers public wholesale product and supplier listings, including advertised quantity pricing and specifications. That coverage is useful for finding and comparing sourcing candidates.

Who is responsible for keeping Alibaba listing information current?

Alibaba's terms require sellers to maintain and promptly amend the information they supply. This is a seller maintenance obligation, not evidence that Alibaba independently rechecks every listing on a fixed schedule.

What does Verified Supplier verification add?

The program produces an assessment report from a third-party inspection company, and Alibaba makes that report available to buyers. Review the underlying report when assessing a supplier.

Do advertised certifications prove that a product meets my requirements?

A certificate image may not cover the exact product configuration you are considering. Alibaba's electronics guidance specifically distinguishes the displayed certificate from coverage of the actual configuration.

Can public Alibaba listings be collected into a separate database?

Alibaba's terms prohibit systematic retrieval to compile collections, databases, or directories without written permission. The restriction covers automated tools and manual processes.

Get started

Start using Alibaba product search in Windsurf

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

Paste this into Windsurf:

Set up Windsurf

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