Monitor Sellers
API Playground is ScraperAPI's request builder for testing and configuring scraping requests. In this tutorial, you will use the API Playground to monitor sellers and MAP violations across your Amazon catalog. By the end, you will have a daily batch job that flags unauthorized sellers and price violations across every listing, so you can protect brand pricing without an enforcement team.
Step 1: Configure the Amazon Offers endpoint
Open the API Playground from the left sidebar.
Select scraping method: Structured Data Endpoints.
In the endpoint dropdown, select Amazon Offer.
Enter ASIN
B0BFC7WQ6R. Set Country tous.Review the Summary panel on the right to understand the cost of the job before you run it.
Scroll down to the generated code and click Try it.
The Playground runs the request and shows the response inline. Each entry in the listings array includes seller_name, price, shipping_price, condition, pinned_offer, and fullfilled_by_amazon.
Step 2: Additional options and filters
Use Additional options & filters to fine-tune your request. The Playground adds the relevant parameters to the generated code automatically.
Country code adds
country_code. Targets a specific Amazon marketplace — usegbfor Amazon UK,defor Germany, and so on.Domain adds
domain. Sets the Amazon domain (e.g.co.uk,com.au).Output format adds
output_format. Returns results asjson(default) orcsv.Condition adds
condition. Filters offers by item condition (e.g. new, used).Activate retrying 404 responses adds
retry_404. Retries requests that return a 404 instead of treating them as final.
Step 3: Prepare your reference files
authorized_sellers.txt — one seller name per line:
map_prices.csv — ASIN and minimum advertised price:
Step 4: Submit a batch across your catalog
Switch the scraping method to Async in the Playground and paste your ASINs as full structured endpoint URLs, one per line:
Step 5: Poll for results
Async jobs run in the background. Use the statusUrl from the batch response to check progress. When status is finished, read response.body from each job result. Compare seller_name against authorized_sellers.txt and price against map_prices.csv. Flag any seller not on the allowlist, and any price below the MAP threshold.
Step 6: Deliver to cloud storage and skip polling
Instead of polling, configure a destination in your dashboard under Destinations and add a callback to your batch request. Results land in your bucket automatically when each job finishes — ready for your violation check script to process.
Step 7: Schedule daily
To run your batch automatically on a recurring schedule, add it to your crontab. The example below runs every day at 6am.
More API tutorials
Last updated

