Google Shopping Api logo

Google Shopping Api

Community
scavio-ai
google-shopping-api

Google Shopping product and price data as structured JSON: search products with min/max price, on-sale, free-shipping and price-sort filters returning title, price, seller, rating and reviews, open a full product page with specs and variants, then page every store selling it. 3 endpoints, 1 credit each.

Overview

Publisherscavio-ai
Repositoryskills
Skill namegoogle-shopping-api
Stars
67
Forks
0
Bundled files
Instructions only
LicenseMIT
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • Self-contained

    Everything the model needs lives in the instructions — no extra files to sync.

  • Open source

    Published by scavio-ai on GitHub. Read the source before you install it.

Installation

Install the Google Shopping Api AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/scavio-ai/skills/tree/main/skills/google-shopping-api
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/scavio-ai/skills.git /tmp/skills
mkdir -p .claude/skills
cp -r /tmp/skills/skills/google-shopping-api .claude/skills/google-shopping-api
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Google Shopping Api in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Google Shopping Api on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Google Shopping Api is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

Google Shopping API - Product Search, Merchant Offers, Prices

Search Google Shopping for products, open a full product detail page, and page through every store selling it — all as structured JSON. Three endpoints, each 1 credit.

When to trigger

Use this skill when the user asks to:

  • Find products across retailers with price or sale filters
  • Compare prices for a product across many stores
  • Get specs, ratings, variants, or seller options for a product
  • Build a price-comparison or shopping-research workflow

Setup

Get a free API key at scavio.dev (50 free credits to get started, no card required):

bash
export SCAVIO_API_KEY=sk_live_your_key

If you do not have a key yet

An agent running this skill without SCAVIO_API_KEY set will get 401 on every call below. The whole path from nothing to a working key is self-serve:

  1. Sign up at dashboard.scavio.dev - email or Google, no card required.
  2. A key is created for the account automatically at signup. It is on the dashboard under API Keys, ready to copy.
  3. A new account starts with 50 credits. Endpoints in this skill cost 1 credit each unless the table below says otherwise.

When the balance runs out the API answers 402 with a JSON body carrying billing_url. Topping up needs no code change - the same key keeps working. The smallest purchase is 2,500 credits for $25, and monthly plans work out cheaper per credit if the usage is steady rather than one-off.

Endpoints

EndpointCreditsDescription
POST https://api.scavio.dev/api/v2/google/shopping1Search products, returns shopping_results[]
POST https://api.scavio.dev/api/v2/google/shopping/product1Full product detail page
POST https://api.scavio.dev/api/v2/google/shopping/product/stores1Page through all stores selling a product
Authorization: Bearer $SCAVIO_API_KEY

Workflow

  1. Search: call /shopping with a query. Filter with min_price, max_price, on_sale, free_shipping, or sort_by. Each result carries a catalog_id (durable) or product_id.
  2. Product page: call /shopping/product with a catalog_id (pass the same query) for full specs, variants, and top stores in product_results.
  3. All stores: if the product lists more sellers than returned, call /shopping/product/stores with the catalog_id and the next_page_token from the previous response to page through every store.

Shopping Search Parameters

ParameterTypeDefaultDescription
querystringrequiredSearch query (1-500 chars)
devicestring--desktop or mobile
startnumber--Result offset (follow pagination.next)
min_pricenumber--Minimum price filter
max_pricenumber--Maximum price filter
sort_bynumber00 relevance, 1 price ascending, 2 price descending
free_shippingboolean--Only free-shipping offers
on_saleboolean--Only on-sale offers
shoprsstring--Opaque filter token from filters[] / carousel_filters[]
hlstring--UI language
glstring--Geo country
google_domainstringgoogle.comRegional Google domain
locationstring--Canonical location name (auto-UULE)
uulestring--Pre-encoded UULE

Product Parameters

