Amazon Fresh Spell Check API
When Amazon Fresh suggests a spelling correction, it's returned in search_information.spelling_fix.
Sometimes Amazon Fresh shows results for the corrected spelling instead. To get results for the exact spelling, set dc to true.
The API endpoint is https://serpapi.com/search?engine=amazon_fresh
Head to the playground for a live and interactive demo.
API examples
Results for k: cofee
Amazon Fresh shows the results for coffee instead.
{
"search_parameters": {
"engine": "amazon_fresh",
"k": "cofee",
"amazon_domain": "amazon.com",
"delivery_zip": "10001",
"device": "desktop"
},
"search_information": {
"total_results": 102,
"query_displayed": "coffee",
"store": "amazonfresh",
"page": 1,
"spelling_fix": "coffee",
"organic_results_state": "Some results for exact spelling but showing fixed spelling"
},
...
}
Results for k: cofee with dc: true
The results are for cofee, and the suggested spelling is still in spelling_fix.
{
"search_parameters": {
"engine": "amazon_fresh",
"k": "cofee",
"amazon_domain": "amazon.com",
"delivery_zip": "10001",
"dc": "true",
"device": "desktop"
},
"search_information": {
"total_results": 102,
"query_displayed": "cofee",
"store": "amazonfresh",
"page": 1,
"spelling_fix": "coffee",
"organic_results_state": "Showing results for exact spelling despite spelling suggestion"
},
...
}