[Integrations](https://spiral.ai/integrations) › [opencode](https://spiral.ai/integrations/opencode) › [Tiendanube product details](https://spiral.ai/integrations/opencode/tiendanube-product-details)

# How to Use Tiendanube product details in opencode

Returns one product's details, size or color choices, and per-choice price or stock from a Tiendanube or Nuvemshop storefront. Use it to inspect an exact item after finding it in the catalog.

|  |  |
| --- | --- |
| Model | Tiendanube product details |
| 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 Tiendanube product details in opencode

- Use Tiendanube product details for https://tienda.juguetesrasti.com.ar/productos/bimbi-5-cubos-apilables/ and add a data fixture containing the returned item details and stock information.
- Use Tiendanube product details to look this up and give me the result as a table. Save the result in ./assets.
- Pull the latest numbers from Tiendanube product details and tell me what changed since last week.
- Check Tiendanube product details and summarize what you find in three bullet points.
- Pull the newest data from Tiendanube product details and give me the result as a table.

## How to set up Tiendanube product 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.

```bash
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.

```bash
opencode mcp auth spiral
```

3. **Check it**: Spiral shows as connected.

```bash
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.

```bash
npx -y spiral-cli@latest init
```

### Call the Spiral API

1. **Create an API key**: In the console, under API keys.

2. **Run Tiendanube product details**: 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": "tiendanube-com/products/get_product",
    "input": {
      "url": "<url>"
    }
  }'
```

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

Setup guide in the docs: https://spiral.ai/docs/quickstarts/opencode

## Tiendanube product details tools and prices

- [Tiendanube / Nuvemshop stores · Get product](https://spiral.ai/tools/alexandria/tiendanube-com/products/get_product) (Alexandria): $0.00873 per call.

## Settings you can ask for

| Setting | Allowed values | Default | Description |
| --- | --- | --- | --- |
| url |  | — | Product page URL, e.g. https://tienda.example.com/productos/<slug>/ (or /produtos/, /products/). |
| slug |  | — | Product slug (the last path segment of its URL); requires store. Pattern: ^[^/?#\s]+/?$. |
| store |  | — | The store: a bare domain (tienda.example.com, example.mitiendanube.com, example.lojavirtualnuvem.com.br) or any URL on it. Any Tiendanube / Nuvemshop storefront, including custom domains. |

## What can you do with Tiendanube product details in opencode?

Build a catalog review in your project using Tiendanube categories, product listings, and individual item checks. Use the returned structure to organize departments and inspect the choices behind selected products.

### Review a retailer's assortment

Map departments with Tiendanube store categories, collect their items with Tiendanube product catalog, and inspect selected choices with Tiendanube product details. Produce a report of the product types and options actually found.

### Build a shopping shortlist

Find a relevant department with Tiendanube store categories, shortlist items with Tiendanube product catalog, and check each finalist with Tiendanube product details. Return product links and available choices for the shopper to review.

### Prepare a new arrival briefing

Choose departments with Tiendanube store categories, collect newly listed items with Tiendanube product catalog, and inspect selected additions with Tiendanube product details. Turn the results into a merchandising briefing with links to the items.

### Check products before a campaign

Use Tiendanube store categories to scope a campaign collection and Tiendanube product catalog to find its items. Check advertised choices with Tiendanube product details before including them in campaign copy.

### Compare product choices

Find comparable items with Tiendanube product catalog and inspect them with Tiendanube product details. Build a comparison of returned choices and availability without assuming the listing represents every choice.

### Watch for availability changes

Use Tiendanube product catalog to select products for a watchlist, then revisit their availability with Tiendanube product details. Report changes observed between checks.

## Overview

- [Alexandria](https://spiral.ai/providers/alexandria)
- [All opencode guides](https://spiral.ai/integrations/opencode)

## Tiendanube product details in other agents

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

## More opencode guides

- [Tiendanube product catalog](https://spiral.ai/integrations/opencode/tiendanube-product-catalog)
- [Tiendanube store categories](https://spiral.ai/integrations/opencode/tiendanube-store-categories)
- [Target product reviews](https://spiral.ai/integrations/opencode/target-product-reviews)
- [TikTok Shop ID from share link](https://spiral.ai/integrations/opencode/tiktok-shop-id-from-share-link)
- [Target product options](https://spiral.ai/integrations/opencode/target-product-options)
- [TikTok Shop Product Details ScrapeCreators](https://spiral.ai/integrations/opencode/tiktok-shop-product-details-scrapecreators)

## Questions about Tiendanube product details in opencode

**Can opencode use Tiendanube product details?**

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

**How much does Tiendanube product 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 Tiendanube product details in opencode?**

No. Spiral runs Tiendanube product 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 Tiendanube product details in opencode?**

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

**Does opencode wait while Tiendanube product details runs?**

Tiendanube product details runs in the background. opencode starts the run, checks on it and gives you the json when it's ready.

**Where does the Tiendanube data come from?**

The provider reads public storefront pages and sitemaps from Tiendanube stores, including Nuvemshop stores in Brazil. It respects each store's robots.txt.

**Does the storefront show every product a merchant has?**

Tiendanube's unlisted products disappear from search and navigation while retaining working direct links. Hidden products cannot be opened by direct link, so public discovery cannot establish a merchant's full inventory.

**How many products appear on a catalog page?**

Tiendanube documents 12 products by default, with choices of 16 or 20 for selected store designs. Those counts describe storefront category pages, so they should not be treated as a universal endpoint limit.

**How quickly can availability change?**

Tiendanube stock can change with a sale or a cancellation that restores inventory. Availability can therefore change between a catalog check and a later product check.

**Does an available product always have a finite stock count?**

No. Tiendanube lets merchants select unlimited inventory, including for digital products, so availability does not always correspond to a finite number of units.

