Skip to content

Commit edadf28

Browse files
committed
updated base url
1 parent 85fd6d5 commit edadf28

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

src/content/data-streams/reference/price-api.mdx

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,9 @@ Alignment to the TradingView spec allows for trading view integration and direct
2020

2121
## Domains
2222

23-
| Description | Testnet URL | Mainnet URL |
24-
| ------------------ | ----------- | ----------- |
25-
| Price API endpoint | TBD | TBD |
23+
| Description | Testnet URL | Mainnet URL |
24+
| ------------------ | ------------------------------------------------ | ---------------------------------------- |
25+
| Price API endpoint | `https://priceapi.testnet-dataengine.chain.link` | `https://priceapi.dataengine.chain.link` |
2626

2727
## API Endpoints
2828

@@ -42,7 +42,7 @@ Alignment to the TradingView spec allows for trading view integration and direct
4242
curl -X POST \
4343
-H "Content-Type: application/x-www-form-urlencoded" \
4444
-d "login={YOUR_USER_ID}&password={YOUR_API_KEY}" \
45-
[API_BASE]/api/v1/authorize
45+
https://priceapi.testnet-dataengine.chain.link/api/v1/authorize
4646
```
4747

4848
##### Sample response
@@ -72,7 +72,7 @@ curl -X POST \
7272
```bash
7373
curl -X GET \
7474
-H "Authorization: Bearer {YOUR_ACCESS_TOKEN}" \
75-
[API_BASE]/api/v1/symbol_info
75+
https://priceapi.testnet-dataengine.chain.link/api/v1/symbol_info
7676
```
7777

7878
##### Sample response
@@ -112,7 +112,7 @@ curl -X GET \
112112
```bash
113113
curl -X GET \
114114
-H "Authorization: Bearer {YOUR_ACCESS_TOKEN}" \
115-
"[API_BASE]/api/v1/history?symbol=ETHUSD&resolution=1m&from=1746072068&to=1746158468"
115+
"https://priceapi.testnet-dataengine.chain.link/api/v1/history?symbol=ETHUSD&resolution=1m&from=1746072068&to=1746158468"
116116
```
117117

118118
##### Sample response
@@ -144,7 +144,7 @@ curl -X GET \
144144
```bash
145145
curl -X GET \
146146
-H "Authorization: Bearer {YOUR_ACCESS_TOKEN}" \
147-
"[API_BASE]/api/v1/history/rows?symbol=ETHUSD&resolution=1m&from=1746072068&to=1746158468"
147+
"https://priceapi.testnet-dataengine.chain.link/api/v1/history/rows?symbol=ETHUSD&resolution=1m&from=1746072068&to=1746158468"
148148
```
149149

150150
##### Sample response
@@ -176,7 +176,7 @@ curl -X GET \
176176
curl -X GET \
177177
-H "Authorization: Bearer {YOUR_ACCESS_TOKEN}" \
178178
-H "Connection: keep-alive" \
179-
"[API_BASE]/api/v1/streaming?symbol=ETHUSD,BTCUSD"
179+
"https://priceapi.testnet-dataengine.chain.link/api/v1/streaming?symbol=ETHUSD,BTCUSD"
180180
```
181181

182182
##### Sample response (Streaming)

0 commit comments

Comments
 (0)