Get TradingView Feeds Data
Updated
Fetches TradingView-compatible OHLCV data for a specific feed, type, and interval.
Endpoint
GET /trading-view/feeds-dataCopy code
Open in Cursor
Open in VS Code
Open in v0
Open in Claude
Open in ChatGPT
Base URL: https://history.oraclesecurity.org
This endpoint does not require authentication.
Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
feedids | string | Yes | A comma-separated list of feed IDs to fetch data for |
feed | string | Yes | The feed symbol (e.g., btcusd) |
type | integer | Yes | The query type (e.g., 1 for standard OHLCV data) |
interval | string | Yes | The time interval for the data (e.g., 24h) |
Example Request
curl -X GET "https://history.oraclesecurity.org/trading-view/feeds-data?feedids=BTCUSD&feed=btcusd&type=1&interval=24h"Copy code
Open in Cursor
Open in VS Code
Open in v0
Open in Claude
Open in ChatGPT
Response
{
"data": {
"queryType": "1",
"interval": "24h",
"result": [
{
"time": 1752069600000,
"open": 109202.25,
"high": 109220.55,
"low": 109173.53,
"close": 109202.2,
"avg": 109199.41,
"volume": 26658.339358
}
]
}
}Copy code
Open in Cursor
Open in VS Code
Open in v0
Open in Claude
Open in ChatGPT
Response Fields
| Field | Type | Description |
|---|---|---|
data.queryType | string | The query type used |
data.interval | string | The time interval |
data.result | array | Array of OHLCV data points |
data.result[].time | integer | Timestamp (milliseconds since epoch) |
data.result[].open | number | Opening price |
data.result[].high | number | Highest price |
data.result[].low | number | Lowest price |
data.result[].close | number | Closing price |
data.result[].avg | number | Average price |
data.result[].volume | number | Trading volume |
Errors
| Status | Description |
|---|---|
| 404 | Not Found - wrong interval or missing feed |
Was this helpful?