---
title: "Get Trends Endpoint"
method: GET
path: "/v1/trends/{category_slug}"
tags: ["trends"]
---

# Get Trends Endpoint

`GET /v1/trends/{category_slug}`

## Request

- Base URL: `https://api.aristocles.com.au` (the document declares no server; this is the origin it was published from)
- URL: `https://api.aristocles.com.au/v1/trends/{category_slug}`
- Auth: none declared. Required headers: `X-API-Key`

Get price trends for a spending category.

## Path parameters

- `category_slug` string, required: Category slug — get slugs from `GET /v1/categories`

## Query parameters

- `country` string: ISO country code: AU, US, UK, CA, NZ
- `months` integer: Number of months of trend data to return

## Headers

- `X-API-Key` string, required

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/aristocles/apis/aristocles-data-api.md) · [All operations](https://skmtc.dev/aristocles/apis/aristocles-data-api/llms.txt) · [OpenAPI document](https://skmtc.dev/aristocles/apis/aristocles-data-api/revisions/4ca3fbb73c59?raw)
