ShopSavvy for LlamaIndex

PythonBeta

A LlamaIndex tool spec that gives your agents access to product search, details, pricing, and price history. Returns structured Document objects ready for RAG pipelines.

Set up ShopSavvy for LlamaIndex

  1. 1

    Get a ShopSavvy Data API key

    Create a key at shopsavvy.com/data. Keys look like ss_live_ followed by 32 characters. Keep it out of source control.

  2. 2

    Install from GitHub

    The package in the install command (pip install llama-index-tools-shopsavvy) is not on its public registry yet, so install from the source repository and follow its README:

    git clone https://github.com/shopsavvy/llamaindex-shopsavvy.git
  3. 3

    Add your API key

    Enter your key where LlamaIndex asks for ShopSavvy credentials, as the README describes. Store it as a secret, not in code.

  4. 4

    Make your first call

    From the shopsavvy/llamaindex-shopsavvy README (Usage):

    from llama_index.tools.shopsavvy import ShopSavvyToolSpec
    from llama_index.core.agent.workflow import FunctionAgent
    from llama_index.llms.openai import OpenAI
    
    tool_spec = ShopSavvyToolSpec(api_key="ss_live_your_key_here")
    
    agent = FunctionAgent(
        tools=tool_spec.to_tool_list(),
        llm=OpenAI(model="gpt-4.1"),
    )
    
    response = await agent.run("Find the best price for Sony WH-1000XM5 headphones")
    print(response)

    Copied from the repository README.

Keys come with a Data API plan. See plans.

Features

Four tools: search, details, offers, price history
Returns LlamaIndex Document objects with metadata
Works with any LlamaIndex agent framework
Built on the ShopSavvy Python SDK

Use Cases

1.Build product research agents
2.Create RAG pipelines with pricing data
3.Automate competitive price analysis
4.Build shopping recommendation systems

What data, how often, which direction

Data
Product records, current offers from tens of thousands of retailers and price history back to 2011, dense from 2019, from the ShopSavvy Data API. Prices are in US dollars.
How often
Every offer carries the time it was last checked. With the Data API you can schedule refreshes hourly, daily or weekly for retailers we can re-check through an official retailer API; other retailers update as ShopSavvy sees them.
Direction
ShopSavvy data flows into LlamaIndex. Requests carry only what you ask about (identifiers, search terms or schedules) and your API key.

FAQ

Do I need an API key?

Yes. The LlamaIndex integration calls the ShopSavvy Data API, which needs a Data API key. Create one at shopsavvy.com/data, then add it as the setup steps above show.

What data does it return?

ShopSavvy product records (title, brand, model, barcode, ASIN), current offers from tens of thousands of retailers with price, availability and condition, and price history back to 2011, dense from 2019. Products can be looked up by barcode, ASIN, URL or model number. Prices are in US dollars.

How fresh are the prices?

Every offer carries the time ShopSavvy last checked it, so you can see how current each price is. Through the Data API you can schedule refreshes hourly, daily or weekly for retailers we can re-check through an official retailer API; other retailers update as ShopSavvy sees them.

Is my API key stored securely?

Store it as a secret in your own configuration, not in source code. The key is sent to the ShopSavvy API (api.shopsavvy.com) over HTTPS in the Authorization header. You can revoke a key and create a new one at shopsavvy.com/data/api-keys.

Can I install it from a package registry?

Not yet. The package named in its install command has not been published to its public registry, so install it from the GitHub repository (https://github.com/shopsavvy/llamaindex-shopsavvy) for now.

Is it open source?

Yes. The source is on GitHub at https://github.com/shopsavvy/llamaindex-shopsavvy under the MIT license.

Powered by the ShopSavvy Data API

This integration connects to the ShopSavvy Data API: product data and current prices from tens of thousands of retailers, across 30M+ products, with price history back to 2011, dense from 2019. Look up products by barcode, ASIN, URL or keyword, compare prices, read history and schedule refreshes.