Get 7NOW search-term suggestions
Returns search-term completions for a partial query, e.g. "chi" -> "chips ahoy", "chips", "chicken". No store is required. q must be at least 3 characters -- shorter values return a typed invalid-param error, matching upstream's own enforced minimum. vertical selects which search index to complete against, and the indexes are materially different rather than variations on one list: for "chi", convenience answers "chips ahoy, chips, chicken wings" while restaurant answers "chipotle, chinese food, chili". global is a sparse cross-vertical index -- many prefixes legitimately return no suggestions there.
Request
- Base URL: https://api.crawlora.net/api/v1
- URL: https://api.crawlora.net/api/v1/7now/suggest
- Auth: API key in header x-api-key
Query parameters
Partial search term, at least 3 characters.
Which search index to complete against. One of: convenience, restaurant, global. Defaults to convenience.
Headers
API key required
Response
OK
Example response
{
"data": {
"query": "chi",
"suggestions": [
"chips ahoy",
"chips",
"chicken"
]
}
}Changes
No recorded changes to this operation across all 2 revisions of this API.