@alva-ai/toolkit 0.21.0 → 0.23.0-beta.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -0
- package/dist/browser.global.js +130 -3
- package/dist/browser.global.js.map +1 -1
- package/dist/cli.d.ts +209 -10
- package/dist/cli.js +817 -689
- package/dist/cli.js.map +1 -1
- package/dist/dispatch.d.ts +210 -11
- package/dist/dispatch.js +314 -81
- package/dist/dispatch.js.map +1 -1
- package/dist/index.cjs +506 -609
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +210 -11
- package/dist/index.d.ts +210 -11
- package/dist/index.js +505 -609
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -25,6 +25,7 @@ __export(src_exports, {
|
|
|
25
25
|
AlvaError: () => AlvaError,
|
|
26
26
|
AutomationResource: () => AutomationResource,
|
|
27
27
|
CliUsageError: () => CliUsageError,
|
|
28
|
+
MarketsResource: () => MarketsResource,
|
|
28
29
|
PBSV_UPDATE_MESSAGE: () => PBSV_UPDATE_MESSAGE,
|
|
29
30
|
SUBSCRIBE_PROPOSE_MESSAGE: () => SUBSCRIBE_PROPOSE_MESSAGE,
|
|
30
31
|
SUBSCRIBE_RESULT_MESSAGE: () => SUBSCRIBE_RESULT_MESSAGE,
|
|
@@ -584,6 +585,30 @@ var AutomationResource = class {
|
|
|
584
585
|
`/api/v1/automation/${encodeURIComponent(String(id))}`
|
|
585
586
|
);
|
|
586
587
|
}
|
|
588
|
+
/** Partially update one existing automation by immutable decimal-string id. */
|
|
589
|
+
async update(params) {
|
|
590
|
+
this.client._requireAuth();
|
|
591
|
+
const id = requireAutomationIDString(params.id);
|
|
592
|
+
if (!hasAutomationUpdate(params)) {
|
|
593
|
+
throw new Error(
|
|
594
|
+
"automation update requires at least one field or trigger=true"
|
|
595
|
+
);
|
|
596
|
+
}
|
|
597
|
+
return this.client._request(
|
|
598
|
+
"PATCH",
|
|
599
|
+
`/api/v1/automation/${encodeURIComponent(String(id))}`,
|
|
600
|
+
{
|
|
601
|
+
body: {
|
|
602
|
+
version: params.version,
|
|
603
|
+
cronjob_id: params.cronjob_id,
|
|
604
|
+
description: params.description,
|
|
605
|
+
changelog: params.changelog,
|
|
606
|
+
agent_type: params.agent_type,
|
|
607
|
+
trigger: params.trigger
|
|
608
|
+
}
|
|
609
|
+
}
|
|
610
|
+
);
|
|
611
|
+
}
|
|
587
612
|
stop(params) {
|
|
588
613
|
return this.client.feed.stop(params);
|
|
589
614
|
}
|
|
@@ -603,6 +628,15 @@ function requireAutomationID(id) {
|
|
|
603
628
|
}
|
|
604
629
|
return id;
|
|
605
630
|
}
|
|
631
|
+
function requireAutomationIDString(id) {
|
|
632
|
+
if (!/^[1-9]\d*$/.test(id)) {
|
|
633
|
+
throw new Error("automation id must be a positive integer string");
|
|
634
|
+
}
|
|
635
|
+
return id;
|
|
636
|
+
}
|
|
637
|
+
function hasAutomationUpdate(params) {
|
|
638
|
+
return params.version !== void 0 || params.cronjob_id !== void 0 || params.description !== void 0 || params.changelog !== void 0 || params.agent_type !== void 0 || params.trigger === true;
|
|
639
|
+
}
|
|
606
640
|
|
|
607
641
|
// src/resources/playbooks.ts
|
|
608
642
|
var PLAYBOOK_VISIBILITIES = [
|
|
@@ -647,6 +681,26 @@ var PlaybooksResource = class {
|
|
|
647
681
|
query
|
|
648
682
|
});
|
|
649
683
|
}
|
|
684
|
+
/**
|
|
685
|
+
* List the authenticated user's OWN playbooks via GET /api/v1/playbook —
|
|
686
|
+
* the owner-scoped surface that INCLUDES drafts. Unlike `listByOwner` (the
|
|
687
|
+
* public discovery view, which requires at least one release and therefore
|
|
688
|
+
* hides drafts), this shows work-in-progress playbooks you created but
|
|
689
|
+
* never released. Requires an API key: the owner is derived from auth, not
|
|
690
|
+
* a username argument. Optional `filter` narrows to draft | running |
|
|
691
|
+
* paused.
|
|
692
|
+
*/
|
|
693
|
+
async listOwn(params = {}) {
|
|
694
|
+
const query = {};
|
|
695
|
+
if (params.filter) query.filter = params.filter;
|
|
696
|
+
if (params.limit !== void 0 && params.limit > 0) {
|
|
697
|
+
query.limit = String(params.limit);
|
|
698
|
+
}
|
|
699
|
+
if (params.cursor) query.cursor = params.cursor;
|
|
700
|
+
return await this.client._request("GET", "/api/v1/playbook", {
|
|
701
|
+
query
|
|
702
|
+
});
|
|
703
|
+
}
|
|
650
704
|
/**
|
|
651
705
|
* Get one playbook by numeric id or by "owner/name" ref. Returns null when
|
|
652
706
|
* not found / not visible / deleted.
|
|
@@ -834,1181 +888,721 @@ var SdkDocsResource = class {
|
|
|
834
888
|
}
|
|
835
889
|
};
|
|
836
890
|
|
|
837
|
-
// src/resources/
|
|
891
|
+
// src/resources/skillEndpoints.ts
|
|
838
892
|
var SKILL_ENDPOINT_METADATA = [
|
|
839
893
|
{
|
|
840
894
|
skill: "arrays-data-api-crypto-futures-data",
|
|
841
895
|
file: "binance-perp-usdt-kline",
|
|
842
896
|
method: "GET",
|
|
843
|
-
path: "/api/v1/crypto/binance/perp/usdt/kline"
|
|
844
|
-
tier: "public",
|
|
845
|
-
required_subscription_tier: "free",
|
|
846
|
-
access: "free_and_pro",
|
|
847
|
-
pro_required: false
|
|
897
|
+
path: "/api/v1/crypto/binance/perp/usdt/kline"
|
|
848
898
|
},
|
|
849
899
|
{
|
|
850
900
|
skill: "arrays-data-api-spot-market-price-and-volume",
|
|
851
901
|
file: "binance-spot-usdt-kline",
|
|
852
902
|
method: "GET",
|
|
853
|
-
path: "/api/v1/crypto/binance/spot/usdt/kline"
|
|
854
|
-
tier: "public",
|
|
855
|
-
required_subscription_tier: "free",
|
|
856
|
-
access: "free_and_pro",
|
|
857
|
-
pro_required: false
|
|
903
|
+
path: "/api/v1/crypto/binance/spot/usdt/kline"
|
|
858
904
|
},
|
|
859
905
|
{
|
|
860
906
|
skill: "arrays-data-api-crypto-metrics-and-screener",
|
|
861
907
|
file: "fear-greed-index",
|
|
862
908
|
method: "GET",
|
|
863
|
-
path: "/api/v1/crypto/fear-greed-index"
|
|
864
|
-
tier: "public",
|
|
865
|
-
required_subscription_tier: "free",
|
|
866
|
-
access: "free_and_pro",
|
|
867
|
-
pro_required: false
|
|
909
|
+
path: "/api/v1/crypto/fear-greed-index"
|
|
868
910
|
},
|
|
869
911
|
{
|
|
870
912
|
skill: "arrays-data-api-crypto-futures-data",
|
|
871
913
|
file: "funding-rate",
|
|
872
914
|
method: "GET",
|
|
873
|
-
path: "/api/v1/crypto/funding-rate"
|
|
874
|
-
tier: "public",
|
|
875
|
-
required_subscription_tier: "free",
|
|
876
|
-
access: "free_and_pro",
|
|
877
|
-
pro_required: false
|
|
915
|
+
path: "/api/v1/crypto/funding-rate"
|
|
878
916
|
},
|
|
879
917
|
{
|
|
880
918
|
skill: "arrays-data-api-crypto-futures-data",
|
|
881
919
|
file: "hyperliquid-perp-usdc-kline",
|
|
882
920
|
method: "GET",
|
|
883
|
-
path: "/api/v1/crypto/hyperliquid/perp/usdc/kline"
|
|
884
|
-
tier: "public",
|
|
885
|
-
required_subscription_tier: "free",
|
|
886
|
-
access: "free_and_pro",
|
|
887
|
-
pro_required: false
|
|
921
|
+
path: "/api/v1/crypto/hyperliquid/perp/usdc/kline"
|
|
888
922
|
},
|
|
889
923
|
{
|
|
890
924
|
skill: "arrays-data-api-spot-market-price-and-volume",
|
|
891
925
|
file: "hyperliquid-spot-usdc-kline",
|
|
892
926
|
method: "GET",
|
|
893
|
-
path: "/api/v1/crypto/hyperliquid/spot/usdc/kline"
|
|
894
|
-
tier: "public",
|
|
895
|
-
required_subscription_tier: "free",
|
|
896
|
-
access: "free_and_pro",
|
|
897
|
-
pro_required: false
|
|
927
|
+
path: "/api/v1/crypto/hyperliquid/spot/usdc/kline"
|
|
898
928
|
},
|
|
899
929
|
{
|
|
900
930
|
skill: "arrays-data-api-crypto-futures-data",
|
|
901
931
|
file: "long-short-ratio",
|
|
902
932
|
method: "GET",
|
|
903
|
-
path: "/api/v1/crypto/long-short-ratio"
|
|
904
|
-
tier: "public",
|
|
905
|
-
required_subscription_tier: "free",
|
|
906
|
-
access: "free_and_pro",
|
|
907
|
-
pro_required: false
|
|
933
|
+
path: "/api/v1/crypto/long-short-ratio"
|
|
908
934
|
},
|
|
909
935
|
{
|
|
910
936
|
skill: "arrays-data-api-crypto-metrics-and-screener",
|
|
911
937
|
file: "crypto-market-cap",
|
|
912
938
|
method: "GET",
|
|
913
|
-
path: "/api/v1/crypto/market-cap"
|
|
914
|
-
tier: "public",
|
|
915
|
-
required_subscription_tier: "free",
|
|
916
|
-
access: "free_and_pro",
|
|
917
|
-
pro_required: false
|
|
939
|
+
path: "/api/v1/crypto/market-cap"
|
|
918
940
|
},
|
|
919
941
|
{
|
|
920
942
|
skill: "arrays-data-api-crypto-metrics-and-screener",
|
|
921
943
|
file: "market-metrics",
|
|
922
944
|
method: "GET",
|
|
923
|
-
path: "/api/v1/crypto/market-metrics"
|
|
924
|
-
tier: "public",
|
|
925
|
-
required_subscription_tier: "free",
|
|
926
|
-
access: "free_and_pro",
|
|
927
|
-
pro_required: false
|
|
945
|
+
path: "/api/v1/crypto/market-metrics"
|
|
928
946
|
},
|
|
929
947
|
{
|
|
930
948
|
skill: "arrays-data-api-crypto-futures-data",
|
|
931
949
|
file: "open-interest",
|
|
932
950
|
method: "GET",
|
|
933
|
-
path: "/api/v1/crypto/open-interest"
|
|
934
|
-
tier: "public",
|
|
935
|
-
required_subscription_tier: "free",
|
|
936
|
-
access: "free_and_pro",
|
|
937
|
-
pro_required: false
|
|
951
|
+
path: "/api/v1/crypto/open-interest"
|
|
938
952
|
},
|
|
939
953
|
{
|
|
940
954
|
skill: "arrays-data-api-crypto-metrics-and-screener",
|
|
941
955
|
file: "screener-metrics",
|
|
942
956
|
method: "GET",
|
|
943
|
-
path: "/api/v1/crypto/screener/metrics"
|
|
944
|
-
tier: "public",
|
|
945
|
-
required_subscription_tier: "free",
|
|
946
|
-
access: "free_and_pro",
|
|
947
|
-
pro_required: false
|
|
957
|
+
path: "/api/v1/crypto/screener/metrics"
|
|
948
958
|
},
|
|
949
959
|
{
|
|
950
960
|
skill: "arrays-data-api-crypto-metrics-and-screener",
|
|
951
961
|
file: "screener-metrics-timerange",
|
|
952
962
|
method: "GET",
|
|
953
|
-
path: "/api/v1/crypto/screener/metrics/timerange"
|
|
954
|
-
tier: "public",
|
|
955
|
-
required_subscription_tier: "free",
|
|
956
|
-
access: "free_and_pro",
|
|
957
|
-
pro_required: false
|
|
963
|
+
path: "/api/v1/crypto/screener/metrics/timerange"
|
|
958
964
|
},
|
|
959
965
|
{
|
|
960
966
|
skill: "arrays-data-api-crypto-metrics-and-screener",
|
|
961
967
|
file: "crypto-detail",
|
|
962
968
|
method: "GET",
|
|
963
|
-
path: "/api/v1/crypto/detail"
|
|
964
|
-
tier: "public",
|
|
965
|
-
required_subscription_tier: "free",
|
|
966
|
-
access: "free_and_pro",
|
|
967
|
-
pro_required: false
|
|
969
|
+
path: "/api/v1/crypto/detail"
|
|
968
970
|
},
|
|
969
971
|
{
|
|
970
972
|
skill: "arrays-data-api-etf-fundamentals",
|
|
971
973
|
file: "country-weightings",
|
|
972
974
|
method: "GET",
|
|
973
|
-
path: "/api/v1/etf/country-weightings"
|
|
974
|
-
tier: "public",
|
|
975
|
-
required_subscription_tier: "free",
|
|
976
|
-
access: "free_and_pro",
|
|
977
|
-
pro_required: false
|
|
975
|
+
path: "/api/v1/etf/country-weightings"
|
|
978
976
|
},
|
|
979
977
|
{
|
|
980
978
|
skill: "arrays-data-api-etf-fundamentals",
|
|
981
979
|
file: "holdings",
|
|
982
980
|
method: "GET",
|
|
983
|
-
path: "/api/v1/etf/holdings"
|
|
984
|
-
tier: "public",
|
|
985
|
-
required_subscription_tier: "free",
|
|
986
|
-
access: "free_and_pro",
|
|
987
|
-
pro_required: false
|
|
981
|
+
path: "/api/v1/etf/holdings"
|
|
988
982
|
},
|
|
989
983
|
{
|
|
990
984
|
skill: "arrays-data-api-etf-fundamentals",
|
|
991
985
|
file: "info",
|
|
992
986
|
method: "GET",
|
|
993
|
-
path: "/api/v1/etf/info"
|
|
994
|
-
tier: "public",
|
|
995
|
-
required_subscription_tier: "free",
|
|
996
|
-
access: "free_and_pro",
|
|
997
|
-
pro_required: false
|
|
987
|
+
path: "/api/v1/etf/info"
|
|
998
988
|
},
|
|
999
989
|
{
|
|
1000
990
|
skill: "arrays-data-api-etf-fundamentals",
|
|
1001
991
|
file: "sector-weightings",
|
|
1002
992
|
method: "GET",
|
|
1003
|
-
path: "/api/v1/etf/sector-weightings"
|
|
1004
|
-
tier: "public",
|
|
1005
|
-
required_subscription_tier: "free",
|
|
1006
|
-
access: "free_and_pro",
|
|
1007
|
-
pro_required: false
|
|
993
|
+
path: "/api/v1/etf/sector-weightings"
|
|
1008
994
|
},
|
|
1009
995
|
{
|
|
1010
996
|
skill: "arrays-data-api-macro-and-economics",
|
|
1011
997
|
file: "macro-commodity-historical",
|
|
1012
998
|
method: "GET",
|
|
1013
|
-
path: "/api/v1/macro/commodity/historical"
|
|
1014
|
-
tier: "public",
|
|
1015
|
-
required_subscription_tier: "free",
|
|
1016
|
-
access: "free_and_pro",
|
|
1017
|
-
pro_required: false
|
|
999
|
+
path: "/api/v1/macro/commodity/historical"
|
|
1018
1000
|
},
|
|
1019
1001
|
{
|
|
1020
1002
|
skill: "arrays-data-api-macro-and-economics",
|
|
1021
1003
|
file: "macro-commodity-real-time",
|
|
1022
1004
|
method: "GET",
|
|
1023
|
-
path: "/api/v1/macro/commodity/real-time"
|
|
1024
|
-
tier: "public",
|
|
1025
|
-
required_subscription_tier: "free",
|
|
1026
|
-
access: "free_and_pro",
|
|
1027
|
-
pro_required: false
|
|
1005
|
+
path: "/api/v1/macro/commodity/real-time"
|
|
1028
1006
|
},
|
|
1029
1007
|
{
|
|
1030
1008
|
skill: "arrays-data-api-macro-and-economics",
|
|
1031
1009
|
file: "macro-commodity-symbol-list",
|
|
1032
1010
|
method: "GET",
|
|
1033
|
-
path: "/api/v1/macro/commodity/symbols"
|
|
1034
|
-
tier: "public",
|
|
1035
|
-
required_subscription_tier: "free",
|
|
1036
|
-
access: "free_and_pro",
|
|
1037
|
-
pro_required: false
|
|
1011
|
+
path: "/api/v1/macro/commodity/symbols"
|
|
1038
1012
|
},
|
|
1039
1013
|
{
|
|
1040
1014
|
skill: "arrays-data-api-macro-and-economics",
|
|
1041
1015
|
file: "economic-indicators",
|
|
1042
1016
|
method: "GET",
|
|
1043
|
-
path: "/api/v1/macro/economic-indicators"
|
|
1044
|
-
tier: "public",
|
|
1045
|
-
required_subscription_tier: "free",
|
|
1046
|
-
access: "free_and_pro",
|
|
1047
|
-
pro_required: false
|
|
1017
|
+
path: "/api/v1/macro/economic-indicators"
|
|
1048
1018
|
},
|
|
1049
1019
|
{
|
|
1050
1020
|
skill: "arrays-data-api-macro-and-economics",
|
|
1051
1021
|
file: "macro-forex-historical",
|
|
1052
1022
|
method: "GET",
|
|
1053
|
-
path: "/api/v1/macro/forex/historical"
|
|
1054
|
-
tier: "public",
|
|
1055
|
-
required_subscription_tier: "free",
|
|
1056
|
-
access: "free_and_pro",
|
|
1057
|
-
pro_required: false
|
|
1023
|
+
path: "/api/v1/macro/forex/historical"
|
|
1058
1024
|
},
|
|
1059
1025
|
{
|
|
1060
1026
|
skill: "arrays-data-api-macro-and-economics",
|
|
1061
1027
|
file: "macro-forex-real-time",
|
|
1062
1028
|
method: "GET",
|
|
1063
|
-
path: "/api/v1/macro/forex/real-time"
|
|
1064
|
-
tier: "public",
|
|
1065
|
-
required_subscription_tier: "free",
|
|
1066
|
-
access: "free_and_pro",
|
|
1067
|
-
pro_required: false
|
|
1029
|
+
path: "/api/v1/macro/forex/real-time"
|
|
1068
1030
|
},
|
|
1069
1031
|
{
|
|
1070
1032
|
skill: "arrays-data-api-macro-and-economics",
|
|
1071
1033
|
file: "macro-forex-symbol-list",
|
|
1072
1034
|
method: "GET",
|
|
1073
|
-
path: "/api/v1/macro/forex/symbols"
|
|
1074
|
-
tier: "public",
|
|
1075
|
-
required_subscription_tier: "free",
|
|
1076
|
-
access: "free_and_pro",
|
|
1077
|
-
pro_required: false
|
|
1035
|
+
path: "/api/v1/macro/forex/symbols"
|
|
1078
1036
|
},
|
|
1079
1037
|
{
|
|
1080
1038
|
skill: "arrays-data-api-macro-and-economics",
|
|
1081
1039
|
file: "macro-index-historical",
|
|
1082
1040
|
method: "GET",
|
|
1083
|
-
path: "/api/v1/macro/index/historical"
|
|
1084
|
-
tier: "public",
|
|
1085
|
-
required_subscription_tier: "free",
|
|
1086
|
-
access: "free_and_pro",
|
|
1087
|
-
pro_required: false
|
|
1041
|
+
path: "/api/v1/macro/index/historical"
|
|
1088
1042
|
},
|
|
1089
1043
|
{
|
|
1090
1044
|
skill: "arrays-data-api-macro-and-economics",
|
|
1091
1045
|
file: "macro-index-real-time",
|
|
1092
1046
|
method: "GET",
|
|
1093
|
-
path: "/api/v1/macro/index/real-time"
|
|
1094
|
-
tier: "public",
|
|
1095
|
-
required_subscription_tier: "free",
|
|
1096
|
-
access: "free_and_pro",
|
|
1097
|
-
pro_required: false
|
|
1047
|
+
path: "/api/v1/macro/index/real-time"
|
|
1098
1048
|
},
|
|
1099
1049
|
{
|
|
1100
1050
|
skill: "arrays-data-api-macro-and-economics",
|
|
1101
1051
|
file: "rates",
|
|
1102
1052
|
method: "GET",
|
|
1103
|
-
path: "/api/v1/macro/treasury-rates"
|
|
1104
|
-
tier: "public",
|
|
1105
|
-
required_subscription_tier: "free",
|
|
1106
|
-
access: "free_and_pro",
|
|
1107
|
-
pro_required: false
|
|
1053
|
+
path: "/api/v1/macro/treasury-rates"
|
|
1108
1054
|
},
|
|
1109
1055
|
{
|
|
1110
1056
|
skill: "arrays-data-api-equity-fundamentals",
|
|
1111
1057
|
file: "company-balance-sheets",
|
|
1112
1058
|
method: "GET",
|
|
1113
|
-
path: "/api/v1/stocks/company/balance-sheets"
|
|
1114
|
-
tier: "public",
|
|
1115
|
-
required_subscription_tier: "free",
|
|
1116
|
-
access: "free_and_pro",
|
|
1117
|
-
pro_required: false
|
|
1059
|
+
path: "/api/v1/stocks/company/balance-sheets"
|
|
1118
1060
|
},
|
|
1119
1061
|
{
|
|
1120
1062
|
skill: "arrays-data-api-equity-fundamentals",
|
|
1121
1063
|
file: "company-cashflow-statements",
|
|
1122
1064
|
method: "GET",
|
|
1123
|
-
path: "/api/v1/stocks/company/cashflow-statements"
|
|
1124
|
-
tier: "public",
|
|
1125
|
-
required_subscription_tier: "free",
|
|
1126
|
-
access: "free_and_pro",
|
|
1127
|
-
pro_required: false
|
|
1065
|
+
path: "/api/v1/stocks/company/cashflow-statements"
|
|
1128
1066
|
},
|
|
1129
1067
|
{
|
|
1130
1068
|
skill: "arrays-data-api-equity-fundamentals",
|
|
1131
1069
|
file: "company-detail",
|
|
1132
1070
|
method: "GET",
|
|
1133
|
-
path: "/api/v1/stocks/company/detail"
|
|
1134
|
-
tier: "public",
|
|
1135
|
-
required_subscription_tier: "free",
|
|
1136
|
-
access: "free_and_pro",
|
|
1137
|
-
pro_required: false
|
|
1071
|
+
path: "/api/v1/stocks/company/detail"
|
|
1138
1072
|
},
|
|
1139
1073
|
{
|
|
1140
1074
|
skill: "arrays-data-api-equity-fundamentals",
|
|
1141
1075
|
file: "company-income-statements",
|
|
1142
1076
|
method: "GET",
|
|
1143
|
-
path: "/api/v1/stocks/company/income-statements"
|
|
1144
|
-
tier: "public",
|
|
1145
|
-
required_subscription_tier: "free",
|
|
1146
|
-
access: "free_and_pro",
|
|
1147
|
-
pro_required: false
|
|
1077
|
+
path: "/api/v1/stocks/company/income-statements"
|
|
1148
1078
|
},
|
|
1149
1079
|
{
|
|
1150
1080
|
skill: "arrays-data-api-equity-fundamentals",
|
|
1151
1081
|
file: "company-kpi",
|
|
1152
1082
|
method: "GET",
|
|
1153
|
-
path: "/api/v1/stocks/company/kpi"
|
|
1154
|
-
tier: "public",
|
|
1155
|
-
required_subscription_tier: "free",
|
|
1156
|
-
access: "free_and_pro",
|
|
1157
|
-
pro_required: false
|
|
1083
|
+
path: "/api/v1/stocks/company/kpi"
|
|
1158
1084
|
},
|
|
1159
1085
|
{
|
|
1160
1086
|
skill: "arrays-data-api-equity-events",
|
|
1161
1087
|
file: "crowdfunding-offerings",
|
|
1162
1088
|
method: "GET",
|
|
1163
|
-
path: "/api/v1/stocks/crowdfunding/offerings"
|
|
1164
|
-
tier: "public",
|
|
1165
|
-
required_subscription_tier: "free",
|
|
1166
|
-
access: "free_and_pro",
|
|
1167
|
-
pro_required: false
|
|
1089
|
+
path: "/api/v1/stocks/crowdfunding/offerings"
|
|
1168
1090
|
},
|
|
1169
1091
|
{
|
|
1170
1092
|
skill: "arrays-data-api-equity-events",
|
|
1171
1093
|
file: "dividends",
|
|
1172
1094
|
method: "GET",
|
|
1173
|
-
path: "/api/v1/stocks/dividends"
|
|
1174
|
-
tier: "public",
|
|
1175
|
-
required_subscription_tier: "free",
|
|
1176
|
-
access: "free_and_pro",
|
|
1177
|
-
pro_required: false
|
|
1095
|
+
path: "/api/v1/stocks/dividends"
|
|
1178
1096
|
},
|
|
1179
1097
|
{
|
|
1180
1098
|
skill: "arrays-data-api-equity-events",
|
|
1181
1099
|
file: "earnings-calendar",
|
|
1182
1100
|
method: "GET",
|
|
1183
|
-
path: "/api/v1/stocks/earnings-calendar"
|
|
1184
|
-
tier: "public",
|
|
1185
|
-
required_subscription_tier: "free",
|
|
1186
|
-
access: "free_and_pro",
|
|
1187
|
-
pro_required: false
|
|
1101
|
+
path: "/api/v1/stocks/earnings-calendar"
|
|
1188
1102
|
},
|
|
1189
1103
|
{
|
|
1190
1104
|
skill: "arrays-data-api-equity-events",
|
|
1191
1105
|
file: "equity-offering",
|
|
1192
1106
|
method: "GET",
|
|
1193
|
-
path: "/api/v1/stocks/equity-offering"
|
|
1194
|
-
tier: "public",
|
|
1195
|
-
required_subscription_tier: "free",
|
|
1196
|
-
access: "free_and_pro",
|
|
1197
|
-
pro_required: false
|
|
1107
|
+
path: "/api/v1/stocks/equity-offering"
|
|
1198
1108
|
},
|
|
1199
1109
|
{
|
|
1200
1110
|
skill: "arrays-data-api-stock-metrics",
|
|
1201
1111
|
file: "financial-metrics",
|
|
1202
1112
|
method: "GET",
|
|
1203
|
-
path: "/api/v1/stocks/financial-metrics"
|
|
1204
|
-
tier: "public",
|
|
1205
|
-
required_subscription_tier: "free",
|
|
1206
|
-
access: "free_and_pro",
|
|
1207
|
-
pro_required: false
|
|
1113
|
+
path: "/api/v1/stocks/financial-metrics"
|
|
1208
1114
|
},
|
|
1209
1115
|
{
|
|
1210
1116
|
skill: "arrays-data-api-equity-fundamentals",
|
|
1211
1117
|
file: "fiscal-dates",
|
|
1212
1118
|
method: "GET",
|
|
1213
|
-
path: "/api/v1/stocks/fiscal-dates"
|
|
1214
|
-
tier: "public",
|
|
1215
|
-
required_subscription_tier: "free",
|
|
1216
|
-
access: "free_and_pro",
|
|
1217
|
-
pro_required: false
|
|
1119
|
+
path: "/api/v1/stocks/fiscal-dates"
|
|
1218
1120
|
},
|
|
1219
1121
|
{
|
|
1220
1122
|
skill: "arrays-data-api-equity-fundamentals",
|
|
1221
1123
|
file: "fiscal-dates-range",
|
|
1222
1124
|
method: "GET",
|
|
1223
|
-
path: "/api/v1/stocks/fiscal-dates/range"
|
|
1224
|
-
tier: "public",
|
|
1225
|
-
required_subscription_tier: "free",
|
|
1226
|
-
access: "free_and_pro",
|
|
1227
|
-
pro_required: false
|
|
1125
|
+
path: "/api/v1/stocks/fiscal-dates/range"
|
|
1228
1126
|
},
|
|
1229
1127
|
{
|
|
1230
1128
|
skill: "arrays-data-api-equity-events",
|
|
1231
1129
|
file: "ipo-calendar",
|
|
1232
1130
|
method: "GET",
|
|
1233
|
-
path: "/api/v1/stocks/ipo-calendar"
|
|
1234
|
-
tier: "public",
|
|
1235
|
-
required_subscription_tier: "free",
|
|
1236
|
-
access: "free_and_pro",
|
|
1237
|
-
pro_required: false
|
|
1131
|
+
path: "/api/v1/stocks/ipo-calendar"
|
|
1238
1132
|
},
|
|
1239
1133
|
{
|
|
1240
1134
|
skill: "arrays-data-api-equity-events",
|
|
1241
1135
|
file: "ipo-confirmed-calendar",
|
|
1242
1136
|
method: "GET",
|
|
1243
|
-
path: "/api/v1/stocks/ipo-confirmed-calendar"
|
|
1244
|
-
tier: "public",
|
|
1245
|
-
required_subscription_tier: "free",
|
|
1246
|
-
access: "free_and_pro",
|
|
1247
|
-
pro_required: false
|
|
1137
|
+
path: "/api/v1/stocks/ipo-confirmed-calendar"
|
|
1248
1138
|
},
|
|
1249
1139
|
{
|
|
1250
1140
|
skill: "arrays-data-api-spot-market-price-and-volume",
|
|
1251
1141
|
file: "stocks-kline",
|
|
1252
1142
|
method: "GET",
|
|
1253
|
-
path: "/api/v1/stocks/kline"
|
|
1254
|
-
tier: "public",
|
|
1255
|
-
required_subscription_tier: "free",
|
|
1256
|
-
access: "free_and_pro",
|
|
1257
|
-
pro_required: false
|
|
1143
|
+
path: "/api/v1/stocks/kline"
|
|
1258
1144
|
},
|
|
1259
1145
|
{
|
|
1260
1146
|
skill: "arrays-data-api-stock-metrics",
|
|
1261
1147
|
file: "market-metrics",
|
|
1262
1148
|
method: "GET",
|
|
1263
|
-
path: "/api/v1/stocks/market-metrics"
|
|
1264
|
-
tier: "public",
|
|
1265
|
-
required_subscription_tier: "free",
|
|
1266
|
-
access: "free_and_pro",
|
|
1267
|
-
pro_required: false
|
|
1149
|
+
path: "/api/v1/stocks/market-metrics"
|
|
1268
1150
|
},
|
|
1269
1151
|
{
|
|
1270
1152
|
skill: "arrays-data-api-equity-events",
|
|
1271
1153
|
file: "mergers-acquisitions",
|
|
1272
1154
|
method: "GET",
|
|
1273
|
-
path: "/api/v1/stocks/mergers-acquisitions"
|
|
1274
|
-
tier: "public",
|
|
1275
|
-
required_subscription_tier: "free",
|
|
1276
|
-
access: "free_and_pro",
|
|
1277
|
-
pro_required: false
|
|
1155
|
+
path: "/api/v1/stocks/mergers-acquisitions"
|
|
1278
1156
|
},
|
|
1279
1157
|
{
|
|
1280
1158
|
skill: "arrays-data-api-equity-fundamentals",
|
|
1281
1159
|
file: "outstanding-shares",
|
|
1282
1160
|
method: "GET",
|
|
1283
|
-
path: "/api/v1/stocks/outstanding-shares"
|
|
1284
|
-
tier: "public",
|
|
1285
|
-
required_subscription_tier: "free",
|
|
1286
|
-
access: "free_and_pro",
|
|
1287
|
-
pro_required: false
|
|
1161
|
+
path: "/api/v1/stocks/outstanding-shares"
|
|
1288
1162
|
},
|
|
1289
1163
|
{
|
|
1290
1164
|
skill: "arrays-data-api-stock-metrics",
|
|
1291
1165
|
file: "ratings",
|
|
1292
1166
|
method: "GET",
|
|
1293
|
-
path: "/api/v1/stocks/ratings"
|
|
1294
|
-
tier: "public",
|
|
1295
|
-
required_subscription_tier: "free",
|
|
1296
|
-
access: "free_and_pro",
|
|
1297
|
-
pro_required: false
|
|
1167
|
+
path: "/api/v1/stocks/ratings"
|
|
1298
1168
|
},
|
|
1299
1169
|
{
|
|
1300
1170
|
skill: "arrays-data-api-stock-screener",
|
|
1301
1171
|
file: "basic-info-screener",
|
|
1302
1172
|
method: "GET",
|
|
1303
|
-
path: "/api/v1/stocks/screener/basic-info/{sub}"
|
|
1304
|
-
tier: "public",
|
|
1305
|
-
required_subscription_tier: "free",
|
|
1306
|
-
access: "free_and_pro",
|
|
1307
|
-
pro_required: false
|
|
1173
|
+
path: "/api/v1/stocks/screener/basic-info/{sub}"
|
|
1308
1174
|
},
|
|
1309
1175
|
{
|
|
1310
1176
|
skill: "arrays-data-api-stock-screener",
|
|
1311
1177
|
file: "event-screener",
|
|
1312
1178
|
method: "GET",
|
|
1313
|
-
path: "/api/v1/stocks/screener/events"
|
|
1314
|
-
tier: "public",
|
|
1315
|
-
required_subscription_tier: "free",
|
|
1316
|
-
access: "free_and_pro",
|
|
1317
|
-
pro_required: false
|
|
1179
|
+
path: "/api/v1/stocks/screener/events"
|
|
1318
1180
|
},
|
|
1319
1181
|
{
|
|
1320
1182
|
skill: "arrays-data-api-stock-screener",
|
|
1321
1183
|
file: "screener-financial-metrics",
|
|
1322
1184
|
method: "GET",
|
|
1323
|
-
path: "/api/v1/stocks/screener/financial-metrics"
|
|
1324
|
-
tier: "public",
|
|
1325
|
-
required_subscription_tier: "free",
|
|
1326
|
-
access: "free_and_pro",
|
|
1327
|
-
pro_required: false
|
|
1185
|
+
path: "/api/v1/stocks/screener/financial-metrics"
|
|
1328
1186
|
},
|
|
1329
1187
|
{
|
|
1330
1188
|
skill: "arrays-data-api-stock-screener",
|
|
1331
1189
|
file: "screener-financial-metrics-timerange",
|
|
1332
1190
|
method: "GET",
|
|
1333
|
-
path: "/api/v1/stocks/screener/financial-metrics/timerange"
|
|
1334
|
-
tier: "public",
|
|
1335
|
-
required_subscription_tier: "free",
|
|
1336
|
-
access: "free_and_pro",
|
|
1337
|
-
pro_required: false
|
|
1191
|
+
path: "/api/v1/stocks/screener/financial-metrics/timerange"
|
|
1338
1192
|
},
|
|
1339
1193
|
{
|
|
1340
1194
|
skill: "arrays-data-api-stock-screener",
|
|
1341
1195
|
file: "screener-technical-metrics",
|
|
1342
1196
|
method: "GET",
|
|
1343
|
-
path: "/api/v1/stocks/screener/technical-metrics"
|
|
1344
|
-
tier: "public",
|
|
1345
|
-
required_subscription_tier: "free",
|
|
1346
|
-
access: "free_and_pro",
|
|
1347
|
-
pro_required: false
|
|
1197
|
+
path: "/api/v1/stocks/screener/technical-metrics"
|
|
1348
1198
|
},
|
|
1349
1199
|
{
|
|
1350
1200
|
skill: "arrays-data-api-stock-screener",
|
|
1351
1201
|
file: "screener-technical-metrics-timerange",
|
|
1352
1202
|
method: "GET",
|
|
1353
|
-
path: "/api/v1/stocks/screener/technical-metrics/timerange"
|
|
1354
|
-
tier: "public",
|
|
1355
|
-
required_subscription_tier: "free",
|
|
1356
|
-
access: "free_and_pro",
|
|
1357
|
-
pro_required: false
|
|
1203
|
+
path: "/api/v1/stocks/screener/technical-metrics/timerange"
|
|
1358
1204
|
},
|
|
1359
1205
|
{
|
|
1360
1206
|
skill: "arrays-data-api-equity-events",
|
|
1361
1207
|
file: "sec-earnings-release",
|
|
1362
1208
|
method: "GET",
|
|
1363
|
-
path: "/api/v1/stocks/sec-earnings-release"
|
|
1364
|
-
tier: "public",
|
|
1365
|
-
required_subscription_tier: "free",
|
|
1366
|
-
access: "free_and_pro",
|
|
1367
|
-
pro_required: false
|
|
1209
|
+
path: "/api/v1/stocks/sec-earnings-release"
|
|
1368
1210
|
},
|
|
1369
1211
|
{
|
|
1370
1212
|
skill: "arrays-data-api-equity-fundamentals",
|
|
1371
1213
|
file: "shares-float",
|
|
1372
1214
|
method: "GET",
|
|
1373
|
-
path: "/api/v1/stocks/shares-float"
|
|
1374
|
-
tier: "public",
|
|
1375
|
-
required_subscription_tier: "free",
|
|
1376
|
-
access: "free_and_pro",
|
|
1377
|
-
pro_required: false
|
|
1215
|
+
path: "/api/v1/stocks/shares-float"
|
|
1378
1216
|
},
|
|
1379
1217
|
{
|
|
1380
1218
|
skill: "arrays-data-api-equity-events",
|
|
1381
1219
|
file: "splits",
|
|
1382
1220
|
method: "GET",
|
|
1383
|
-
path: "/api/v1/stocks/splits"
|
|
1384
|
-
tier: "public",
|
|
1385
|
-
required_subscription_tier: "free",
|
|
1386
|
-
access: "free_and_pro",
|
|
1387
|
-
pro_required: false
|
|
1221
|
+
path: "/api/v1/stocks/splits"
|
|
1388
1222
|
},
|
|
1389
1223
|
{
|
|
1390
1224
|
skill: "arrays-data-api-crypto-exchange-flow",
|
|
1391
1225
|
file: "exchange-flows",
|
|
1392
1226
|
method: "GET",
|
|
1393
|
-
path: "/api/v1/crypto/exchange-flows"
|
|
1394
|
-
tier: "alternative",
|
|
1395
|
-
required_subscription_tier: "pro",
|
|
1396
|
-
access: "pro_only",
|
|
1397
|
-
pro_required: true
|
|
1227
|
+
path: "/api/v1/crypto/exchange-flows"
|
|
1398
1228
|
},
|
|
1399
1229
|
{
|
|
1400
1230
|
skill: "arrays-data-api-company-crypto-holdings",
|
|
1401
1231
|
file: "crypto-holdings",
|
|
1402
1232
|
method: "GET",
|
|
1403
|
-
path: "/api/v1/crypto/holdings"
|
|
1404
|
-
tier: "alternative",
|
|
1405
|
-
required_subscription_tier: "pro",
|
|
1406
|
-
access: "pro_only",
|
|
1407
|
-
pro_required: true
|
|
1233
|
+
path: "/api/v1/crypto/holdings"
|
|
1408
1234
|
},
|
|
1409
1235
|
{
|
|
1410
1236
|
skill: "arrays-data-api-crypto-metrics-and-screener",
|
|
1411
1237
|
file: "metrics-inflow-cdd",
|
|
1412
1238
|
method: "GET",
|
|
1413
|
-
path: "/api/v1/crypto/metrics/inflow-cdd"
|
|
1414
|
-
tier: "alternative",
|
|
1415
|
-
required_subscription_tier: "pro",
|
|
1416
|
-
access: "pro_only",
|
|
1417
|
-
pro_required: true
|
|
1239
|
+
path: "/api/v1/crypto/metrics/inflow-cdd"
|
|
1418
1240
|
},
|
|
1419
1241
|
{
|
|
1420
1242
|
skill: "arrays-data-api-crypto-metrics-and-screener",
|
|
1421
1243
|
file: "metrics-leverage-ratio",
|
|
1422
1244
|
method: "GET",
|
|
1423
|
-
path: "/api/v1/crypto/metrics/leverage-ratio"
|
|
1424
|
-
tier: "alternative",
|
|
1425
|
-
required_subscription_tier: "pro",
|
|
1426
|
-
access: "pro_only",
|
|
1427
|
-
pro_required: true
|
|
1245
|
+
path: "/api/v1/crypto/metrics/leverage-ratio"
|
|
1428
1246
|
},
|
|
1429
1247
|
{
|
|
1430
1248
|
skill: "arrays-data-api-crypto-metrics-and-screener",
|
|
1431
1249
|
file: "metrics-miner-to-exchange",
|
|
1432
1250
|
method: "GET",
|
|
1433
|
-
path: "/api/v1/crypto/metrics/miner-to-exchange"
|
|
1434
|
-
tier: "alternative",
|
|
1435
|
-
required_subscription_tier: "pro",
|
|
1436
|
-
access: "pro_only",
|
|
1437
|
-
pro_required: true
|
|
1251
|
+
path: "/api/v1/crypto/metrics/miner-to-exchange"
|
|
1438
1252
|
},
|
|
1439
1253
|
{
|
|
1440
1254
|
skill: "arrays-data-api-crypto-metrics-and-screener",
|
|
1441
1255
|
file: "metrics-mvrv",
|
|
1442
1256
|
method: "GET",
|
|
1443
|
-
path: "/api/v1/crypto/metrics/mvrv"
|
|
1444
|
-
tier: "alternative",
|
|
1445
|
-
required_subscription_tier: "pro",
|
|
1446
|
-
access: "pro_only",
|
|
1447
|
-
pro_required: true
|
|
1257
|
+
path: "/api/v1/crypto/metrics/mvrv"
|
|
1448
1258
|
},
|
|
1449
1259
|
{
|
|
1450
1260
|
skill: "arrays-data-api-crypto-metrics-and-screener",
|
|
1451
1261
|
file: "metrics-nupl",
|
|
1452
1262
|
method: "GET",
|
|
1453
|
-
path: "/api/v1/crypto/metrics/nupl"
|
|
1454
|
-
tier: "alternative",
|
|
1455
|
-
required_subscription_tier: "pro",
|
|
1456
|
-
access: "pro_only",
|
|
1457
|
-
pro_required: true
|
|
1263
|
+
path: "/api/v1/crypto/metrics/nupl"
|
|
1458
1264
|
},
|
|
1459
1265
|
{
|
|
1460
1266
|
skill: "arrays-data-api-crypto-metrics-and-screener",
|
|
1461
1267
|
file: "metrics-puell-multiple",
|
|
1462
1268
|
method: "GET",
|
|
1463
|
-
path: "/api/v1/crypto/metrics/puell-multiple"
|
|
1464
|
-
tier: "alternative",
|
|
1465
|
-
required_subscription_tier: "pro",
|
|
1466
|
-
access: "pro_only",
|
|
1467
|
-
pro_required: true
|
|
1269
|
+
path: "/api/v1/crypto/metrics/puell-multiple"
|
|
1468
1270
|
},
|
|
1469
1271
|
{
|
|
1470
1272
|
skill: "arrays-data-api-crypto-metrics-and-screener",
|
|
1471
1273
|
file: "metrics-realized-price",
|
|
1472
1274
|
method: "GET",
|
|
1473
|
-
path: "/api/v1/crypto/metrics/realized-price"
|
|
1474
|
-
tier: "alternative",
|
|
1475
|
-
required_subscription_tier: "pro",
|
|
1476
|
-
access: "pro_only",
|
|
1477
|
-
pro_required: true
|
|
1275
|
+
path: "/api/v1/crypto/metrics/realized-price"
|
|
1478
1276
|
},
|
|
1479
1277
|
{
|
|
1480
1278
|
skill: "arrays-data-api-crypto-metrics-and-screener",
|
|
1481
1279
|
file: "metrics-sopr",
|
|
1482
1280
|
method: "GET",
|
|
1483
|
-
path: "/api/v1/crypto/metrics/sopr"
|
|
1484
|
-
tier: "alternative",
|
|
1485
|
-
required_subscription_tier: "pro",
|
|
1486
|
-
access: "pro_only",
|
|
1487
|
-
pro_required: true
|
|
1281
|
+
path: "/api/v1/crypto/metrics/sopr"
|
|
1488
1282
|
},
|
|
1489
1283
|
{
|
|
1490
1284
|
skill: "arrays-data-api-crypto-metrics-and-screener",
|
|
1491
1285
|
file: "metrics-ssr",
|
|
1492
1286
|
method: "GET",
|
|
1493
|
-
path: "/api/v1/crypto/metrics/ssr"
|
|
1494
|
-
tier: "alternative",
|
|
1495
|
-
required_subscription_tier: "pro",
|
|
1496
|
-
access: "pro_only",
|
|
1497
|
-
pro_required: true
|
|
1287
|
+
path: "/api/v1/crypto/metrics/ssr"
|
|
1498
1288
|
},
|
|
1499
1289
|
{
|
|
1500
1290
|
skill: "arrays-data-api-crypto-metrics-and-screener",
|
|
1501
1291
|
file: "metrics-whale-ratio",
|
|
1502
1292
|
method: "GET",
|
|
1503
|
-
path: "/api/v1/crypto/metrics/whale-ratio"
|
|
1504
|
-
tier: "alternative",
|
|
1505
|
-
required_subscription_tier: "pro",
|
|
1506
|
-
access: "pro_only",
|
|
1507
|
-
pro_required: true
|
|
1293
|
+
path: "/api/v1/crypto/metrics/whale-ratio"
|
|
1508
1294
|
},
|
|
1509
1295
|
{
|
|
1510
1296
|
skill: "arrays-data-api-crypto-metrics-and-screener",
|
|
1511
1297
|
file: "crypto-supply",
|
|
1512
1298
|
method: "GET",
|
|
1513
|
-
path: "/api/v1/crypto/supply"
|
|
1514
|
-
tier: "alternative",
|
|
1515
|
-
required_subscription_tier: "pro",
|
|
1516
|
-
access: "pro_only",
|
|
1517
|
-
pro_required: true
|
|
1299
|
+
path: "/api/v1/crypto/supply"
|
|
1518
1300
|
},
|
|
1519
1301
|
{
|
|
1520
1302
|
skill: "arrays-data-api-crypto-futures-data",
|
|
1521
1303
|
file: "taker-buy-sell-volume",
|
|
1522
1304
|
method: "GET",
|
|
1523
|
-
path: "/api/v1/crypto/taker-buy-sell-volume"
|
|
1524
|
-
tier: "alternative",
|
|
1525
|
-
required_subscription_tier: "pro",
|
|
1526
|
-
access: "pro_only",
|
|
1527
|
-
pro_required: true
|
|
1305
|
+
path: "/api/v1/crypto/taker-buy-sell-volume"
|
|
1528
1306
|
},
|
|
1529
1307
|
{
|
|
1530
1308
|
skill: "arrays-data-api-crypto-metrics-and-screener",
|
|
1531
1309
|
file: "unlock-events",
|
|
1532
1310
|
method: "GET",
|
|
1533
|
-
path: "/api/v1/crypto/unlock-events"
|
|
1534
|
-
tier: "alternative",
|
|
1535
|
-
required_subscription_tier: "pro",
|
|
1536
|
-
access: "pro_only",
|
|
1537
|
-
pro_required: true
|
|
1311
|
+
path: "/api/v1/crypto/unlock-events"
|
|
1538
1312
|
},
|
|
1539
1313
|
{
|
|
1540
1314
|
skill: "arrays-data-api-etf-fundamentals",
|
|
1541
1315
|
file: "flow",
|
|
1542
1316
|
method: "GET",
|
|
1543
|
-
path: "/api/v1/etf/flow"
|
|
1544
|
-
tier: "alternative",
|
|
1545
|
-
required_subscription_tier: "pro",
|
|
1546
|
-
access: "pro_only",
|
|
1547
|
-
pro_required: true
|
|
1317
|
+
path: "/api/v1/etf/flow"
|
|
1548
1318
|
},
|
|
1549
1319
|
{
|
|
1550
1320
|
skill: "arrays-data-api-options",
|
|
1551
1321
|
file: "contracts",
|
|
1552
1322
|
method: "GET",
|
|
1553
|
-
path: "/api/v1/options/contracts"
|
|
1554
|
-
tier: "public",
|
|
1555
|
-
required_subscription_tier: "free",
|
|
1556
|
-
access: "free_and_pro",
|
|
1557
|
-
pro_required: false
|
|
1323
|
+
path: "/api/v1/options/contracts"
|
|
1558
1324
|
},
|
|
1559
1325
|
{
|
|
1560
1326
|
skill: "arrays-data-api-options",
|
|
1561
1327
|
file: "kline",
|
|
1562
1328
|
method: "GET",
|
|
1563
|
-
path: "/api/v1/options/kline"
|
|
1564
|
-
tier: "public",
|
|
1565
|
-
required_subscription_tier: "free",
|
|
1566
|
-
access: "free_and_pro",
|
|
1567
|
-
pro_required: false
|
|
1329
|
+
path: "/api/v1/options/kline"
|
|
1568
1330
|
},
|
|
1569
1331
|
{
|
|
1570
1332
|
skill: "arrays-data-api-options",
|
|
1571
1333
|
file: "greeks",
|
|
1572
1334
|
method: "GET",
|
|
1573
|
-
path: "/api/v1/options/greeks"
|
|
1574
|
-
tier: "public",
|
|
1575
|
-
required_subscription_tier: "free",
|
|
1576
|
-
access: "free_and_pro",
|
|
1577
|
-
pro_required: false
|
|
1335
|
+
path: "/api/v1/options/greeks"
|
|
1578
1336
|
},
|
|
1579
1337
|
{
|
|
1580
1338
|
skill: "arrays-data-api-options",
|
|
1581
1339
|
file: "chain",
|
|
1582
1340
|
method: "GET",
|
|
1583
|
-
path: "/api/v1/options/chain"
|
|
1584
|
-
tier: "public",
|
|
1585
|
-
required_subscription_tier: "free",
|
|
1586
|
-
access: "free_and_pro",
|
|
1587
|
-
pro_required: false
|
|
1341
|
+
path: "/api/v1/options/chain"
|
|
1588
1342
|
},
|
|
1589
1343
|
{
|
|
1590
1344
|
skill: "arrays-data-api-equity-fundamentals",
|
|
1591
1345
|
file: "company-executives",
|
|
1592
1346
|
method: "GET",
|
|
1593
|
-
path: "/api/v1/stocks/company/executives"
|
|
1594
|
-
tier: "alternative",
|
|
1595
|
-
required_subscription_tier: "pro",
|
|
1596
|
-
access: "pro_only",
|
|
1597
|
-
pro_required: true
|
|
1347
|
+
path: "/api/v1/stocks/company/executives"
|
|
1598
1348
|
},
|
|
1599
1349
|
{
|
|
1600
1350
|
skill: "arrays-data-api-equity-estimates-and-targets",
|
|
1601
1351
|
file: "company-price-target-consensus",
|
|
1602
1352
|
method: "GET",
|
|
1603
|
-
path: "/api/v1/stocks/company/price-target-consensus"
|
|
1604
|
-
tier: "alternative",
|
|
1605
|
-
required_subscription_tier: "pro",
|
|
1606
|
-
access: "pro_only",
|
|
1607
|
-
pro_required: true
|
|
1353
|
+
path: "/api/v1/stocks/company/price-target-consensus"
|
|
1608
1354
|
},
|
|
1609
1355
|
{
|
|
1610
1356
|
skill: "arrays-data-api-equity-estimates-and-targets",
|
|
1611
1357
|
file: "company-price-target-news",
|
|
1612
1358
|
method: "GET",
|
|
1613
|
-
path: "/api/v1/stocks/company/price-target-news"
|
|
1614
|
-
tier: "alternative",
|
|
1615
|
-
required_subscription_tier: "pro",
|
|
1616
|
-
access: "pro_only",
|
|
1617
|
-
pro_required: true
|
|
1359
|
+
path: "/api/v1/stocks/company/price-target-news"
|
|
1618
1360
|
},
|
|
1619
1361
|
{
|
|
1620
1362
|
skill: "arrays-data-api-equity-estimates-and-targets",
|
|
1621
1363
|
file: "company-price-target-summary",
|
|
1622
1364
|
method: "GET",
|
|
1623
|
-
path: "/api/v1/stocks/company/price-target-summary"
|
|
1624
|
-
tier: "alternative",
|
|
1625
|
-
required_subscription_tier: "pro",
|
|
1626
|
-
access: "pro_only",
|
|
1627
|
-
pro_required: true
|
|
1365
|
+
path: "/api/v1/stocks/company/price-target-summary"
|
|
1628
1366
|
},
|
|
1629
1367
|
{
|
|
1630
1368
|
skill: "arrays-data-api-equity-ownership-and-flow",
|
|
1631
1369
|
file: "congress-recent-trades",
|
|
1632
1370
|
method: "GET",
|
|
1633
|
-
path: "/api/v1/stocks/congress/recent-trades"
|
|
1634
|
-
tier: "alternative",
|
|
1635
|
-
required_subscription_tier: "pro",
|
|
1636
|
-
access: "pro_only",
|
|
1637
|
-
pro_required: true
|
|
1371
|
+
path: "/api/v1/stocks/congress/recent-trades"
|
|
1638
1372
|
},
|
|
1639
1373
|
{
|
|
1640
1374
|
skill: "arrays-data-api-stock-metrics",
|
|
1641
1375
|
file: "darkpool",
|
|
1642
1376
|
method: "GET",
|
|
1643
|
-
path: "/api/v1/stocks/darkpool"
|
|
1644
|
-
tier: "alternative",
|
|
1645
|
-
required_subscription_tier: "pro",
|
|
1646
|
-
access: "pro_only",
|
|
1647
|
-
pro_required: true
|
|
1377
|
+
path: "/api/v1/stocks/darkpool"
|
|
1648
1378
|
},
|
|
1649
1379
|
{
|
|
1650
1380
|
skill: "arrays-data-api-equity-estimates-and-targets",
|
|
1651
1381
|
file: "estimates-guidance",
|
|
1652
1382
|
method: "GET",
|
|
1653
|
-
path: "/api/v1/stocks/estimates-guidance"
|
|
1654
|
-
tier: "alternative",
|
|
1655
|
-
required_subscription_tier: "pro",
|
|
1656
|
-
access: "pro_only",
|
|
1657
|
-
pro_required: true
|
|
1383
|
+
path: "/api/v1/stocks/estimates-guidance"
|
|
1658
1384
|
},
|
|
1659
1385
|
{
|
|
1660
1386
|
skill: "arrays-data-api-equity-ownership-and-flow",
|
|
1661
1387
|
file: "insider-transactions",
|
|
1662
1388
|
method: "GET",
|
|
1663
|
-
path: "/api/v1/stocks/insider/transactions"
|
|
1664
|
-
tier: "alternative",
|
|
1665
|
-
required_subscription_tier: "pro",
|
|
1666
|
-
access: "pro_only",
|
|
1667
|
-
pro_required: true
|
|
1389
|
+
path: "/api/v1/stocks/insider/transactions"
|
|
1668
1390
|
},
|
|
1669
1391
|
{
|
|
1670
1392
|
skill: "arrays-data-api-equity-ownership-and-flow",
|
|
1671
1393
|
file: "institution-holder",
|
|
1672
1394
|
method: "GET",
|
|
1673
|
-
path: "/api/v1/stocks/institution-holder"
|
|
1674
|
-
tier: "alternative",
|
|
1675
|
-
required_subscription_tier: "pro",
|
|
1676
|
-
access: "pro_only",
|
|
1677
|
-
pro_required: true
|
|
1395
|
+
path: "/api/v1/stocks/institution-holder"
|
|
1678
1396
|
},
|
|
1679
1397
|
{
|
|
1680
1398
|
skill: "arrays-data-api-polymarket",
|
|
1681
1399
|
file: "activity",
|
|
1682
1400
|
method: "GET",
|
|
1683
|
-
path: "polymarket:/activity"
|
|
1684
|
-
tier: "alternative",
|
|
1685
|
-
required_subscription_tier: "pro",
|
|
1686
|
-
access: "pro_only",
|
|
1687
|
-
pro_required: true
|
|
1401
|
+
path: "polymarket:/activity"
|
|
1688
1402
|
},
|
|
1689
1403
|
{
|
|
1690
1404
|
skill: "arrays-data-api-polymarket",
|
|
1691
1405
|
file: "book",
|
|
1692
1406
|
method: "GET",
|
|
1693
|
-
path: "polymarket:/book"
|
|
1694
|
-
tier: "alternative",
|
|
1695
|
-
required_subscription_tier: "pro",
|
|
1696
|
-
access: "pro_only",
|
|
1697
|
-
pro_required: true
|
|
1407
|
+
path: "polymarket:/book"
|
|
1698
1408
|
},
|
|
1699
1409
|
{
|
|
1700
1410
|
skill: "arrays-data-api-polymarket",
|
|
1701
1411
|
file: "closed-positions",
|
|
1702
1412
|
method: "GET",
|
|
1703
|
-
path: "polymarket:/closed-positions"
|
|
1704
|
-
tier: "alternative",
|
|
1705
|
-
required_subscription_tier: "pro",
|
|
1706
|
-
access: "pro_only",
|
|
1707
|
-
pro_required: true
|
|
1413
|
+
path: "polymarket:/closed-positions"
|
|
1708
1414
|
},
|
|
1709
1415
|
{
|
|
1710
1416
|
skill: "arrays-data-api-polymarket",
|
|
1711
1417
|
file: "events",
|
|
1712
1418
|
method: "GET",
|
|
1713
|
-
path: "polymarket:/events"
|
|
1714
|
-
tier: "alternative",
|
|
1715
|
-
required_subscription_tier: "pro",
|
|
1716
|
-
access: "pro_only",
|
|
1717
|
-
pro_required: true
|
|
1419
|
+
path: "polymarket:/events"
|
|
1718
1420
|
},
|
|
1719
1421
|
{
|
|
1720
1422
|
skill: "arrays-data-api-polymarket",
|
|
1721
1423
|
file: "holders",
|
|
1722
1424
|
method: "GET",
|
|
1723
|
-
path: "polymarket:/holders"
|
|
1724
|
-
tier: "alternative",
|
|
1725
|
-
required_subscription_tier: "pro",
|
|
1726
|
-
access: "pro_only",
|
|
1727
|
-
pro_required: true
|
|
1425
|
+
path: "polymarket:/holders"
|
|
1728
1426
|
},
|
|
1729
1427
|
{
|
|
1730
1428
|
skill: "arrays-data-api-polymarket",
|
|
1731
1429
|
file: "markets",
|
|
1732
1430
|
method: "GET",
|
|
1733
|
-
path: "polymarket:/markets"
|
|
1734
|
-
tier: "alternative",
|
|
1735
|
-
required_subscription_tier: "pro",
|
|
1736
|
-
access: "pro_only",
|
|
1737
|
-
pro_required: true
|
|
1431
|
+
path: "polymarket:/markets"
|
|
1738
1432
|
},
|
|
1739
1433
|
{
|
|
1740
1434
|
skill: "arrays-data-api-polymarket",
|
|
1741
1435
|
file: "midpoint",
|
|
1742
1436
|
method: "GET",
|
|
1743
|
-
path: "polymarket:/midpoint"
|
|
1744
|
-
tier: "alternative",
|
|
1745
|
-
required_subscription_tier: "pro",
|
|
1746
|
-
access: "pro_only",
|
|
1747
|
-
pro_required: true
|
|
1437
|
+
path: "polymarket:/midpoint"
|
|
1748
1438
|
},
|
|
1749
1439
|
{
|
|
1750
1440
|
skill: "arrays-data-api-polymarket",
|
|
1751
1441
|
file: "oi",
|
|
1752
1442
|
method: "GET",
|
|
1753
|
-
path: "polymarket:/oi"
|
|
1754
|
-
tier: "alternative",
|
|
1755
|
-
required_subscription_tier: "pro",
|
|
1756
|
-
access: "pro_only",
|
|
1757
|
-
pro_required: true
|
|
1443
|
+
path: "polymarket:/oi"
|
|
1758
1444
|
},
|
|
1759
1445
|
{
|
|
1760
1446
|
skill: "arrays-data-api-polymarket",
|
|
1761
1447
|
file: "positions",
|
|
1762
1448
|
method: "GET",
|
|
1763
|
-
path: "polymarket:/positions"
|
|
1764
|
-
tier: "alternative",
|
|
1765
|
-
required_subscription_tier: "pro",
|
|
1766
|
-
access: "pro_only",
|
|
1767
|
-
pro_required: true
|
|
1449
|
+
path: "polymarket:/positions"
|
|
1768
1450
|
},
|
|
1769
1451
|
{
|
|
1770
1452
|
skill: "arrays-data-api-polymarket",
|
|
1771
1453
|
file: "price",
|
|
1772
1454
|
method: "GET",
|
|
1773
|
-
path: "polymarket:/price"
|
|
1774
|
-
tier: "alternative",
|
|
1775
|
-
required_subscription_tier: "pro",
|
|
1776
|
-
access: "pro_only",
|
|
1777
|
-
pro_required: true
|
|
1455
|
+
path: "polymarket:/price"
|
|
1778
1456
|
},
|
|
1779
1457
|
{
|
|
1780
1458
|
skill: "arrays-data-api-polymarket",
|
|
1781
1459
|
file: "prices-history",
|
|
1782
1460
|
method: "GET",
|
|
1783
|
-
path: "polymarket:/prices-history"
|
|
1784
|
-
tier: "alternative",
|
|
1785
|
-
required_subscription_tier: "pro",
|
|
1786
|
-
access: "pro_only",
|
|
1787
|
-
pro_required: true
|
|
1461
|
+
path: "polymarket:/prices-history"
|
|
1788
1462
|
},
|
|
1789
1463
|
{
|
|
1790
1464
|
skill: "arrays-data-api-polymarket",
|
|
1791
1465
|
file: "public-search",
|
|
1792
1466
|
method: "GET",
|
|
1793
|
-
path: "polymarket:/public-search"
|
|
1794
|
-
tier: "alternative",
|
|
1795
|
-
required_subscription_tier: "pro",
|
|
1796
|
-
access: "pro_only",
|
|
1797
|
-
pro_required: true
|
|
1467
|
+
path: "polymarket:/public-search"
|
|
1798
1468
|
},
|
|
1799
1469
|
{
|
|
1800
1470
|
skill: "arrays-data-api-polymarket",
|
|
1801
1471
|
file: "series",
|
|
1802
1472
|
method: "GET",
|
|
1803
|
-
path: "polymarket:/series"
|
|
1804
|
-
tier: "alternative",
|
|
1805
|
-
required_subscription_tier: "pro",
|
|
1806
|
-
access: "pro_only",
|
|
1807
|
-
pro_required: true
|
|
1473
|
+
path: "polymarket:/series"
|
|
1808
1474
|
},
|
|
1809
1475
|
{
|
|
1810
1476
|
skill: "arrays-data-api-polymarket",
|
|
1811
1477
|
file: "sports",
|
|
1812
1478
|
method: "GET",
|
|
1813
|
-
path: "polymarket:/sports"
|
|
1814
|
-
tier: "alternative",
|
|
1815
|
-
required_subscription_tier: "pro",
|
|
1816
|
-
access: "pro_only",
|
|
1817
|
-
pro_required: true
|
|
1479
|
+
path: "polymarket:/sports"
|
|
1818
1480
|
},
|
|
1819
1481
|
{
|
|
1820
1482
|
skill: "arrays-data-api-polymarket",
|
|
1821
1483
|
file: "spread",
|
|
1822
1484
|
method: "GET",
|
|
1823
|
-
path: "polymarket:/spread"
|
|
1824
|
-
tier: "alternative",
|
|
1825
|
-
required_subscription_tier: "pro",
|
|
1826
|
-
access: "pro_only",
|
|
1827
|
-
pro_required: true
|
|
1485
|
+
path: "polymarket:/spread"
|
|
1828
1486
|
},
|
|
1829
1487
|
{
|
|
1830
1488
|
skill: "arrays-data-api-polymarket",
|
|
1831
1489
|
file: "tags",
|
|
1832
1490
|
method: "GET",
|
|
1833
|
-
path: "polymarket:/tags"
|
|
1834
|
-
tier: "alternative",
|
|
1835
|
-
required_subscription_tier: "pro",
|
|
1836
|
-
access: "pro_only",
|
|
1837
|
-
pro_required: true
|
|
1491
|
+
path: "polymarket:/tags"
|
|
1838
1492
|
},
|
|
1839
1493
|
{
|
|
1840
1494
|
skill: "arrays-data-api-polymarket",
|
|
1841
1495
|
file: "trades",
|
|
1842
1496
|
method: "GET",
|
|
1843
|
-
path: "polymarket:/trades"
|
|
1844
|
-
tier: "alternative",
|
|
1845
|
-
required_subscription_tier: "pro",
|
|
1846
|
-
access: "pro_only",
|
|
1847
|
-
pro_required: true
|
|
1497
|
+
path: "polymarket:/trades"
|
|
1848
1498
|
},
|
|
1849
1499
|
{
|
|
1850
1500
|
skill: "arrays-data-api-polymarket",
|
|
1851
1501
|
file: "value",
|
|
1852
1502
|
method: "GET",
|
|
1853
|
-
path: "polymarket:/value"
|
|
1854
|
-
tier: "alternative",
|
|
1855
|
-
required_subscription_tier: "pro",
|
|
1856
|
-
access: "pro_only",
|
|
1857
|
-
pro_required: true
|
|
1503
|
+
path: "polymarket:/value"
|
|
1858
1504
|
},
|
|
1859
1505
|
{
|
|
1860
1506
|
skill: "arrays-data-api-equity-events",
|
|
1861
1507
|
file: "earnings-transcript",
|
|
1862
1508
|
method: "GET",
|
|
1863
|
-
path: "/api/v1/stocks/earnings-transcript"
|
|
1864
|
-
tier: "unstructured",
|
|
1865
|
-
required_subscription_tier: "pro",
|
|
1866
|
-
access: "pro_only",
|
|
1867
|
-
pro_required: true
|
|
1509
|
+
path: "/api/v1/stocks/earnings-transcript"
|
|
1868
1510
|
},
|
|
1869
1511
|
{
|
|
1870
1512
|
skill: "arrays-data-api-news",
|
|
1871
1513
|
file: "market-news",
|
|
1872
1514
|
method: "GET",
|
|
1873
|
-
path: "/api/v1/stocks/market-news"
|
|
1874
|
-
tier: "unstructured",
|
|
1875
|
-
required_subscription_tier: "pro",
|
|
1876
|
-
access: "pro_only",
|
|
1877
|
-
pro_required: true
|
|
1515
|
+
path: "/api/v1/stocks/market-news"
|
|
1878
1516
|
},
|
|
1879
1517
|
{
|
|
1880
|
-
// TODO(audit): verify tier — auto-defaulted to pro
|
|
1881
1518
|
skill: "arrays-data-api-social-feeds",
|
|
1882
1519
|
file: "x-by-handle",
|
|
1883
1520
|
method: "GET",
|
|
1884
|
-
path: "/api/v1/social-feeds/x/by-handle"
|
|
1885
|
-
tier: "alternative",
|
|
1886
|
-
required_subscription_tier: "pro",
|
|
1887
|
-
access: "pro_only",
|
|
1888
|
-
pro_required: true
|
|
1521
|
+
path: "/api/v1/social-feeds/x/by-handle"
|
|
1889
1522
|
},
|
|
1890
1523
|
{
|
|
1891
|
-
// TODO(audit): verify tier — auto-defaulted to pro
|
|
1892
1524
|
skill: "arrays-data-api-social-feeds",
|
|
1893
1525
|
file: "x-by-url",
|
|
1894
1526
|
method: "GET",
|
|
1895
|
-
path: "/api/v1/social-feeds/x/by-url"
|
|
1896
|
-
tier: "alternative",
|
|
1897
|
-
required_subscription_tier: "pro",
|
|
1898
|
-
access: "pro_only",
|
|
1899
|
-
pro_required: true
|
|
1527
|
+
path: "/api/v1/social-feeds/x/by-url"
|
|
1900
1528
|
},
|
|
1901
1529
|
{
|
|
1902
|
-
// TODO(audit): verify tier — auto-defaulted to pro
|
|
1903
1530
|
skill: "arrays-data-api-social-feeds",
|
|
1904
1531
|
file: "x-entities-handle",
|
|
1905
1532
|
method: "GET",
|
|
1906
|
-
path: "/api/v1/social-feeds/x/entities/handle/{twitter_handle}"
|
|
1907
|
-
tier: "alternative",
|
|
1908
|
-
required_subscription_tier: "pro",
|
|
1909
|
-
access: "pro_only",
|
|
1910
|
-
pro_required: true
|
|
1533
|
+
path: "/api/v1/social-feeds/x/entities/handle/{twitter_handle}"
|
|
1911
1534
|
},
|
|
1912
1535
|
{
|
|
1913
|
-
// TODO(audit): verify tier — auto-defaulted to pro
|
|
1914
1536
|
skill: "arrays-data-api-social-feeds",
|
|
1915
1537
|
file: "x-entities-handles",
|
|
1916
1538
|
method: "GET",
|
|
1917
|
-
path: "/api/v1/social-feeds/x/entities/handles"
|
|
1918
|
-
tier: "alternative",
|
|
1919
|
-
required_subscription_tier: "pro",
|
|
1920
|
-
access: "pro_only",
|
|
1921
|
-
pro_required: true
|
|
1539
|
+
path: "/api/v1/social-feeds/x/entities/handles"
|
|
1922
1540
|
},
|
|
1923
1541
|
{
|
|
1924
1542
|
skill: "arrays-data-api-equity-fundamentals",
|
|
1925
1543
|
file: "company-detail-non-us",
|
|
1926
1544
|
method: "GET",
|
|
1927
|
-
path: "/api/v1/stocks/non-us/company/detail"
|
|
1928
|
-
tier: "public",
|
|
1929
|
-
required_subscription_tier: "free",
|
|
1930
|
-
access: "free_and_pro",
|
|
1931
|
-
pro_required: false
|
|
1545
|
+
path: "/api/v1/stocks/non-us/company/detail"
|
|
1932
1546
|
},
|
|
1933
1547
|
{
|
|
1934
1548
|
skill: "arrays-data-api-social-feeds",
|
|
1935
1549
|
file: "x-search",
|
|
1936
1550
|
method: "GET",
|
|
1937
|
-
path: "/api/v1/social-feeds/x/search"
|
|
1938
|
-
tier: "alternative",
|
|
1939
|
-
required_subscription_tier: "pro",
|
|
1940
|
-
access: "pro_only",
|
|
1941
|
-
pro_required: true
|
|
1551
|
+
path: "/api/v1/social-feeds/x/search"
|
|
1942
1552
|
},
|
|
1943
1553
|
{
|
|
1944
1554
|
skill: "arrays-data-api-spot-market-price-and-volume",
|
|
1945
1555
|
file: "stocks-non-us-kline",
|
|
1946
1556
|
method: "GET",
|
|
1947
|
-
path: "/api/v1/stocks/non-us/kline"
|
|
1948
|
-
tier: "public",
|
|
1949
|
-
required_subscription_tier: "free",
|
|
1950
|
-
access: "free_and_pro",
|
|
1951
|
-
pro_required: false
|
|
1557
|
+
path: "/api/v1/stocks/non-us/kline"
|
|
1952
1558
|
},
|
|
1953
1559
|
{
|
|
1954
1560
|
skill: "arrays-data-api-semiconductor-price",
|
|
1955
1561
|
file: "dram-spot-price",
|
|
1956
1562
|
method: "GET",
|
|
1957
|
-
path: "/api/v1/other/semiconductor/dram-spot-price"
|
|
1958
|
-
tier: "alternative",
|
|
1959
|
-
required_subscription_tier: "pro",
|
|
1960
|
-
access: "pro_only",
|
|
1961
|
-
pro_required: true
|
|
1563
|
+
path: "/api/v1/other/semiconductor/dram-spot-price"
|
|
1962
1564
|
},
|
|
1963
1565
|
{
|
|
1964
1566
|
skill: "arrays-data-api-semiconductor-price",
|
|
1965
1567
|
file: "dram-contract-price",
|
|
1966
1568
|
method: "GET",
|
|
1967
|
-
path: "/api/v1/other/semiconductor/dram-contract-price"
|
|
1968
|
-
tier: "alternative",
|
|
1969
|
-
required_subscription_tier: "pro",
|
|
1970
|
-
access: "pro_only",
|
|
1971
|
-
pro_required: true
|
|
1569
|
+
path: "/api/v1/other/semiconductor/dram-contract-price"
|
|
1972
1570
|
},
|
|
1973
1571
|
{
|
|
1974
1572
|
skill: "arrays-data-api-semiconductor-price",
|
|
1975
1573
|
file: "nand-flash-spot-price",
|
|
1976
1574
|
method: "GET",
|
|
1977
|
-
path: "/api/v1/other/semiconductor/nand-flash-spot-price"
|
|
1978
|
-
tier: "alternative",
|
|
1979
|
-
required_subscription_tier: "pro",
|
|
1980
|
-
access: "pro_only",
|
|
1981
|
-
pro_required: true
|
|
1575
|
+
path: "/api/v1/other/semiconductor/nand-flash-spot-price"
|
|
1982
1576
|
},
|
|
1983
1577
|
{
|
|
1984
1578
|
skill: "arrays-data-api-semiconductor-price",
|
|
1985
1579
|
file: "nand-flash-contract-price",
|
|
1986
1580
|
method: "GET",
|
|
1987
|
-
path: "/api/v1/other/semiconductor/nand-flash-contract-price"
|
|
1988
|
-
tier: "alternative",
|
|
1989
|
-
required_subscription_tier: "pro",
|
|
1990
|
-
access: "pro_only",
|
|
1991
|
-
pro_required: true
|
|
1581
|
+
path: "/api/v1/other/semiconductor/nand-flash-contract-price"
|
|
1992
1582
|
},
|
|
1993
1583
|
{
|
|
1994
1584
|
skill: "arrays-data-api-semiconductor-price",
|
|
1995
1585
|
file: "memory-card-price",
|
|
1996
1586
|
method: "GET",
|
|
1997
|
-
path: "/api/v1/other/semiconductor/memory-card-price"
|
|
1998
|
-
tier: "alternative",
|
|
1999
|
-
required_subscription_tier: "pro",
|
|
2000
|
-
access: "pro_only",
|
|
2001
|
-
pro_required: true
|
|
1587
|
+
path: "/api/v1/other/semiconductor/memory-card-price"
|
|
2002
1588
|
},
|
|
2003
1589
|
{
|
|
2004
1590
|
skill: "arrays-data-api-semiconductor-price",
|
|
2005
1591
|
file: "dxi-index",
|
|
2006
1592
|
method: "GET",
|
|
2007
|
-
path: "/api/v1/other/semiconductor/dxi-index"
|
|
2008
|
-
|
|
2009
|
-
|
|
2010
|
-
|
|
2011
|
-
|
|
1593
|
+
path: "/api/v1/other/semiconductor/dxi-index"
|
|
1594
|
+
},
|
|
1595
|
+
{
|
|
1596
|
+
skill: "arrays-data-api-equity-ownership-and-flow",
|
|
1597
|
+
file: "short-interest",
|
|
1598
|
+
method: "GET",
|
|
1599
|
+
path: "/api/v1/stocks/short-interest"
|
|
1600
|
+
},
|
|
1601
|
+
{
|
|
1602
|
+
skill: "arrays-data-api-social-feeds",
|
|
1603
|
+
file: "x-handles",
|
|
1604
|
+
method: "POST",
|
|
1605
|
+
path: "/api/v1/social-feeds/x/handles"
|
|
2012
1606
|
}
|
|
2013
1607
|
];
|
|
2014
1608
|
function getSkillEndpointMetadata(skill, file) {
|
|
@@ -2083,24 +1677,9 @@ var DataSkillsResource = class {
|
|
|
2083
1677
|
}
|
|
2084
1678
|
};
|
|
2085
1679
|
function metadataSummaryForSkill(skill) {
|
|
2086
|
-
const
|
|
2087
|
-
if (
|
|
2088
|
-
|
|
2089
|
-
}
|
|
2090
|
-
const counts = {};
|
|
2091
|
-
let proCount = 0;
|
|
2092
|
-
for (const endpoint of endpointMetadata) {
|
|
2093
|
-
counts[endpoint.tier] = (counts[endpoint.tier] ?? 0) + 1;
|
|
2094
|
-
if (endpoint.pro_required) proCount += 1;
|
|
2095
|
-
}
|
|
2096
|
-
return {
|
|
2097
|
-
endpoint_tier_counts: counts,
|
|
2098
|
-
metadata: {
|
|
2099
|
-
endpoint_count: endpointMetadata.length,
|
|
2100
|
-
endpoint_tier_counts: counts,
|
|
2101
|
-
pro_count: proCount
|
|
2102
|
-
}
|
|
2103
|
-
};
|
|
1680
|
+
const endpointCount = listSkillEndpointMetadata(skill).length;
|
|
1681
|
+
if (endpointCount === 0) return {};
|
|
1682
|
+
return { metadata: { endpoint_count: endpointCount } };
|
|
2104
1683
|
}
|
|
2105
1684
|
|
|
2106
1685
|
// src/resources/playbookSkills.ts
|
|
@@ -2984,6 +2563,319 @@ var CreditsResource = class {
|
|
|
2984
2563
|
}
|
|
2985
2564
|
};
|
|
2986
2565
|
|
|
2566
|
+
// src/resources/markets.ts
|
|
2567
|
+
var FISCAL_QUARTERS = [
|
|
2568
|
+
"Q1",
|
|
2569
|
+
"Q2",
|
|
2570
|
+
"Q3",
|
|
2571
|
+
"Q4"
|
|
2572
|
+
];
|
|
2573
|
+
var EARNINGS_EVENTS = [
|
|
2574
|
+
"latest-completed",
|
|
2575
|
+
"next-confirmed"
|
|
2576
|
+
];
|
|
2577
|
+
var NARRATIVE_QUERY = `
|
|
2578
|
+
query ToolkitCompanyNarrative($ticker: String!) {
|
|
2579
|
+
market {
|
|
2580
|
+
entity(input: { ticker: $ticker, kind: STOCK }) {
|
|
2581
|
+
ticker
|
|
2582
|
+
companyInsight {
|
|
2583
|
+
asOf
|
|
2584
|
+
generatedAtMs
|
|
2585
|
+
narrative
|
|
2586
|
+
peers
|
|
2587
|
+
}
|
|
2588
|
+
companyInsightHistory {
|
|
2589
|
+
snapshots {
|
|
2590
|
+
asOf
|
|
2591
|
+
generatedAtMs
|
|
2592
|
+
narrative
|
|
2593
|
+
}
|
|
2594
|
+
changeLog {
|
|
2595
|
+
asOf
|
|
2596
|
+
generatedAtMs
|
|
2597
|
+
narrativeChangeLog
|
|
2598
|
+
}
|
|
2599
|
+
}
|
|
2600
|
+
}
|
|
2601
|
+
}
|
|
2602
|
+
}
|
|
2603
|
+
`.trim();
|
|
2604
|
+
var EARNINGS_CATALOG_QUERY = `
|
|
2605
|
+
query ToolkitCompanyEarningsCatalog($ticker: String!) {
|
|
2606
|
+
market {
|
|
2607
|
+
entity(input: { ticker: $ticker, kind: STOCK }) {
|
|
2608
|
+
ticker
|
|
2609
|
+
earningsPeriods {
|
|
2610
|
+
unresolvedEventCount
|
|
2611
|
+
defaultPeriod {
|
|
2612
|
+
fiscalYear
|
|
2613
|
+
fiscalQuarter
|
|
2614
|
+
label
|
|
2615
|
+
fiscalDateEnding
|
|
2616
|
+
earningsDate
|
|
2617
|
+
session
|
|
2618
|
+
status
|
|
2619
|
+
isDefault
|
|
2620
|
+
}
|
|
2621
|
+
periods {
|
|
2622
|
+
fiscalYear
|
|
2623
|
+
fiscalQuarter
|
|
2624
|
+
label
|
|
2625
|
+
fiscalDateEnding
|
|
2626
|
+
earningsDate
|
|
2627
|
+
session
|
|
2628
|
+
status
|
|
2629
|
+
isDefault
|
|
2630
|
+
}
|
|
2631
|
+
}
|
|
2632
|
+
}
|
|
2633
|
+
}
|
|
2634
|
+
}
|
|
2635
|
+
`.trim();
|
|
2636
|
+
var EARNINGS_QUERY = `
|
|
2637
|
+
query ToolkitCompanyEarnings($ticker: String!, $input: CompanyEarningsInput) {
|
|
2638
|
+
market {
|
|
2639
|
+
entity(input: { ticker: $ticker, kind: STOCK }) {
|
|
2640
|
+
ticker
|
|
2641
|
+
earnings(input: $input) {
|
|
2642
|
+
period {
|
|
2643
|
+
fiscalYear
|
|
2644
|
+
fiscalQuarter
|
|
2645
|
+
label
|
|
2646
|
+
fiscalDateEnding
|
|
2647
|
+
earningsDate
|
|
2648
|
+
session
|
|
2649
|
+
status
|
|
2650
|
+
isDefault
|
|
2651
|
+
}
|
|
2652
|
+
preEarningsAnalysis {
|
|
2653
|
+
status
|
|
2654
|
+
asOf
|
|
2655
|
+
summary
|
|
2656
|
+
whatWouldChangeView
|
|
2657
|
+
mainQuestion
|
|
2658
|
+
investorFocus
|
|
2659
|
+
consensusAndGuidance
|
|
2660
|
+
stockSetup
|
|
2661
|
+
eventRisk
|
|
2662
|
+
whatWouldDriveUpside
|
|
2663
|
+
bullCase
|
|
2664
|
+
baseCase
|
|
2665
|
+
bearCase
|
|
2666
|
+
keyAsymmetry
|
|
2667
|
+
consensusN
|
|
2668
|
+
consensusObservedAt
|
|
2669
|
+
}
|
|
2670
|
+
earningsRelease {
|
|
2671
|
+
status
|
|
2672
|
+
releaseDate
|
|
2673
|
+
url
|
|
2674
|
+
}
|
|
2675
|
+
earningsTranscript {
|
|
2676
|
+
status
|
|
2677
|
+
date
|
|
2678
|
+
publishedAtMs
|
|
2679
|
+
sections {
|
|
2680
|
+
name
|
|
2681
|
+
entries {
|
|
2682
|
+
speaker
|
|
2683
|
+
title
|
|
2684
|
+
content
|
|
2685
|
+
}
|
|
2686
|
+
}
|
|
2687
|
+
}
|
|
2688
|
+
postEarningsSummary {
|
|
2689
|
+
status
|
|
2690
|
+
asOf
|
|
2691
|
+
reportedCurrency
|
|
2692
|
+
evidenceState
|
|
2693
|
+
openingQuote
|
|
2694
|
+
openingQuoteSpeaker
|
|
2695
|
+
openingQuoteTitle
|
|
2696
|
+
openingQuoteNote
|
|
2697
|
+
buriedSignals
|
|
2698
|
+
whatYouShouldKnow
|
|
2699
|
+
consensusN
|
|
2700
|
+
consensusObservedAt
|
|
2701
|
+
}
|
|
2702
|
+
}
|
|
2703
|
+
}
|
|
2704
|
+
}
|
|
2705
|
+
}
|
|
2706
|
+
`.trim();
|
|
2707
|
+
function graphQLErrorMessage2(errors) {
|
|
2708
|
+
const messages = errors.map(
|
|
2709
|
+
(error) => typeof error.message === "string" && error.message ? error.message : void 0
|
|
2710
|
+
).filter((message) => Boolean(message));
|
|
2711
|
+
return messages.length > 0 ? messages.join("; ") : "GraphQL request failed";
|
|
2712
|
+
}
|
|
2713
|
+
function normalizedTicker(ticker) {
|
|
2714
|
+
const normalized = ticker.trim().toUpperCase();
|
|
2715
|
+
if (!normalized) {
|
|
2716
|
+
throw new AlvaError("INVALID_ARGUMENT", "ticker is required", 400);
|
|
2717
|
+
}
|
|
2718
|
+
return normalized;
|
|
2719
|
+
}
|
|
2720
|
+
var MarketsResource = class {
|
|
2721
|
+
constructor(client) {
|
|
2722
|
+
this.client = client;
|
|
2723
|
+
}
|
|
2724
|
+
client;
|
|
2725
|
+
async narrative(ticker) {
|
|
2726
|
+
this.client._requireAuth();
|
|
2727
|
+
const requestedTicker = normalizedTicker(ticker);
|
|
2728
|
+
const data = await this.graphql(NARRATIVE_QUERY, {
|
|
2729
|
+
ticker: requestedTicker
|
|
2730
|
+
});
|
|
2731
|
+
const entity = data.market?.entity;
|
|
2732
|
+
if (!entity) {
|
|
2733
|
+
throw this.notFound(requestedTicker);
|
|
2734
|
+
}
|
|
2735
|
+
return {
|
|
2736
|
+
ticker: entity.ticker,
|
|
2737
|
+
current: entity.companyInsight,
|
|
2738
|
+
history: entity.companyInsightHistory
|
|
2739
|
+
};
|
|
2740
|
+
}
|
|
2741
|
+
async earningsPeriods(ticker) {
|
|
2742
|
+
this.client._requireAuth();
|
|
2743
|
+
const requestedTicker = normalizedTicker(ticker);
|
|
2744
|
+
const data = await this.graphql(
|
|
2745
|
+
EARNINGS_CATALOG_QUERY,
|
|
2746
|
+
{ ticker: requestedTicker }
|
|
2747
|
+
);
|
|
2748
|
+
const entity = data.market?.entity;
|
|
2749
|
+
if (!entity) {
|
|
2750
|
+
throw this.notFound(requestedTicker);
|
|
2751
|
+
}
|
|
2752
|
+
if (!entity.earningsPeriods) {
|
|
2753
|
+
throw new AlvaError(
|
|
2754
|
+
"MARKETS_EARNINGS_NOT_COVERED",
|
|
2755
|
+
`No earnings periods are available for ${entity.ticker}`,
|
|
2756
|
+
404,
|
|
2757
|
+
{ ticker: entity.ticker }
|
|
2758
|
+
);
|
|
2759
|
+
}
|
|
2760
|
+
return entity.earningsPeriods;
|
|
2761
|
+
}
|
|
2762
|
+
async earnings(params) {
|
|
2763
|
+
this.client._requireAuth();
|
|
2764
|
+
const ticker = normalizedTicker(params.ticker);
|
|
2765
|
+
const requestedEvent = params.event;
|
|
2766
|
+
const requestedFiscalYear = params.fiscalYear;
|
|
2767
|
+
const requestedFiscalQuarter = params.fiscalQuarter;
|
|
2768
|
+
const hasExplicitPeriod = requestedFiscalYear !== void 0 || requestedFiscalQuarter !== void 0;
|
|
2769
|
+
if (requestedEvent !== void 0 && hasExplicitPeriod) {
|
|
2770
|
+
throw new AlvaError(
|
|
2771
|
+
"INVALID_ARGUMENT",
|
|
2772
|
+
"event cannot be combined with fiscalYear or fiscalQuarter",
|
|
2773
|
+
400
|
|
2774
|
+
);
|
|
2775
|
+
}
|
|
2776
|
+
if (requestedFiscalYear === void 0 !== (requestedFiscalQuarter === void 0)) {
|
|
2777
|
+
throw new AlvaError(
|
|
2778
|
+
"INVALID_ARGUMENT",
|
|
2779
|
+
"fiscalYear and fiscalQuarter must be provided together",
|
|
2780
|
+
400
|
|
2781
|
+
);
|
|
2782
|
+
}
|
|
2783
|
+
if (requestedEvent !== void 0 && !EARNINGS_EVENTS.includes(requestedEvent)) {
|
|
2784
|
+
throw new AlvaError(
|
|
2785
|
+
"INVALID_ARGUMENT",
|
|
2786
|
+
`Unknown earnings event selector: ${requestedEvent}`,
|
|
2787
|
+
400
|
|
2788
|
+
);
|
|
2789
|
+
}
|
|
2790
|
+
if (requestedFiscalYear !== void 0 && (!Number.isInteger(requestedFiscalYear) || requestedFiscalYear < 1900 || requestedFiscalYear > 9999)) {
|
|
2791
|
+
throw new AlvaError(
|
|
2792
|
+
"INVALID_ARGUMENT",
|
|
2793
|
+
"fiscalYear must be an integer between 1900 and 9999",
|
|
2794
|
+
400
|
|
2795
|
+
);
|
|
2796
|
+
}
|
|
2797
|
+
if (requestedFiscalQuarter !== void 0 && !FISCAL_QUARTERS.includes(requestedFiscalQuarter)) {
|
|
2798
|
+
throw new AlvaError(
|
|
2799
|
+
"INVALID_ARGUMENT",
|
|
2800
|
+
"fiscalQuarter must be Q1, Q2, Q3, or Q4",
|
|
2801
|
+
400
|
|
2802
|
+
);
|
|
2803
|
+
}
|
|
2804
|
+
let fiscalYear;
|
|
2805
|
+
let fiscalQuarter;
|
|
2806
|
+
if (requestedFiscalYear !== void 0 && requestedFiscalQuarter !== void 0) {
|
|
2807
|
+
fiscalYear = requestedFiscalYear;
|
|
2808
|
+
fiscalQuarter = requestedFiscalQuarter;
|
|
2809
|
+
} else {
|
|
2810
|
+
const event = requestedEvent ?? "latest-completed";
|
|
2811
|
+
const catalog = await this.earningsPeriods(ticker);
|
|
2812
|
+
const period = this.selectPeriod(catalog, event, ticker);
|
|
2813
|
+
fiscalYear = period.fiscalYear;
|
|
2814
|
+
fiscalQuarter = period.fiscalQuarter;
|
|
2815
|
+
}
|
|
2816
|
+
const data = await this.graphql(EARNINGS_QUERY, {
|
|
2817
|
+
ticker,
|
|
2818
|
+
input: { fiscalYear, fiscalQuarter }
|
|
2819
|
+
});
|
|
2820
|
+
const entity = data.market?.entity;
|
|
2821
|
+
if (!entity) {
|
|
2822
|
+
throw this.notFound(ticker);
|
|
2823
|
+
}
|
|
2824
|
+
if (!entity.earnings) {
|
|
2825
|
+
throw new AlvaError(
|
|
2826
|
+
"MARKETS_EARNINGS_NOT_COVERED",
|
|
2827
|
+
`No earnings content is available for ${entity.ticker} FY${fiscalYear} ${fiscalQuarter}`,
|
|
2828
|
+
404,
|
|
2829
|
+
{ ticker: entity.ticker, fiscalYear, fiscalQuarter }
|
|
2830
|
+
);
|
|
2831
|
+
}
|
|
2832
|
+
return { ticker: entity.ticker, ...entity.earnings };
|
|
2833
|
+
}
|
|
2834
|
+
selectPeriod(catalog, event, ticker) {
|
|
2835
|
+
if (event === "latest-completed") {
|
|
2836
|
+
if (catalog.defaultPeriod) return catalog.defaultPeriod;
|
|
2837
|
+
} else {
|
|
2838
|
+
const upcoming = catalog.periods.filter((period) => period.status === "UPCOMING").sort((a, b) => a.earningsDate.localeCompare(b.earningsDate));
|
|
2839
|
+
if (upcoming.length > 0) return upcoming[0];
|
|
2840
|
+
}
|
|
2841
|
+
throw new AlvaError(
|
|
2842
|
+
"MARKETS_EARNINGS_EVENT_NOT_FOUND",
|
|
2843
|
+
`No ${event} earnings event is available for ${ticker}`,
|
|
2844
|
+
404,
|
|
2845
|
+
{ ticker, event }
|
|
2846
|
+
);
|
|
2847
|
+
}
|
|
2848
|
+
notFound(ticker) {
|
|
2849
|
+
return new AlvaError(
|
|
2850
|
+
"MARKETS_ENTITY_NOT_FOUND",
|
|
2851
|
+
`No stock entity was found for ${ticker}`,
|
|
2852
|
+
404,
|
|
2853
|
+
{ ticker }
|
|
2854
|
+
);
|
|
2855
|
+
}
|
|
2856
|
+
async graphql(query, variables) {
|
|
2857
|
+
const response = await this.client._request("POST", "/query", {
|
|
2858
|
+
body: { query, variables }
|
|
2859
|
+
});
|
|
2860
|
+
if (response.errors && response.errors.length > 0) {
|
|
2861
|
+
throw new AlvaError(
|
|
2862
|
+
"GRAPHQL_ERROR",
|
|
2863
|
+
graphQLErrorMessage2(response.errors),
|
|
2864
|
+
400,
|
|
2865
|
+
{ errors: response.errors }
|
|
2866
|
+
);
|
|
2867
|
+
}
|
|
2868
|
+
if (!response.data) {
|
|
2869
|
+
throw new AlvaError(
|
|
2870
|
+
"GRAPHQL_EMPTY_RESPONSE",
|
|
2871
|
+
"GraphQL response did not include data",
|
|
2872
|
+
502
|
|
2873
|
+
);
|
|
2874
|
+
}
|
|
2875
|
+
return response.data;
|
|
2876
|
+
}
|
|
2877
|
+
};
|
|
2878
|
+
|
|
2987
2879
|
// src/client.ts
|
|
2988
2880
|
var DEFAULT_BASE_URL = "https://api-llm.prd.alva.ai";
|
|
2989
2881
|
var DEFAULT_ARRAYS_BASE_URL = "https://data-tools.prd.space.id";
|
|
@@ -3091,6 +2983,7 @@ var AlvaClient = class {
|
|
|
3091
2983
|
_feedback;
|
|
3092
2984
|
_functions;
|
|
3093
2985
|
_credits;
|
|
2986
|
+
_markets;
|
|
3094
2987
|
constructor(config) {
|
|
3095
2988
|
this.baseUrl = config.baseUrl ?? DEFAULT_BASE_URL;
|
|
3096
2989
|
this.arraysBaseUrl = config.arraysBaseUrl ?? DEFAULT_ARRAYS_BASE_URL;
|
|
@@ -3185,6 +3078,9 @@ var AlvaClient = class {
|
|
|
3185
3078
|
get credits() {
|
|
3186
3079
|
return this._credits ??= new CreditsResource(this);
|
|
3187
3080
|
}
|
|
3081
|
+
get markets() {
|
|
3082
|
+
return this._markets ??= new MarketsResource(this);
|
|
3083
|
+
}
|
|
3188
3084
|
_requireAuth() {
|
|
3189
3085
|
if (!this.pbsvToken && !this.viewer_token && !this.apiKey) {
|
|
3190
3086
|
throw new AlvaError(
|
|
@@ -3786,7 +3682,7 @@ var installPlaybookRuntime = (targetWindow) => {
|
|
|
3786
3682
|
};
|
|
3787
3683
|
|
|
3788
3684
|
// src/index.ts
|
|
3789
|
-
var VERSION = true ? "0.
|
|
3685
|
+
var VERSION = true ? "0.23.0-beta.0" : "dev";
|
|
3790
3686
|
// Annotate the CommonJS export names for ESM import in node:
|
|
3791
3687
|
0 && (module.exports = {
|
|
3792
3688
|
AlertsResource,
|
|
@@ -3794,6 +3690,7 @@ var VERSION = true ? "0.21.0" : "dev";
|
|
|
3794
3690
|
AlvaError,
|
|
3795
3691
|
AutomationResource,
|
|
3796
3692
|
CliUsageError,
|
|
3693
|
+
MarketsResource,
|
|
3797
3694
|
PBSV_UPDATE_MESSAGE,
|
|
3798
3695
|
SUBSCRIBE_PROPOSE_MESSAGE,
|
|
3799
3696
|
SUBSCRIBE_RESULT_MESSAGE,
|