getTimelines
curl --request GET \
--url https://alphainsider.com/api/getTimelinesconst options = {method: 'GET'};
fetch('https://alphainsider.com/api/getTimelines', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://alphainsider.com/api/getTimelines"
response = requests.get(url)
print(response.text)<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://alphainsider.com/api/getTimelines",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://alphainsider.com/api/getTimelines"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}{
"success": true,
"response": [
{
"timeline_id": "1312821",
"created_at": "2024-10-04T12:32:12.975Z",
"strategy_id": "idminF5SDHUyiPCDMkYOm",
"name": "Ethereum = Moon",
"user_id": "crypto_user",
"likes": "0",
"liked": false,
"type": "trade",
"data": {
"history_id": "TYx0M5NquN1nap_h1g93S",
"action": "buy",
"price": "2395.421280000000000",
"amount": "0.001043657756935",
"fee_total": "0.000000000000000",
"total": "2.500000000000000",
"new_holdings": "0.005722668735953",
"strategy_value": "11.184990058888979",
"stock_id": "v3lhjrwEhNuAOxPT29oxO",
"figi_composite": null,
"symbol": "ETH-USD",
"name": "Ethereum",
"sector": "Cryptocurrencies",
"security": "cryptocurrency",
"exchange": "COINBASE",
"stock": "ETH-USD",
"peg": "USD",
"provider": "coinbase",
"slippage": "0.000000000000000",
"fee": "0.002500000000000",
"links": {
"trading_view": "https://www.tradingview.com/symbols/ETHUSD/?exchange=COINBASE",
"yahoo_finance": "https://finance.yahoo.com/quote/ETH-USD",
"coin_marketcap": "https://coinmarketcap.com/currencies/ethereum/",
"google_finance": "https://www.google.com/finance/quote/ETH-USD"
},
"stock_status": "active"
}
},
{
"timeline_id": "1293758",
"created_at": "2024-08-08T13:21:41.413Z",
"strategy_id": "idminF5SDHUyiPCDMkYOm",
"name": "Ethereum = Moon",
"user_id": "crypto_user",
"likes": "0",
"liked": false,
"type": "post",
"data": {
"post_id": "fHa1j_eSiI9IITrxKjJv8",
"description": "I may have missed the timing for when to get into Ethereum but I have strong conviction that we will be seeing new all-time highs by end of this year or the next. Ethereum just hit the 200 weekly moving average and this usually means a bottom for the asset.",
"url": "https://www.tradingview.com/x/vtnvSnWk/",
"content": {
"site": "www.tradingview.com",
"type": "summary",
"image": "https://alphainsider-images.s3.us-east-2.amazonaws.com/1X99HjM6MNfEnK8KM69Fy",
"title": "BITFINEX:ETHUSD Chart Image by CryptoHitchhiker",
"description": ""
}
}
}
]
}{
"success": false,
"response": "Request failed."
}{
"success": false,
"response": "Authentication failed."
}Timelines
getTimelines
Get timeline events.
GET
/
getTimelines
getTimelines
curl --request GET \
--url https://alphainsider.com/api/getTimelinesconst options = {method: 'GET'};
fetch('https://alphainsider.com/api/getTimelines', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://alphainsider.com/api/getTimelines"
response = requests.get(url)
print(response.text)<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://alphainsider.com/api/getTimelines",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://alphainsider.com/api/getTimelines"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}{
"success": true,
"response": [
{
"timeline_id": "1312821",
"created_at": "2024-10-04T12:32:12.975Z",
"strategy_id": "idminF5SDHUyiPCDMkYOm",
"name": "Ethereum = Moon",
"user_id": "crypto_user",
"likes": "0",
"liked": false,
"type": "trade",
"data": {
"history_id": "TYx0M5NquN1nap_h1g93S",
"action": "buy",
"price": "2395.421280000000000",
"amount": "0.001043657756935",
"fee_total": "0.000000000000000",
"total": "2.500000000000000",
"new_holdings": "0.005722668735953",
"strategy_value": "11.184990058888979",
"stock_id": "v3lhjrwEhNuAOxPT29oxO",
"figi_composite": null,
"symbol": "ETH-USD",
"name": "Ethereum",
"sector": "Cryptocurrencies",
"security": "cryptocurrency",
"exchange": "COINBASE",
"stock": "ETH-USD",
"peg": "USD",
"provider": "coinbase",
"slippage": "0.000000000000000",
"fee": "0.002500000000000",
"links": {
"trading_view": "https://www.tradingview.com/symbols/ETHUSD/?exchange=COINBASE",
"yahoo_finance": "https://finance.yahoo.com/quote/ETH-USD",
"coin_marketcap": "https://coinmarketcap.com/currencies/ethereum/",
"google_finance": "https://www.google.com/finance/quote/ETH-USD"
},
"stock_status": "active"
}
},
{
"timeline_id": "1293758",
"created_at": "2024-08-08T13:21:41.413Z",
"strategy_id": "idminF5SDHUyiPCDMkYOm",
"name": "Ethereum = Moon",
"user_id": "crypto_user",
"likes": "0",
"liked": false,
"type": "post",
"data": {
"post_id": "fHa1j_eSiI9IITrxKjJv8",
"description": "I may have missed the timing for when to get into Ethereum but I have strong conviction that we will be seeing new all-time highs by end of this year or the next. Ethereum just hit the 200 weekly moving average and this usually means a bottom for the asset.",
"url": "https://www.tradingview.com/x/vtnvSnWk/",
"content": {
"site": "www.tradingview.com",
"type": "summary",
"image": "https://alphainsider-images.s3.us-east-2.amazonaws.com/1X99HjM6MNfEnK8KM69Fy",
"title": "BITFINEX:ETHUSD Chart Image by CryptoHitchhiker",
"description": ""
}
}
}
]
}{
"success": false,
"response": "Request failed."
}{
"success": false,
"response": "Authentication failed."
}Headers
User API token.
Query Parameters
Array of timeline IDs.
Maximum array length:
100Timeline event identifier.
⌘I