Data Kiosk Sales & Traffic Queries: When to Use What #216
hakanensari
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Data Kiosk Sales & Traffic Queries: When to Use What
Written by Claude after analyzing production SP-API data and Amazon's documentation.
Amazon's Data Kiosk API offers three ways to query sales and traffic data in the
analytics_salesAndTraffic_2024_04_24schema. Amazon's official documentation explains what each query returns, but doesn't really explain when to use which one. This guide fills that gap based on testing with real seller data.The Three Query Types
1.
salesAndTrafficByDateWhat it does: Aggregates sales and traffic across your entire catalog by time period.
Returns: Weekly, daily, or monthly totals for all your products combined.
No limits: Returns data for your entire account.
Example response:
{ "marketplaceId": "ATVPDKIKX0DER", "startDate": "2025-01-05", "endDate": "2025-01-11", "sales": { "orderedProductSales": { "amount": 7557.58, "currencyCode": "USD" }, "totalOrderItems": 182, "unitsOrdered": 182, "averageSellingPrice": { "amount": 41.53, "currencyCode": "USD" } }, "traffic": { "pageViews": 108355, "sessions": 79614, "buyBoxPercentage": 13.92, "unitSessionPercentage": 0.23 } }2.
salesAndTrafficByAsinWhat it does: Breaks down sales and traffic by individual ASIN (parent, child, or SKU level).
Returns: Performance data for every ASIN that had activity in your date range.
No limits: Returns all ASINs with sales/traffic data.
Use case: Find your best and worst performers, identify products losing Buy Box, discover unexpected winners.
3.
salesAndTrafficTrendsWhat it does: Tracks specific ASINs over time with your chosen date granularity.
Returns: Time-series data for ASINs you explicitly specify.
Hard limit: Maximum 30 ASINs per marketplace per query.
Use case: Monitor weekly performance of your top products, track new launches, measure the impact of listing changes.
Query Comparison
When to Use What: Catalog Type Matters
The 30-ASIN limit in
salesAndTrafficTrendsseems arbitrary until you consider what you're actually trying to accomplish. The right query depends heavily on your catalog structure.Long-Tail Catalog
Profile:
Real example from production testing:
Recommended approach:
salesAndTrafficByDate- Track overall business trends weeklysalesAndTrafficByAsin- Monthly deep dive to find patternssalesAndTrafficTrends- Not practicalWhy trends don't work here:
The math is straightforward. With 130 orders spread across 2,800 products, tracking 30 specific ASINs means:
If you wanted to cover even 20% of your weekly sales volume, you'd need to run dozens of separate queries. At that point,
salesAndTrafficByAsinis more efficient.Focused Catalog
Profile:
Hypothetical example:
Recommended approach:
salesAndTrafficTrends- Track your top 30 weeklysalesAndTrafficByDate- Confirm overall trendssalesAndTrafficByAsin- Quarterly deep dive for the full catalogWhy trends excel here:
With concentrated sales, tracking 30 ASINs gives you:
Hybrid Approach
Profile:
Recommended approach:
This approach gives you:
Real Production Data: Long-Tail Example
Here's actual data from a production seller account tested with Peddler (6 months, weekly aggregation):
Account characteristics:
Weekly metrics (sample week: Jan 5-11, 2025):
Key observations:
Why trends would be problematic:
If this seller used
salesAndTrafficTrendson 30 random ASINs:For this seller,
salesAndTrafficByDateprovides exactly what they need: overall business health, conversion trends, and Buy Box performance across the entire catalog.The 30-ASIN Limitation Explained
Why does this limit exist? Probably a combination of API performance, result size management, and encouraging focused queries.
What 30 ASINs means for different catalogs:
This isn't a bug—it's a feature design decision.
salesAndTrafficTrendsis purpose-built for focused product tracking, not comprehensive catalog analysis.Practical Examples
Example 1: New Product Launch
Track your new product's first 90 days week-by-week. See if it's gaining traction or needs intervention.
Example 2: Overall Business Health
Get monthly business KPIs: revenue, orders, traffic, conversion, Buy Box performance.
Example 3: Product Performance Audit
Get every product's January performance. Sort by revenue, find high-traffic-low-conversion products, identify Buy Box problems.
Key Takeaways
Most sellers should start with
salesAndTrafficByDatefor overall business metrics and trends.Use
salesAndTrafficByAsinfor deep dives when you need to understand product-level performance across your full catalog.Reserve
salesAndTrafficTrendsfor focused tracking of your most important products (new launches, top performers, products under optimization).The 30-ASIN limit is significant - do the math for your catalog before building around trends.
Amazon's docs don't explain this - they tell you what each query does, not when to use it.
Testing in Peddler
You can see working examples in Peddler's test suite:
The 2024-04-24 schema has identical field structures to 2023-11-15, so all parsing code remains the same. The main changes:
marketplaceIdsparameter now required (was optional)salesAndTrafficTrendsquery addedAmazon's Documentation
Amazon's official documentation is surprisingly minimal on strategic guidance:
The GraphQL schema file has the most detailed field-level documentation, but doesn't address catalog-type considerations or use case guidance.
Beta Was this translation helpful? Give feedback.
All reactions