---
title: "Trending API"
method: GET
path: "/api/suggest/trending"
tags: [""]
---

# Trending API

`GET /api/suggest/trending`

Returns the most popular search terms from the past 90 days for your site.

## Query parameters

- `siteId` string, required
- `limit` integer

## Response `200`

OK

- object
  - `trending` object — The trending object will house the most popular queries shoppers are submitting on the site in the last 90 days within the queries array. Results will be returned in descending order based on the ***popularity*** key.
    - `queries` unknown[] — Array of objects, each object will represent a popular query.
      - unknown

## Other responses

- `400` — Bad Request
- `404` — 404 Not Found

---

[API](https://skmtc.dev/searchspring/apis/autocomplete-module.md) · [All operations](https://skmtc.dev/searchspring/apis/autocomplete-module/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/searchspring/autocomplete-module/revisions/04129662b4e5/schema)
