Newer per-phrase stats breakdown for one or more locations.
Changed onReturns the phrases customers use most in a location's reviews, each with its own review stats.
Request
- Base URLhttps://listingsapi.com
- Auth
- API key in header Authorization
- or API key in header X-RapidAPI-Key and API key in header X-RapidAPI-Host
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Query parameters
JSON-encoded filter object
JSON array of location IDs to aggregate over, e.g. [1800289,1800290]. Query values are JSON-parsed, so a bare single ID also works. Omit to cover every location the key can read.
JSON-encoded filter object
JSON array of review sources to include, e.g. ["maps.google.com"].
Only count reviews on or after this date (YYYY-MM-DD).
Only count reviews on or before this date (YYYY-MM-DD).
Only return phrases containing this substring.
Deprecated single-value form of categories. Kept for v4 compatibility; prefer categories.
Deprecated single-value form of ratingFilters. Kept for v4 compatibility; prefer ratingFilters.
Maximum number of phrases to return.
JSON-encoded filter object
JSON array of interaction categories to include (see the interaction attributes reference).
JSON-encoded filter object
JSON array of star ratings to include, e.g. [1,2] to mine only unhappy reviews.
JSON-encoded filter object
JSON array of RESPONDED / PENDING to restrict by whether the review has an owner reply.
JSON-encoded filter object
One of NEWEST_FIRST, OLDEST_FIRST, LAST_RESPONDED, LOWEST_RATING, HIGHEST_RATING.
Response
Successful response
Changes
- breaking
added to the response body
oneOflist for the response status - info
removed from the response body
oneOflist for the response status
- breaking
- info
endpoint added
- info