ParameterTypeDefaultDescription
catalog_idstring--Durable catalog id (pass with query)
querystring--Required when catalog_id is set
product_idstring--Product id alternative
immersive_product_page_tokenstring--Page token from a listing
page_tokenstring--Alias for immersive_product_page_token
devicestring--desktop, mobile, or tablet
sort_bystring--Seller sort: base_price, total_price, promotion, seller_rating
load_all_storesboolean--Load all stores inline
more_storesboolean--Include additional stores
hlstring--UI language
glstring--Geo country
google_domainstringgoogle.comRegional Google domain
locationstring--Canonical location name
uulestring--Pre-encoded UULE

Product Stores Parameters

ParameterTypeDefaultDescription
catalog_idstringrequiredSame catalog_id used on the product call
next_page_tokenstringrequiredContinuation cursor from a prior response

Example

python
import requests

BASE = "https://api.scavio.dev"
# Your key from https://scavio.dev. Load it from your environment or secret
# store in real code - keep it out of source control.
API_KEY = "sk_your_key_here"
HEADERS = {"Authorization": f"Bearer {API_KEY}"}

# 1. Search products, cheapest first, under $1500
search = requests.post(f"{BASE}/api/v2/google/shopping", headers=HEADERS,
    json={"query": "16 inch laptop", "sort_by": 1, "max_price": 1500}).json()

item = search["shopping_results"][0]
print(item["title"], item.get("price"), item.get("source"))

# 2. Full product page (catalog_id needs the query alongside it)
product = requests.post(f"{BASE}/api/v2/google/shopping/product", headers=HEADERS,
    json={"catalog_id": item["catalog_id"], "query": "16 inch laptop"}).json()

# 3. Page through every store selling it
token = product["product_results"].get("stores_pagination", {}).get("next_page_token")
if token:
    stores = requests.post(f"{BASE}/api/v2/google/shopping/product/stores", headers=HEADERS,
        json={"catalog_id": item["catalog_id"], "next_page_token": token}).json()
    for s in stores["product_results"]["stores"]:
        print(s.get("name"), s.get("total_price"))

Responses

Search returns shopping_results[] (plus filters and pagination); product returns product_results; stores returns product_results.stores[]. Each also includes response_time, credits_used, credits_remaining, and cached.

json
{
  "shopping_results": [
    {
      "position": 1,
      "title": "Example 16\" Laptop",
      "price": "$1,299.00",
      "extracted_price": 1299,
      "source": "Example Store",
      "rating": 4.5,
      "reviews": 210,
      "catalog_id": "1234567890"
    }
  ],
  "response_time": 1420,
  "credits_used": 1,
  "credits_remaining": 997,
  "cached": false
}

Guardrails

  • Each call costs 1 credit. Inform the user before paginating through many stores.
  • Never fabricate product titles, prices, sellers, or ratings. Only return API data.
  • The product call needs catalog_id + query together; the stores call needs catalog_id + next_page_token — always run /shopping first to obtain the catalog_id.
  • Prices are strings as displayed; use extracted_price when present for numeric comparisons.

Failure handling

  • 400 means an invalid parameter (e.g. catalog_id without query) — fix and retry.
  • 401 means the API key is invalid or missing. Check SCAVIO_API_KEY.
  • 429 means rate or usage limit exceeded. Wait before retrying. See rate limits.
  • 502 / 503 mean upstream is temporarily unavailable. Wait a few seconds before retrying.
  • If search returns no results, loosen the price filters or broaden the query.
  • If SCAVIO_API_KEY is not set, prompt the user to export it before continuing.

Frequently asked questions

What does the Google Shopping Api AI skill do?

Google Shopping product and price data as structured JSON: search products with min/max price, on-sale, free-shipping and price-sort filters returning title, price, seller, rating and reviews, open a full product page with specs and variants, then page every store selling it. 3 endpoints, 1 credit each.

Why use Google Shopping Api on TypingMind?

Because you install it once and use it with any model. Google Shopping Api is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Google Shopping Api in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/scavio-ai/skills/tree/main/skills/google-shopping-api. TypingMind reads its SKILL.md and installs it as a skill you can enable per chat.

Which AI models can use Google Shopping Api?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Google Shopping Api?

As many as you like. As long as a model supports skills, you can use Google Shopping Api with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Google Shopping Api AI skill free?

Yes. It is published on GitHub by scavio-ai under the MIT license. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