curl -X GET "http://rivin.ai/api/walmart/product/units-sold-history?walmart_product_code=1370971228&time_period=6months" \
-H "Content-Type: application/json" \
-H "x-api-key: (YOUR_API_KEY_HERE)"
{
"walmart_product_code": "1370971228",
"time_period": "6months",
"credit_cost": 25,
"sales_history": [
{
"date": "2024-01-15",
"units_sold": 25
},
{
"date": "2024-01-14",
"units_sold": 18
},
{
"date": "2024-01-13",
"units_sold": 32
}
]
}
Product Endpoints
Get Units Sold History Estimate
This endpoint returns estimated sales history for a specific Walmart product.
GET
/
walmart
/
product
/
units-sold-history
curl -X GET "http://rivin.ai/api/walmart/product/units-sold-history?walmart_product_code=1370971228&time_period=6months" \
-H "Content-Type: application/json" \
-H "x-api-key: (YOUR_API_KEY_HERE)"
{
"walmart_product_code": "1370971228",
"time_period": "6months",
"credit_cost": 25,
"sales_history": [
{
"date": "2024-01-15",
"units_sold": 25
},
{
"date": "2024-01-14",
"units_sold": 18
},
{
"date": "2024-01-13",
"units_sold": 32
}
]
}
🚧 Coming Soon: This endpoint is currently in development and will be available soon. Stay tuned for updates!
Rate Limit: This endpoint has a default rate limit of 10 products/second per account. Need higher limits? Contact our support team - we can accommodate any rate limit requirements on request.
Credit Cost: This endpoint costs range from 5 to 150 credits depending on the time period requested:
- 1 month: 5 credits
- 6 months: 25 credits
- 1 year: 50 credits
- 3 years: 100 credits
- All time: 150 credits
curl -X GET "http://rivin.ai/api/walmart/product/units-sold-history?walmart_product_code=1370971228&time_period=6months" \
-H "Content-Type: application/json" \
-H "x-api-key: (YOUR_API_KEY_HERE)"
{
"walmart_product_code": "1370971228",
"time_period": "6months",
"credit_cost": 25,
"sales_history": [
{
"date": "2024-01-15",
"units_sold": 25
},
{
"date": "2024-01-14",
"units_sold": 18
},
{
"date": "2024-01-13",
"units_sold": 32
}
]
}
Time Periods: The
time_period query parameter is required and specifies how much historical data you need. Longer time periods provide more comprehensive insights but cost more credits.Sales Estimates: This endpoint provides estimated daily sales data based on various factors including market analysis, historical trends, and available data sources.
Headers
Your unique API key for authentication. This key is required in the header of all API requests, to authenticate your account and access Rivin.ai's services. Get your API key through the Settings page.
Query Parameters
Response
Successful response