---
title: "Get weekly revenue, orders, and items sold trends"
method: POST
path: "/api/gpt/get_weekly_trends"
---

# Get weekly revenue, orders, and items sold trends

`POST /api/gpt/get_weekly_trends`

## Request

- Base URL: `https://datapulse.app`
- URL: `https://datapulse.app/api/gpt/get_weekly_trends`
- Auth: HTTP bearer

## Request body

- object
  - `weeks` integer

## Response `200`

Weekly trends

---

[API](https://skmtc.dev/ask-ai-data-connector/apis/ask-ai-data-connector-analytics-api.md) · [All operations](https://skmtc.dev/ask-ai-data-connector/apis/ask-ai-data-connector-analytics-api/llms.txt) · [OpenAPI document](https://skmtc.dev/ask-ai-data-connector/apis/ask-ai-data-connector-analytics-api/revisions/090956a39888?raw)
