---
title: "Get Trends For Optimization"
method: GET
path: "/{channel_id}/optimization-trends"
tags: ["Creator Analysis"]
---

# Get Trends For Optimization

`GET /{channel_id}/optimization-trends`

Get trend data for video optimization.

For back catalog: Uses cached creator trends (0 SerpAPI calls)
For new uploads: Cached + real-time video trends (2 SerpAPI calls)

Args:
    channel_id: Database ID of the channel
    video_keywords: Comma-separated keywords from the video (optional)
    is_new_upload: Whether this is a new upload (< 48 hours)
    
Returns:
    Combined trend data for optimization

## Path parameters

- `channel_id` integer, required

## Query parameters

- `video_keywords` string, nullable
- `is_new_upload` boolean

## Response `200`

Successful Response

- unknown

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.dev/primetime/apis/primetime-media-api.md) · [All operations](https://skmtc.dev/primetime/apis/primetime-media-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/primetime/primetime-media-api/revisions/9da9a9f64e11/schema)
