getStrategies
curl --request GET \
--url https://alphainsider.com/api/getStrategiesconst options = {method: 'GET'};
fetch('https://alphainsider.com/api/getStrategies', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://alphainsider.com/api/getStrategies"
response = requests.get(url)
print(response.text)<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://alphainsider.com/api/getStrategies",
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/getStrategies"
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": [
{
"strategy_id": "YdNf91nP-Q-YB39RwtlHQ",
"product_id": "yvtLPHMNML3th6csjO_bV",
"user_id": "user_1",
"type": "cryptocurrency",
"private": false,
"name": "vdsvdsvds",
"description": "",
"categories": [
"other"
],
"updated_at": "2024-10-07T15:05:09.124Z",
"created_at": "2024-10-07T15:05:09.124Z",
"price": 0,
"subscriber_count": "0",
"timeframes": [
{
"timeframe": "week",
"rank_performance": "4",
"rank_popular": "4",
"rank_trending": "5",
"rank_top": "5",
"max_drawdown": "0.000000000000000",
"past_value": "1.000000000000000"
},
{
"timeframe": "year",
"rank_performance": "4",
"rank_popular": "4",
"rank_trending": "5",
"rank_top": "5",
"max_drawdown": "0.000000000000000",
"past_value": "1.000000000000000"
},
{
"timeframe": "day",
"rank_performance": "4",
"rank_popular": "4",
"rank_trending": "5",
"rank_top": "5",
"max_drawdown": "0.000000000000000",
"past_value": "1.000000000000000"
},
{
"timeframe": "month",
"rank_performance": "4",
"rank_popular": "4",
"rank_trending": "5",
"rank_top": "5",
"max_drawdown": "0.000000000000000",
"past_value": "1.000000000000000"
},
{
"timeframe": "five_year",
"rank_performance": "4",
"rank_popular": "4",
"rank_trending": "5",
"rank_top": "5",
"max_drawdown": "0.000000000000000",
"past_value": "1.000000000000000"
}
]
}
]
}{
"success": false,
"response": "Request failed."
}{
"success": false,
"response": "Authentication failed."
}Strategies
getStrategies
Get strategy information.
GET
/
getStrategies
getStrategies
curl --request GET \
--url https://alphainsider.com/api/getStrategiesconst options = {method: 'GET'};
fetch('https://alphainsider.com/api/getStrategies', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://alphainsider.com/api/getStrategies"
response = requests.get(url)
print(response.text)<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://alphainsider.com/api/getStrategies",
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/getStrategies"
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": [
{
"strategy_id": "YdNf91nP-Q-YB39RwtlHQ",
"product_id": "yvtLPHMNML3th6csjO_bV",
"user_id": "user_1",
"type": "cryptocurrency",
"private": false,
"name": "vdsvdsvds",
"description": "",
"categories": [
"other"
],
"updated_at": "2024-10-07T15:05:09.124Z",
"created_at": "2024-10-07T15:05:09.124Z",
"price": 0,
"subscriber_count": "0",
"timeframes": [
{
"timeframe": "week",
"rank_performance": "4",
"rank_popular": "4",
"rank_trending": "5",
"rank_top": "5",
"max_drawdown": "0.000000000000000",
"past_value": "1.000000000000000"
},
{
"timeframe": "year",
"rank_performance": "4",
"rank_popular": "4",
"rank_trending": "5",
"rank_top": "5",
"max_drawdown": "0.000000000000000",
"past_value": "1.000000000000000"
},
{
"timeframe": "day",
"rank_performance": "4",
"rank_popular": "4",
"rank_trending": "5",
"rank_top": "5",
"max_drawdown": "0.000000000000000",
"past_value": "1.000000000000000"
},
{
"timeframe": "month",
"rank_performance": "4",
"rank_popular": "4",
"rank_trending": "5",
"rank_top": "5",
"max_drawdown": "0.000000000000000",
"past_value": "1.000000000000000"
},
{
"timeframe": "five_year",
"rank_performance": "4",
"rank_popular": "4",
"rank_trending": "5",
"rank_top": "5",
"max_drawdown": "0.000000000000000",
"past_value": "1.000000000000000"
}
]
}
]
}{
"success": false,
"response": "Request failed."
}{
"success": false,
"response": "Authentication failed."
}Headers
User API token.
Query Parameters
Array of strategy IDs.
Maximum array length:
100AlphaInsider strategy identifier.
Time window used for ranking or performance data.
Available options:
day, week, month, year, five_year ⌘I