# Shop API on SandBase

> Shop data API endpoints available through one SandBase API key.

Source: https://www.sandbase.ai/apis/shop-app

- Endpoints: 8
- Call: `POST https://api.sandbase.ai/v1/api/{vendor}/{endpoint}` with `Authorization: Bearer $SANDBASE_API_KEY` and the parameters as a JSON body
- Billing: pay per call from one SandBase balance; no provider account or subscription needed

## Endpoints

- [Shop Homepage Featured Products](https://www.sandbase.ai/apis/shop-app/homepage-featured-products.md): $0.03 per call
  Retrieves featured products from the shop.app homepage feed (the product shelves shown to an anonymous visitor, such as trending stores, deals and category shelves) in a single upstream request.
- [Shop List Categories](https://www.sandbase.ai/apis/shop-app/categories.md): $0.03 per call
  Returns all top-level shopping categories available on shop.app. Categories include a Shopify GID, display name, and whether they have subcategories. No parameters needed.
- [Shop Merchant Info](https://www.sandbase.ai/apis/shop-app/merchant-info.md): $0.03 per call
  Retrieves merchant profile information including name, website, reviews, contacts, store sections, and visual theme. Returns the full shop object with all available metadata. Use the handle from get_s...
- [Shop Merchant Products](https://www.sandbase.ai/apis/shop-app/merchant-products.md): $0.03 per call
  Retrieves one page of a merchant's in-stock product listing, sorted by the site's most-sales order, in a single upstream request.
- [Shop Product Details](https://www.sandbase.ai/apis/shop-app/product-details.md): $0.03 per call
  Retrieves full details for a single product including current price, original price (if discounted), images, rating, review count, and merchant info. Requires both product_id and product_slug which ar...
- [Shop Search Autocomplete](https://www.sandbase.ai/apis/shop-app/search-autocomplete.md): $0.03 per call
  Fetches search autocomplete suggestions for a query prefix. Returns both query suggestions (text completions) and matching shop suggestions (with id, name, handle, rating). Useful for discovering merc...
- [Shop Search Merchants By Category](https://www.sandbase.ai/apis/shop-app/search-merchants-by-category.md): $0.03 per call
  Searches for merchants within a shop.app category page.
- [Shop Search Products](https://www.sandbase.ai/apis/shop-app/search-products.md): $0.03 per call
  Searches shop.app products globally by a free-text keyword and returns one page of matching products from the site's global search results (actual product records, not autocomplete suggestions or merc...

## Use it through SandBase

- Base URL: `https://api.sandbase.ai/v1`, with `Authorization: Bearer $SANDBASE_API_KEY`.
- Language models use the OpenAI-compatible `POST /v1/chat/completions`; media models use `POST /v1/run`; data APIs use `POST /v1/api/{vendor}/{endpoint}`.
- AI agents can connect through the SandBase MCP server or CLI: https://www.sandbase.ai/skill.md
- Every model and API page has a Markdown twin at the same URL plus `.md`. Full index: https://www.sandbase.ai/llms.txt
