Amazon Filters API
SerpApi Amazon API scrapes the name
, description
, filter
, and url
of filters which are needed to narrow down the search results.
API Examples
Results with rh values
To apply filters for the Amazon search, you need to update the rh parameter with the appropriate value. You can get the rh values for each filter from the filters
array in the JSON results for an Amazon API search.
The rh parameter is constructed in the following manner:key:value
To apply multiple filters, use ,
(comma) to separate key:value
pairs. For example: key:value
+,
+key:value

{
...
"filters": [
"eligible_for_free_shipping": [
{
"name": "Free Shipping by Amazon",
"description": "Get FREE Shipping on eligible orders shipped by Amazon",
"rh": "p_76:1249146011",
"url": "https://www.amazon.com/s?k=Coffee&rh=n%3A21514692011%2Cp_90%3A8308921011&dc&qid=1745325002&rnid=1249144011&ref=sr_nr_p_76_1&ds=v1%3AjW%2FgnqTYDgYN3pB5boLR7GYBQH9cmoX0sL8cGHQ8Shk",
"serpapi_url": "https://serpapi.com/search.json?amazon_domain=amazon.com&device=desktop&engine=amazon&k=Coffee&rh=n%3A21514692011%2Cp_90%3A8308921011",
"used": true
}
],
"delivery_day": [
{
"name": "Get It by Tomorrow",
"rh": "p_90:8308921011",
"url": "https://www.amazon.com/s?k=Coffee&rh=n%3A21514692011%2Cp_76%3A1249146011&dc&qid=1745325002&rnid=8308919011&ref=sr_nr_p_90_1&ds=v1%3AQyYEhxnl5DDTtOC6dKADGCr4UBtlJFx%2F4%2BXtoCcoowA",
"serpapi_url": "https://serpapi.com/search.json?amazon_domain=amazon.com&device=desktop&engine=amazon&k=Coffee&rh=n%3A21514692011%2Cp_76%3A1249146011",
"used": true
}
],
"roast_level": [
{
"name": "Light Roast",
"rh": "p_n_feature_three_browse-bin:23738866011",
"url": "https://www.amazon.com/s?k=Coffee&rh=n%3A21514692011%2Cp_76%3A1249146011%2Cp_90%3A8308921011%2Cp_n_feature_three_browse-bin%3A23738866011&dc&qid=1745325002&rnid=23738863011&ref=sr_nr_p_n_feature_three_browse-bin_1&ds=v1%3A8eCPOwkGRDWh1tWrx9OoEkBVI51JNi9ZyqvNLV1EU%2Bw",
"serpapi_url": "https://serpapi.com/search.json?amazon_domain=amazon.com&device=desktop&engine=amazon&k=Coffee&rh=n%3A21514692011%2Cp_76%3A1249146011%2Cp_90%3A8308921011%2Cp_n_feature_three_browse-bin%3A23738866011"
},
...
],
"brands": [
{
"name": "MAXWELL HOUSE",
"rh": "p_123:350806",
"url": "https://www.amazon.com/s?k=Coffee&rh=n%3A21514692011%2Cp_76%3A1249146011%2Cp_90%3A8308921011%2Cp_123%3A350806&dc&qid=1745325002&rnid=85457740011&ref=sr_nr_p_123_1&ds=v1%3AMMGxKLmZt1eT7W8jphp9uUg2jwBxSnOxmPyTqorv%2BYE",
"serpapi_url": "https://serpapi.com/search.json?amazon_domain=amazon.com&device=desktop&engine=amazon&k=Coffee&rh=n%3A21514692011%2Cp_76%3A1249146011%2Cp_90%3A8308921011%2Cp_123%3A350806"
},
...
],
"top_brands": [
{
"name": "Top Brands",
"rh": "p_n_feature_forty-one_browse-bin:119653281011",
"url": "https://www.amazon.com/s?k=Coffee&rh=n%3A21514692011%2Cp_76%3A1249146011%2Cp_90%3A8308921011%2Cp_n_feature_forty-one_browse-bin%3A119653281011&dc&qid=1745325002&rnid=119653280011&ref=sr_nr_p_n_feature_forty-one_browse-bin_1&ds=v1%3Avl%2F%2FB3ZMCpFlp0tvUx%2FNbpwlVAKDABZzw72euMboLVA",
"serpapi_url": "https://serpapi.com/search.json?amazon_domain=amazon.com&device=desktop&engine=amazon&k=Coffee&rh=n%3A21514692011%2Cp_76%3A1249146011%2Cp_90%3A8308921011%2Cp_n_feature_forty-one_browse-bin%3A119653281011"
}
],
"customer_reviews": [
{
"rh": "p_72:1248897011",
"url": "https://www.amazon.com/s?k=Coffee&rh=n%3A21514692011%2Cp_76%3A1249146011%2Cp_90%3A8308921011%2Cp_72%3A1248897011&dc&qid=1745325002&rnid=1248895011&ref=sr_nr_p_72_1&ds=v1%3Aj2X3eo7651JpXdFUgpUIH9jAH3HMJdmZsCyH84lNHrQ",
"serpapi_url": "https://serpapi.com/search.json?amazon_domain=amazon.com&device=desktop&engine=amazon&k=Coffee&rh=n%3A21514692011%2Cp_76%3A1249146011%2Cp_90%3A8308921011%2Cp_72%3A1248897011"
}
],
"deals_discounts": [
{
"name": "All Discounts",
"rh": "p_n_deal_type:23566065011",
"url": "https://www.amazon.com/s?k=Coffee&rh=n%3A21514692011%2Cp_76%3A1249146011%2Cp_90%3A8308921011%2Cp_n_deal_type%3A23566065011&dc&qid=1745325002&rnid=23566063011&ref=sr_nr_p_n_deal_type_1&ds=v1%3AYzVNQ1b94qAkjJgAlM4q9dVZ6T%2FvdVA6TxsajspCaMc",
"serpapi_url": "https://serpapi.com/search.json?amazon_domain=amazon.com&device=desktop&engine=amazon&k=Coffee&rh=n%3A21514692011%2Cp_76%3A1249146011%2Cp_90%3A8308921011%2Cp_n_deal_type%3A23566065011"
},
...
],
"from_our_brands": [
{
"name": "Amazon Brands",
"rh": "p_n_feature_forty-seven_browse-bin:24677333011",
"url": "https://www.amazon.com/s?k=Coffee&rh=n%3A21514692011%2Cp_76%3A1249146011%2Cp_90%3A8308921011%2Cp_n_feature_forty-seven_browse-bin%3A24677333011&dc&qid=1745325002&rnid=21180941011&ref=sr_nr_p_n_feature_forty-seven_browse-bin_1&ds=v1%3A8WlLRvufDCk3pNUD%2FTY9Tm1pIhhi4AyOMkS0ouFVLn8",
"serpapi_url": "https://serpapi.com/search.json?amazon_domain=amazon.com&device=desktop&engine=amazon&k=Coffee&rh=n%3A21514692011%2Cp_76%3A1249146011%2Cp_90%3A8308921011%2Cp_n_feature_forty-seven_browse-bin%3A24677333011"
}
],
"snap_ebt": [
{
"name": "SNAP EBT Eligible",
"rh": "p_n_program_participation:17428820011",
"url": "https://www.amazon.com/s?k=Coffee&rh=n%3A21514692011%2Cp_76%3A1249146011%2Cp_90%3A8308921011%2Cp_n_program_participation%3A17428820011&dc&qid=1745325002&rnid=17428819011&ref=sr_nr_p_n_program_participation_1&ds=v1%3Abo2OVSOaD5tnyqlOhhKEEALvwnGnLl8s7CP1OfZiOIc",
"serpapi_url": "https://serpapi.com/search.json?amazon_domain=amazon.com&device=desktop&engine=amazon&k=Coffee&rh=n%3A21514692011%2Cp_76%3A1249146011%2Cp_90%3A8308921011%2Cp_n_program_participation%3A17428820011"
}
],
...
],
...
}
JSON structure overview
{
...
"filters": [
"snake_case name of the filter (Ex: 'eligible_for_free_shipping')": [
{
"name": "String - Filter name",
"description": "String - Filter description",
"rh": "String - 'rh' value (Ex: 'p_76:1249146011')",
"url": "String - Link to the Amazon search",
"serpapi_url": "String - Link to the SerpApi search",
"used": "Boolean - Returns 'true' if filter is applied"
}
],
...
],
...
}