Core APIs
...
Results
Utility Requests

Autocomplete

2min

Autocomplete Results

When making a request with the type parameter set to type=autocomplete Rainforest API will return autocomplete suggestions for the search term specified in the search_term parameter, on the Amazon domain specified in the amazon_domain parameter.

Autocomplete Suggestions
Autocomplete Suggestions


An example of the JSON object returned from an Autocomplete request is shown below:

JSON


Rainforest API returns the following properties for Autocomplete requests:

Property

Type

Description

autocomplete_results

array

Autocomplete Results Array The autocomplete results array contains details of each of the autocomplete suggestions returned from the query.

  • suggestion
  • string
  • The text of the autocomplete suggestion.



  • type
  • string
  • The type of the suggestion.



  • spelling_corrected
  • boolean
  • True/false depending on whether the suggestion is a result of correcting the spelling of the original search_term .


Next Steps      Autocomplete Parameters

Updated 11 Aug 2024
Did this page help you?