---
title: "Get Facebook Ads Chart Data"
method: GET
path: "/api/v1/research/get-fb-ads-chart-data"
tags: ["research"]
---

# Get Facebook Ads Chart Data

`GET /api/v1/research/get-fb-ads-chart-data`

Get Facebook ads data optimized for chart visualization with configurable metrics.
Returns ad-level data with selected metrics in a format easy to render in charts.

## Query parameters

- `ad_account_id` string, required — Facebook Ad Account ID
- `time_period` string — Time period in days or 'all'/'all_time'
- `metrics` string — Comma-separated list of metrics to include
- `limit` integer — Maximum number of ads to return
- `sort_by` string — Metric to sort by
- `sort_order` string — Sort order: 'asc' or 'desc'

## Response `200`

Successful Response

- unknown

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.dev/brandbooster/apis/fastapi.md) · [All operations](https://skmtc.dev/brandbooster/apis/fastapi/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/brandbooster/fastapi/revisions/624917d53409/schema)
