Core APIs
...
Results
Utility Requests
Autocomplete
2min
autocomplete results when making a request with the type parameter https //docs trajectdata com/rainforestapi/product data api/parameters/autocomplete 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 an example of the json object returned from an autocomplete request is shown below { "request info" { "success" true, "credits used" 1, "credits remaining" 999 }, "request metadata" { "id" "48d63ef58b3eb240d5b18115b674c4170faba51f", "created at" "2021 01 01t00 00 00 000z", "processed at" "2021 01 01t00 00 00 001z", "total time taken" 0 1 }, "request parameters" { "type" "autocomplete", "amazon domain" "amazon com", "search term" "animal", "autocomplete alias" "stripbooks" }, "autocomplete results" \[ { "suggestion" "animal farm", "spelling corrected" false, "type" "keyword" }, { "suggestion" "animal farm by george orwell", "spelling corrected" false, "type" "keyword" }, { "suggestion" "animal vegetable junk", "spelling corrected" false, "type" "keyword" }, { "suggestion" "animal coloring book", "spelling corrected" false, "type" "keyword" }, { "suggestion" "the human animal", "spelling corrected" false, "type" "keyword" }, { "suggestion" "animals", "spelling corrected" false, "type" "keyword" }, { "suggestion" "if animals kissed goodnight board book", "spelling corrected" false, "type" "keyword" }, { "suggestion" "animal books", "spelling corrected" false, "type" "keyword" }, { "suggestion" "animal lisa taddeo", "spelling corrected" false, "type" "keyword" }, { "suggestion" "animal", "spelling corrected" false, "type" "keyword" } ] } 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 https //docs trajectdata com/rainforestapi/product data api/parameters/autocomplete