ShopSavvy Data API documentation

Last updated · Changelog · OpenAPI spec

A REST API that turns a barcode, ASIN, URL, model number or MPN into a product record, current offers from tens of thousands of retailers, and price history back to 2011, with SDKs in 10 languages.

Every request goes to https://api.shopsavvy.com/v1 with your API key in an Authorization: Bearer header. Responses are JSON (or CSV with format=csv), and each one reports the credits it used in meta.

curl "https://api.shopsavvy.com/v1/products/offers?ids=611247373064" \
  -H "Authorization: Bearer $SHOPSAVVY_API_KEY"

Start here

Getting Started

SDKs & Libraries

  • TypeScript and JavaScript SDK: Install @shopsavvy/sdk from npm and look up products, current offers and price history from Node.js, Bun or the browser with typed responses and error handling.
  • Python SDK: Install shopsavvy-sdk from PyPI and fetch product details, prices from every retailer and price history in Python, with a context manager and typed errors.
  • Ruby SDK: Install the shopsavvy-sdk gem to look up products, current offers and price history from Ruby scripts and Rails apps, including an initializer example.
  • Go SDK: go get github.com/shopsavvy/sdk-go and call the ShopSavvy Data API from Go services: product lookup by barcode or ASIN, offers, and price history.
  • Java SDK: Add com.shopsavvy:shopsavvy-sdk from Maven Central to fetch product details, retailer offers and price history from Java and Spring Boot applications.
  • PHP SDK: Install the ShopSavvy PHP SDK with Composer and look up products, offers and price history from PHP 8.1+, Laravel or Symfony applications.
  • C# and .NET SDK: dotnet add package ShopSavvy.Sdk to call the ShopSavvy Data API from .NET: product lookups, retailer offers, price history and dependency injection setup.
  • Rust SDK: cargo add shopsavvy-sdk for async Rust access to ShopSavvy product details, current offers from every retailer and price history, with typed errors.
  • Swift SDK: Add the ShopSavvy Swift package to iOS and macOS apps to look up products by barcode and show prices from every retailer, with a SwiftUI example.
  • Kotlin SDK: Add com.shopsavvy:shopsavvy-sdk-kotlin to Android or JVM projects for coroutine-based product lookups, retailer offers and price history.
  • Choose an SDK: Install commands for all 10 official ShopSavvy Data API SDKs side by side (TypeScript, Python, Ruby, Go, Java, PHP, C#, Rust, Swift, Kotlin) and which fits.

AI Integration

Products API

  • Look up a product by UPC, ASIN, URL or model number: GET /v1/products returns the product record for any barcode, ASIN, model number, MPN, URL or name, with a match object showing how each identifier matched.
  • Get product details as CSV: Add format=csv to GET /v1/products to download product records for a list of barcodes or ASINs as a spreadsheet-ready CSV file.
  • Search products by keyword: GET /v1/products/search finds products by keyword with pagination, returning identifiers you can pass to the offers and history endpoints.
  • Look up up to 100 products in one request: POST /v1/products/batch resolves up to 100 identifiers at once, optionally with offers and reviews: synchronous up to 20, asynchronous with polling above that.

Pricing API

  • Get a product's current price at every retailer: GET /v1/products/offers returns every current offer for a product: retailer, price, availability, condition, marketplace seller and when it was last seen.
  • Get a product's price at one retailer: Pass retailer=bestbuy.com (or any retailer domain) to GET /v1/products/offers to get only that retailer's offers, for 2 credits per product instead of 3.
  • Export current prices as CSV: Add format=csv to GET /v1/products/offers to get one row per product with price, availability and URL columns per retailer, ready for a spreadsheet.
  • Get price history for a product: GET /v1/products/offers/history returns dated price and availability points per retailer for up to 366 days, filtered like the ShopSavvy price chart.

Scheduling API

Deals & Reviews

  • Get the deals feed: GET /v1/deals returns current deals with expert grades, community votes, hot/new/top sorting and filters for category, retailer, price and grade.
  • Get a product's TLDR review: GET /v1/products/reviews returns an expert review summary for a product: pros, cons, bottom line and 0-1 quality scores. No credit when no review exists.

Webhooks

Account & Tools

  • Check your credit usage: GET /v1/usage returns credits used and remaining, requests made and subscription status for the current billing period, at no credit cost.
  • Turn a CSV of barcodes into one API request: Paste a CSV, pick the column with barcodes or ASINs, and get a ready-to-run Data API request for product details or prices for every row.

Recipes

Reference

  • Error codes and how to fix them: Every Data API error code with its HTTP status, what causes it, how to fix it and whether to retry. Errors never cost credits.
  • Rate limits: Each account gets 1,000 requests per rolling hour. The X-RateLimit headers, meta.rate_limit_remaining, and how to handle 429 with Retry-After.
  • Versioning and deprecation policy: How the v1 Data API changes: what ships without notice, what is announced in the changelog first, the deprecation stages, and the legacy paths still supported.
  • OpenAPI specification: The ShopSavvy Data API OpenAPI 3.0 spec at api.shopsavvy.com/v1/openapi.json: import it into Postman or Insomnia, or generate a client.
  • All Data API endpoints and their credit costs: Every ShopSavvy Data API endpoint on one page: method, path, what it returns and what it costs in credits, plus base URL, auth and identifier types.

More