The Searchspring Trending API gives you the most popular searches from the past 90 days for your site.
See Also: Response Format
API Endpoint URL
https://siteId.a.searchspring.io/api/suggest/trending
Request Parameters
Uses POST. Parameters cannot be passed in the URL. JSON objects are accepted.
| Format |
String |
| Description |
The siteId parameter identifies your site. You can find your siteId on the My Account page. |
| Example Value |
"scmq7n" |
| Format |
Integer |
| Description |
The number of popular queries to return. |
| Default |
6 |
| Max |
25 |
| Example Value |
4 |
Example Request
cURL
curl -X POST https://scmq7n.a.searchspring.io/api/suggest/trending -H 'Content-Type: application/json' -d '{"siteId": "scmq7n", "limit": 4}'
Standby as we redirect you to this article in our new developer portal...
Comments
0 comments
Article is closed for comments.