---
title: "Backfill trading view data"
method: POST
path: "/admin/backfill-trading-view"
tags: ["Admin"]
---

# Backfill trading view data

`POST /admin/backfill-trading-view`

## Request

- Base URL: `https://api.testnet.rise.trade`
- URL: `https://api.testnet.rise.trade/admin/backfill-trading-view`
- Auth: none required
- TypeScript: <https://skmtc.dev/rise/apis/risex-rest-api/docs/admin/backfill-trading-view/post.ts> (a function with typed inputs; its response is checked against the schema)

Backfill trading view candle data in the background. If no products specified, backfills all.

## Request body

- ApiBackfillTradingViewRequest
  - `products` string[]: Products to backfill (e.g., ["BTC/USDC", "ETH/USDC"]). Empty = all products.
  - `days` integer

## Response `200`

A successful response.

- ApiBackfillTradingViewResponse
  - `message` string

## Other responses

- `default`: An unexpected error response.

## Changes

- **2026-11-03** `98eabcd6a6ad`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/rise/apis/risex-rest-api/changes/admin/backfill-trading-view/post.md)

---

[API](https://skmtc.dev/rise/apis/risex-rest-api.md) - [All operations](https://skmtc.dev/rise/apis/risex-rest-api/llms.txt) - [OpenAPI document](https://skmtc.dev/rise/apis/risex-rest-api/revisions/98eabcd6a6ad?raw)
