API Task

Price Monitoring API

Track product prices across Amazon and Walmart with Scavio's search API. Get structured pricing data in JSON. Python and JavaScript examples included.

Tracking product prices across Amazon and Walmart is critical for e-commerce sellers, dropshippers, and competitive intelligence teams. Traditional scraping breaks constantly as retailers update their anti-bot defenses. Scavio provides structured API endpoints for both Amazon and Walmart that return real-time pricing, availability, ratings, and seller data in clean JSON. This page shows how to build a price monitoring pipeline with a few lines of code.

API Endpoint

POST https://api.scavio.dev/api/v1/amazon/search
Platforms
AmazonWalmart

Python Example

Python
import requests

API_KEY = "YOUR_API_KEY"

# Track price on Amazon
response = requests.post(
    "https://api.scavio.dev/api/v1/amazon/search",
    headers={
        "Authorization": f"Bearer {API_KEY}",
        "Content-Type": "application/json",
    },
    json={"query": "sony wh-1000xm5", "country_code": "us"},
)
data = response.json()

for product in data.get("products", []):
    print(f"{product['title']}")
    print(f"  Price: {product.get('price', 'N/A')}")
    print(f"  Rating: {product.get('rating', 'N/A')}")
    print()

# Track price on Walmart
walmart_res = requests.post(
    "https://api.scavio.dev/api/v1/walmart/search",
    headers={
        "Authorization": f"Bearer {API_KEY}",
        "Content-Type": "application/json",
    },
    json={"query": "sony wh-1000xm5"},
)
walmart_data = walmart_res.json()

for product in walmart_data.get("products", []):
    print(f"{product['title']} - {product.get('price', 'N/A')}")

JavaScript Example

JavaScript
const API_KEY = "YOUR_API_KEY";

// Track price on Amazon
const amazonRes = await fetch("https://api.scavio.dev/api/v1/amazon/search", {
  method: "POST",
  headers: {
    Authorization: `Bearer ${API_KEY}`,
    "Content-Type": "application/json",
  },
  body: JSON.stringify({ query: "sony wh-1000xm5", country_code: "us" }),
});
const amazonData = await amazonRes.json();

for (const product of amazonData.products || []) {
  console.log(product.title);
  console.log(`  Price: ${product.price ?? "N/A"}`);
  console.log(`  Rating: ${product.rating ?? "N/A"}`);
}

// Track price on Walmart
const walmartRes = await fetch("https://api.scavio.dev/api/v1/walmart/search", {
  method: "POST",
  headers: {
    Authorization: `Bearer ${API_KEY}`,
    "Content-Type": "application/json",
  },
  body: JSON.stringify({ query: "sony wh-1000xm5" }),
});
const walmartData = await walmartRes.json();

for (const product of walmartData.products || []) {
  console.log(`${product.title} - ${product.price ?? "N/A"}`);
}

Expected Response

JSON
{
  "search_metadata": {
    "status": "success",
    "query": "sony wh-1000xm5",
    "country_code": "us"
  },
  "products": [
    {
      "position": 1,
      "title": "Sony WH-1000XM5 Wireless Noise Cancelling Headphones",
      "price": "$278.00",
      "original_price": "$399.99",
      "rating": 4.6,
      "reviews_count": 12847,
      "availability": "In Stock",
      "asin": "B0BX2L8PBS",
      "image": "https://m.media-amazon.com/images/I/51aX234gYnL.jpg"
    },
    {
      "position": 2,
      "title": "Sony WH-1000XM5 - Midnight Blue",
      "price": "$298.00",
      "rating": 4.6,
      "reviews_count": 12847,
      "availability": "In Stock",
      "asin": "B0BX2LRGWN"
    }
  ]
}

Benefits

  • Track prices across Amazon and Walmart from a single API
  • Structured JSON with price, availability, ratings, and seller data
  • No proxy management or anti-bot workarounds needed
  • Country-specific pricing with the country_code parameter
  • Historical price tracking when you store responses over time
  • Works for any product category on both marketplaces

Frequently Asked Questions

Send a POST request to https://api.scavio.dev/api/v1/amazon/search with your query and API key. The response is structured JSON containing the data you need. No scraping, no proxies, no browser automation.

This task uses data from Amazon, Walmart. Scavio provides unified API access to Google, Amazon, YouTube, Walmart, and Reddit through a single integration.

Yes. Scavio's free tier includes 250 credits per month with no credit card required. That is enough to prototype and test this workflow before scaling up.

Scavio is a REST API that works with any HTTP client. This page includes Python and JavaScript examples, but you can use any language that can make HTTP requests. There is also a native LangChain package and an MCP server.

Price Monitoring API

Track product prices across Amazon and Walmart with Scavio's search API. Get structured pricing data in JSON. Python and JavaScript examples included.