@bitget-ai/getagent-skill 0.2.1

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.
Files changed (57) hide show
  1. package/.claude-plugin/marketplace.json +28 -0
  2. package/.claude-plugin/plugin.json +12 -0
  3. package/README.md +99 -0
  4. package/VERSION +1 -0
  5. package/bin/getagent-skill.js +140 -0
  6. package/package.json +45 -0
  7. package/skills/getagent/SKILL.md +129 -0
  8. package/skills/getagent/examples/btc-ema-cross-demo/README.md +61 -0
  9. package/skills/getagent/examples/btc-ema-cross-demo/backtest.yaml +33 -0
  10. package/skills/getagent/examples/btc-ema-cross-demo/manifest.yaml +94 -0
  11. package/skills/getagent/examples/btc-ema-cross-demo/src/main.py +88 -0
  12. package/skills/getagent/examples/btc-ema-cross-demo/src/strategy.py +118 -0
  13. package/skills/getagent/references/api/enable.md +95 -0
  14. package/skills/getagent/references/api/error-responses.md +77 -0
  15. package/skills/getagent/references/api/index.md +38 -0
  16. package/skills/getagent/references/api/list.md +80 -0
  17. package/skills/getagent/references/api/my-playbooks.md +41 -0
  18. package/skills/getagent/references/api/publish.md +76 -0
  19. package/skills/getagent/references/api/run.md +149 -0
  20. package/skills/getagent/references/api/upload.md +76 -0
  21. package/skills/getagent/references/backtest-engine.md +438 -0
  22. package/skills/getagent/references/package-schema.md +552 -0
  23. package/skills/getagent/references/sandbox-runtime.md +201 -0
  24. package/skills/getagent/references/sdk/backtest/catalog.md +208 -0
  25. package/skills/getagent/references/sdk/data/arxiv.md +41 -0
  26. package/skills/getagent/references/sdk/data/catalog.md +56 -0
  27. package/skills/getagent/references/sdk/data/commodity.md +226 -0
  28. package/skills/getagent/references/sdk/data/coverage.md +82 -0
  29. package/skills/getagent/references/sdk/data/crypto.md +2906 -0
  30. package/skills/getagent/references/sdk/data/currency.md +123 -0
  31. package/skills/getagent/references/sdk/data/derivatives.md +269 -0
  32. package/skills/getagent/references/sdk/data/economy.md +1348 -0
  33. package/skills/getagent/references/sdk/data/equity.md +2120 -0
  34. package/skills/getagent/references/sdk/data/etf.md +372 -0
  35. package/skills/getagent/references/sdk/data/famafrench.md +201 -0
  36. package/skills/getagent/references/sdk/data/fixedincome.md +804 -0
  37. package/skills/getagent/references/sdk/data/imf_utils.md +225 -0
  38. package/skills/getagent/references/sdk/data/index.md +216 -0
  39. package/skills/getagent/references/sdk/data/news.md +149 -0
  40. package/skills/getagent/references/sdk/data/playbook-supported.md +9871 -0
  41. package/skills/getagent/references/sdk/data/regulators.md +299 -0
  42. package/skills/getagent/references/sdk/data/sentiment.md +323 -0
  43. package/skills/getagent/references/sdk/data/uscongress.md +126 -0
  44. package/skills/getagent/references/sdk/data/web_search.md +68 -0
  45. package/skills/getagent/references/sdk/data/wikipedia.md +97 -0
  46. package/skills/getagent/references/sdk/llm/catalog.md +117 -0
  47. package/skills/getagent/references/sdk/runtime/catalog.md +195 -0
  48. package/skills/getagent/references/sdk/trade/account.md +61 -0
  49. package/skills/getagent/references/sdk/trade/catalog.md +35 -0
  50. package/skills/getagent/references/sdk/trade/contract.md +331 -0
  51. package/skills/getagent/references/sdk/trade/helpers.md +466 -0
  52. package/skills/getagent/references/sdk/trade/market.md +28 -0
  53. package/skills/getagent/references/sdk/trade/patterns.md +102 -0
  54. package/skills/getagent/references/sdk/trade/spot.md +165 -0
  55. package/skills/getagent/references/sdk.md +198 -0
  56. package/skills/getagent/scripts/validate.py +965 -0
  57. package/skills/getagent/scripts/version_check.sh +62 -0
@@ -0,0 +1,299 @@
1
+ # Regulators Data Reference
2
+
3
+ Use this file when an agent needs detailed signatures and parameter
4
+ rules for one DataSDK domain. All generated `getagent.data` endpoints
5
+ are callable through the DataSDK wrapper.
6
+
7
+ ## Contents
8
+ - [`regulators.cftc.cot`](#regulatorscftccot)
9
+ - [`regulators.cftc.cot_search`](#regulatorscftccot-search)
10
+ - [`regulators.sec.cik_map`](#regulatorsseccik-map)
11
+ - [`regulators.sec.filing_headers`](#regulatorssecfiling-headers)
12
+ - [`regulators.sec.htm_file`](#regulatorssechtm-file)
13
+ - [`regulators.sec.institutions_search`](#regulatorssecinstitutions-search)
14
+ - [`regulators.sec.rss_litigation`](#regulatorssecrss-litigation)
15
+ - [`regulators.sec.schema_files`](#regulatorssecschema-files)
16
+ - [`regulators.sec.sic_search`](#regulatorssecsic-search)
17
+ - [`regulators.sec.symbol_map`](#regulatorssecsymbol-map)
18
+
19
+ ## Endpoint reference
20
+
21
+ ### `regulators.cftc.cot`
22
+
23
+ ```python
24
+ data.regulators.cftc.cot(start_time=None, end_time=None, id='045601', report_type='legacy', futures_only=False, provider='cftc')
25
+ ```
26
+
27
+ Summary: Cot
28
+
29
+ | Field | Value |
30
+ |---|---|
31
+ | Endpoint ID | `regulators.cftc.cot` |
32
+ | HTTP | `GET` |
33
+ | Path | `/inner/v1/agent-data/regulators/cftc/cot` |
34
+ | Default provider | `cftc` |
35
+ | SDK | `supported` |
36
+ | Host | `supported` |
37
+ | Notes | - |
38
+
39
+ #### Query parameters
40
+
41
+ | Param | Required | Type | Default | Notes |
42
+ |---|---|---|---|---|
43
+ | `start_time` | `no` | `integer | null` | `-` | Start time of the data as a Unix timestamp in milliseconds. Takes priority over start_date when both are provided. |
44
+ | `end_time` | `no` | `integer | null` | `-` | End time of the data as a Unix timestamp in milliseconds. Takes priority over end_date when both are provided. |
45
+ | `id` | `no` | `string` | `045601` | A string with the CFTC market code or other identifying string, such as the contract market name, commodity name, or commodity group - i.e, 'gold' or 'japanese yen'.Default report is Fed Funds Futures. Use the 'cftc_market_code' for an exact match. |
46
+ | `report_type` | `no` | `string` | `legacy` | enum: legacy, disaggregated, financial, supplemental The type of report to retrieve. Set `id` as 'all' to return all items in the report type (default date range returns the latest report). The Legacy report is broken down by exchange with reported open interest further broken down into three trader classifications: commercial, non-commercial and non-reportable. The Disaggregated reports are broken down by Agriculture and Natural Resource contracts. The Disaggregated reports break down reportable open interest positions into four classifications: Producer/Merchant, Swap Dealers, Managed Money and Other Reportables. The Traders in Financial Futures (TFF) report includes financial contracts. The TFF report breaks down the reported open interest into five classifications: Dealer, Asset Manager, Leveraged Money, Other Reportables and Non-Reportables. (provider: cftc) |
47
+ | `futures_only` | `no` | `boolean` | `false` | Returns the futures-only report. Default is False, for the combined report. (provider: cftc) |
48
+ | `provider` | `no` | `string` | `cftc` | - |
49
+
50
+ ---
51
+
52
+ ### `regulators.cftc.cot_search`
53
+
54
+ ```python
55
+ data.regulators.cftc.cot_search(query='', provider='cftc')
56
+ ```
57
+
58
+ Summary: Cot Search
59
+
60
+ | Field | Value |
61
+ |---|---|
62
+ | Endpoint ID | `regulators.cftc.cot_search` |
63
+ | HTTP | `GET` |
64
+ | Path | `/inner/v1/agent-data/regulators/cftc/cot_search` |
65
+ | Default provider | `cftc` |
66
+ | SDK | `supported` |
67
+ | Host | `supported` |
68
+ | Notes | - |
69
+
70
+ #### Query parameters
71
+
72
+ | Param | Required | Type | Default | Notes |
73
+ |---|---|---|---|---|
74
+ | `query` | `no` | `string` | `` | Search query. |
75
+ | `provider` | `no` | `string` | `cftc` | - |
76
+
77
+ ---
78
+
79
+ ### `regulators.sec.cik_map`
80
+
81
+ ```python
82
+ data.regulators.sec.cik_map(symbol=..., use_cache=True, provider='sec')
83
+ ```
84
+
85
+ Summary: Cik Map
86
+
87
+ | Field | Value |
88
+ |---|---|
89
+ | Endpoint ID | `regulators.sec.cik_map` |
90
+ | HTTP | `GET` |
91
+ | Path | `/inner/v1/agent-data/regulators/sec/cik_map` |
92
+ | Default provider | `sec` |
93
+ | SDK | `supported` |
94
+ | Host | `supported` |
95
+ | Notes | - |
96
+
97
+ #### Query parameters
98
+
99
+ | Param | Required | Type | Default | Notes |
100
+ |---|---|---|---|---|
101
+ | `symbol` | `yes` | `string` | `-` | Symbol to get data for. |
102
+ | `use_cache` | `no` | `boolean | null` | `true` | Whether or not to use cache for the request, default is True. (provider: sec) |
103
+ | `provider` | `no` | `string` | `sec` | - |
104
+
105
+ ---
106
+
107
+ ### `regulators.sec.filing_headers`
108
+
109
+ ```python
110
+ data.regulators.sec.filing_headers(url='', use_cache=True, provider='sec')
111
+ ```
112
+
113
+ Summary: Filing Headers
114
+
115
+ | Field | Value |
116
+ |---|---|
117
+ | Endpoint ID | `regulators.sec.filing_headers` |
118
+ | HTTP | `GET` |
119
+ | Path | `/inner/v1/agent-data/regulators/sec/filing_headers` |
120
+ | Default provider | `sec` |
121
+ | SDK | `supported` |
122
+ | Host | `supported` |
123
+ | Notes | - |
124
+
125
+ #### Query parameters
126
+
127
+ | Param | Required | Type | Default | Notes |
128
+ |---|---|---|---|---|
129
+ | `url` | `no` | `string` | `` | URL for the SEC filing. The specific URL is not directly used or downloaded, but is used to generate the base URL for the filing. e.g. https://www.sec.gov/Archives/edgar/data/317540/000031754024000045/coke-20240731.htm and https://www.sec.gov/Archives/edgar/data/317540/000031754024000045/ are both valid URLs for the same filing. (provider: sec) |
130
+ | `use_cache` | `no` | `boolean` | `true` | Use cache for the index headers and cover page. Default is True. (provider: sec) |
131
+ | `provider` | `no` | `string` | `sec` | - |
132
+
133
+ ---
134
+
135
+ ### `regulators.sec.htm_file`
136
+
137
+ ```python
138
+ data.regulators.sec.htm_file(url='', use_cache=True, provider='sec')
139
+ ```
140
+
141
+ Summary: Htm File
142
+
143
+ | Field | Value |
144
+ |---|---|
145
+ | Endpoint ID | `regulators.sec.htm_file` |
146
+ | HTTP | `GET` |
147
+ | Path | `/inner/v1/agent-data/regulators/sec/htm_file` |
148
+ | Default provider | `sec` |
149
+ | SDK | `supported` |
150
+ | Host | `supported` |
151
+ | Notes | - |
152
+
153
+ #### Query parameters
154
+
155
+ | Param | Required | Type | Default | Notes |
156
+ |---|---|---|---|---|
157
+ | `url` | `no` | `string` | `` | URL for the SEC filing. (provider: sec) |
158
+ | `use_cache` | `no` | `boolean` | `true` | Cache the file for use later. Default is True. (provider: sec) |
159
+ | `provider` | `no` | `string` | `sec` | - |
160
+
161
+ ---
162
+
163
+ ### `regulators.sec.institutions_search`
164
+
165
+ ```python
166
+ data.regulators.sec.institutions_search(query='', use_cache=True, provider='sec')
167
+ ```
168
+
169
+ Summary: Institutions Search
170
+
171
+ | Field | Value |
172
+ |---|---|
173
+ | Endpoint ID | `regulators.sec.institutions_search` |
174
+ | HTTP | `GET` |
175
+ | Path | `/inner/v1/agent-data/regulators/sec/institutions_search` |
176
+ | Default provider | `sec` |
177
+ | SDK | `supported` |
178
+ | Host | `supported` |
179
+ | Notes | - |
180
+
181
+ #### Query parameters
182
+
183
+ | Param | Required | Type | Default | Notes |
184
+ |---|---|---|---|---|
185
+ | `query` | `no` | `string` | `` | Search query. |
186
+ | `use_cache` | `no` | `boolean | null` | `true` | Whether or not to use cache. (provider: sec) |
187
+ | `provider` | `no` | `string` | `sec` | - |
188
+
189
+ ---
190
+
191
+ ### `regulators.sec.rss_litigation`
192
+
193
+ ```python
194
+ data.regulators.sec.rss_litigation(provider='sec')
195
+ ```
196
+
197
+ Summary: Rss Litigation
198
+
199
+ | Field | Value |
200
+ |---|---|
201
+ | Endpoint ID | `regulators.sec.rss_litigation` |
202
+ | HTTP | `GET` |
203
+ | Path | `/inner/v1/agent-data/regulators/sec/rss_litigation` |
204
+ | Default provider | `sec` |
205
+ | SDK | `supported` |
206
+ | Host | `supported` |
207
+ | Notes | - |
208
+
209
+ #### Query parameters
210
+
211
+ | Param | Required | Type | Default | Notes |
212
+ |---|---|---|---|---|
213
+ | `provider` | `no` | `string` | `sec` | - |
214
+
215
+ ---
216
+
217
+ ### `regulators.sec.schema_files`
218
+
219
+ ```python
220
+ data.regulators.sec.schema_files(taxonomy=None, year=None, component=None, category=None, provider='sec')
221
+ ```
222
+
223
+ Summary: Schema Files
224
+
225
+ | Field | Value |
226
+ |---|---|
227
+ | Endpoint ID | `regulators.sec.schema_files` |
228
+ | HTTP | `GET` |
229
+ | Path | `/inner/v1/agent-data/regulators/sec/schema_files` |
230
+ | Default provider | `sec` |
231
+ | SDK | `supported` |
232
+ | Host | `supported` |
233
+ | Notes | - |
234
+
235
+ #### Query parameters
236
+
237
+ | Param | Required | Type | Default | Notes |
238
+ |---|---|---|---|---|
239
+ | `taxonomy` | `no` | `string | null` | `-` | Taxonomy family to explore. Omit to list all available taxonomies and their descriptions. (provider: sec) |
240
+ | `year` | `no` | `integer | null` | `-` | Taxonomy year (e.g. 2011+ for us-gaap, varies by taxonomy). Defaults to the most recent year when omitted. (provider: sec) |
241
+ | `component` | `no` | `string | null` | `-` | Presentation component to retrieve. Values are taxonomy-specific. Omit to return all components for the taxonomy. (provider: sec) |
242
+ | `category` | `no` | `string | null` | `-` | Filter taxonomies by SEC filer category. (provider: sec) |
243
+ | `provider` | `no` | `string` | `sec` | - |
244
+
245
+ ---
246
+
247
+ ### `regulators.sec.sic_search`
248
+
249
+ ```python
250
+ data.regulators.sec.sic_search(query='', use_cache=True, provider='sec')
251
+ ```
252
+
253
+ Summary: Sic Search
254
+
255
+ | Field | Value |
256
+ |---|---|
257
+ | Endpoint ID | `regulators.sec.sic_search` |
258
+ | HTTP | `GET` |
259
+ | Path | `/inner/v1/agent-data/regulators/sec/sic_search` |
260
+ | Default provider | `sec` |
261
+ | SDK | `supported` |
262
+ | Host | `supported` |
263
+ | Notes | - |
264
+
265
+ #### Query parameters
266
+
267
+ | Param | Required | Type | Default | Notes |
268
+ |---|---|---|---|---|
269
+ | `query` | `no` | `string` | `` | Search query. |
270
+ | `use_cache` | `no` | `boolean | null` | `true` | Whether or not to use cache. (provider: sec) |
271
+ | `provider` | `no` | `string` | `sec` | - |
272
+
273
+ ---
274
+
275
+ ### `regulators.sec.symbol_map`
276
+
277
+ ```python
278
+ data.regulators.sec.symbol_map(query=..., use_cache=True, provider='sec')
279
+ ```
280
+
281
+ Summary: Symbol Map
282
+
283
+ | Field | Value |
284
+ |---|---|
285
+ | Endpoint ID | `regulators.sec.symbol_map` |
286
+ | HTTP | `GET` |
287
+ | Path | `/inner/v1/agent-data/regulators/sec/symbol_map` |
288
+ | Default provider | `sec` |
289
+ | SDK | `supported` |
290
+ | Host | `supported` |
291
+ | Notes | - |
292
+
293
+ #### Query parameters
294
+
295
+ | Param | Required | Type | Default | Notes |
296
+ |---|---|---|---|---|
297
+ | `query` | `yes` | `string` | `-` | Search query. |
298
+ | `use_cache` | `no` | `boolean | null` | `true` | Whether or not to use cache. If True, cache will store for seven days. |
299
+ | `provider` | `no` | `string` | `sec` | - |
@@ -0,0 +1,323 @@
1
+ # Sentiment Data Reference
2
+
3
+ Use this file when an agent needs detailed signatures and parameter
4
+ rules for one DataSDK domain. All generated `getagent.data` endpoints
5
+ are callable through the DataSDK wrapper.
6
+
7
+ ## Contents
8
+ - [`sentiment.followin_coin_news`](#sentimentfollowin-coin-news)
9
+ - [`sentiment.followin_news`](#sentimentfollowin-news)
10
+ - [`sentiment.followin_trending_topics`](#sentimentfollowin-trending-topics)
11
+ - [`sentiment.market_fear_greed`](#sentimentmarket-fear-greed)
12
+ - [`sentiment.news`](#sentimentnews)
13
+ - [`sentiment.trending`](#sentimenttrending)
14
+ - [`sentiment.twitter_list_timeline`](#sentimenttwitter-list-timeline)
15
+ - [`sentiment.twitter_search`](#sentimenttwitter-search)
16
+ - [`sentiment.twitter_tweet_detail`](#sentimenttwitter-tweet-detail)
17
+ - [`sentiment.twitter_user_by_id`](#sentimenttwitter-user-by-id)
18
+ - [`sentiment.twitter_user_by_name`](#sentimenttwitter-user-by-name)
19
+
20
+ ## Endpoint reference
21
+
22
+ ### `sentiment.followin_coin_news`
23
+
24
+ ```python
25
+ data.sentiment.followin_coin_news(symbol=..., limit=20, provider='followin')
26
+ ```
27
+
28
+ Summary: Followin Coin News
29
+
30
+ | Field | Value |
31
+ |---|---|
32
+ | Endpoint ID | `sentiment.followin_coin_news` |
33
+ | HTTP | `GET` |
34
+ | Path | `/inner/v1/agent-data/sentiment/followin_coin_news` |
35
+ | Default provider | `followin` |
36
+ | SDK | `supported` |
37
+ | Host | `supported` |
38
+ | Notes | - |
39
+
40
+ #### Query parameters
41
+
42
+ | Param | Required | Type | Default | Notes |
43
+ |---|---|---|---|---|
44
+ | `symbol` | `yes` | `string` | `-` | Coin/token symbol to fetch news for (e.g. 'BTC', 'ETH'). |
45
+ | `limit` | `no` | `integer` | `20` | Maximum number of articles to return. Default 20. |
46
+ | `provider` | `no` | `string` | `followin` | - |
47
+
48
+ ---
49
+
50
+ ### `sentiment.followin_news`
51
+
52
+ ```python
53
+ data.sentiment.followin_news(news_type='trending', limit=20, provider='followin')
54
+ ```
55
+
56
+ Summary: Followin News
57
+
58
+ | Field | Value |
59
+ |---|---|
60
+ | Endpoint ID | `sentiment.followin_news` |
61
+ | HTTP | `GET` |
62
+ | Path | `/inner/v1/agent-data/sentiment/followin_news` |
63
+ | Default provider | `followin` |
64
+ | SDK | `supported` |
65
+ | Host | `supported` |
66
+ | Notes | - |
67
+
68
+ #### Query parameters
69
+
70
+ | Param | Required | Type | Default | Notes |
71
+ |---|---|---|---|---|
72
+ | `news_type` | `no` | `string` | `trending` | Type of news to fetch. 'trending' = hot news feed, 'flash' = flash/breaking news, 'kol_opinions' = KOL opinion articles. |
73
+ | `limit` | `no` | `integer` | `20` | Maximum number of articles to return. Default 20. |
74
+ | `provider` | `no` | `string` | `followin` | - |
75
+
76
+ ---
77
+
78
+ ### `sentiment.followin_trending_topics`
79
+
80
+ ```python
81
+ data.sentiment.followin_trending_topics(limit=20, provider='followin')
82
+ ```
83
+
84
+ Summary: Followin Trending Topics
85
+
86
+ | Field | Value |
87
+ |---|---|
88
+ | Endpoint ID | `sentiment.followin_trending_topics` |
89
+ | HTTP | `GET` |
90
+ | Path | `/inner/v1/agent-data/sentiment/followin_trending_topics` |
91
+ | Default provider | `followin` |
92
+ | SDK | `supported` |
93
+ | Host | `supported` |
94
+ | Notes | - |
95
+
96
+ #### Query parameters
97
+
98
+ | Param | Required | Type | Default | Notes |
99
+ |---|---|---|---|---|
100
+ | `limit` | `no` | `integer` | `20` | Maximum number of topics to return. Default 20. |
101
+ | `provider` | `no` | `string` | `followin` | - |
102
+
103
+ ---
104
+
105
+ ### `sentiment.market_fear_greed`
106
+
107
+ ```python
108
+ data.sentiment.market_fear_greed(provider='feargreed')
109
+ ```
110
+
111
+ Summary: Market Fear Greed
112
+
113
+ | Field | Value |
114
+ |---|---|
115
+ | Endpoint ID | `sentiment.market_fear_greed` |
116
+ | HTTP | `GET` |
117
+ | Path | `/inner/v1/agent-data/sentiment/market_fear_greed` |
118
+ | Default provider | `feargreed` |
119
+ | SDK | `supported` |
120
+ | Host | `supported` |
121
+ | Notes | - |
122
+
123
+ #### Query parameters
124
+
125
+ | Param | Required | Type | Default | Notes |
126
+ |---|---|---|---|---|
127
+ | `provider` | `no` | `string` | `feargreed` | - |
128
+
129
+ ---
130
+
131
+ ### `sentiment.news`
132
+
133
+ ```python
134
+ data.sentiment.news(category='all', limit=20, provider='rssnews')
135
+ ```
136
+
137
+ Summary: News
138
+
139
+ | Field | Value |
140
+ |---|---|
141
+ | Endpoint ID | `sentiment.news` |
142
+ | HTTP | `GET` |
143
+ | Path | `/inner/v1/agent-data/sentiment/news` |
144
+ | Default provider | `rssnews` |
145
+ | SDK | `supported` |
146
+ | Host | `supported` |
147
+ | Notes | - |
148
+
149
+ #### Query parameters
150
+
151
+ | Param | Required | Type | Default | Notes |
152
+ |---|---|---|---|---|
153
+ | `category` | `no` | `string` | `all` | News category filter. 'all' fetches all 44 sources concurrently. Other options filter by source group: 'crypto_core' (7 sources), 'crypto_high_freq' (4), 'crypto_supplement' (6), 'macro' (4), 'kol' (4), 'tech_ai' (5), 'geopolitical' (5), 'reddit' (5), 'chinese_japanese' (2), 'other' (2). |
154
+ | `limit` | `no` | `integer` | `20` | Maximum number of articles to return per source. Default 20. |
155
+ | `provider` | `no` | `string` | `rssnews` | - |
156
+
157
+ ---
158
+
159
+ ### `sentiment.trending`
160
+
161
+ ```python
162
+ data.sentiment.trending(filter='all-stocks', page=1, provider='apewisdom')
163
+ ```
164
+
165
+ Summary: Trending
166
+
167
+ | Field | Value |
168
+ |---|---|
169
+ | Endpoint ID | `sentiment.trending` |
170
+ | HTTP | `GET` |
171
+ | Path | `/inner/v1/agent-data/sentiment/trending` |
172
+ | Default provider | `apewisdom` |
173
+ | SDK | `supported` |
174
+ | Host | `supported` |
175
+ | Notes | - |
176
+
177
+ #### Query parameters
178
+
179
+ | Param | Required | Type | Default | Notes |
180
+ |---|---|---|---|---|
181
+ | `filter` | `no` | `string` | `all-stocks` | Category or subreddit filter for trending data.; The subreddit or category filter. 'all-stocks' aggregates all stock-related subreddits, 'all-crypto' aggregates all crypto-related subreddits, '4chan' is /biz/ board, or specific subreddits like 'wallstreetbets', 'stocks', 'investing', 'cryptocurrency'. (provider: apewisdom) |
182
+ | `page` | `no` | `integer` | `1` | Page number for pagination. |
183
+ | `provider` | `no` | `string` | `apewisdom` | - |
184
+
185
+ ---
186
+
187
+ ### `sentiment.twitter_list_timeline`
188
+
189
+ ```python
190
+ data.sentiment.twitter_list_timeline(list_id=..., count=20, cursor='', provider='twitter')
191
+ ```
192
+
193
+ Summary: Twitter List Timeline
194
+
195
+ | Field | Value |
196
+ |---|---|
197
+ | Endpoint ID | `sentiment.twitter_list_timeline` |
198
+ | HTTP | `GET` |
199
+ | Path | `/inner/v1/agent-data/sentiment/twitter_list_timeline` |
200
+ | Default provider | `twitter` |
201
+ | SDK | `supported` |
202
+ | Host | `supported` |
203
+ | Notes | - |
204
+
205
+ #### Query parameters
206
+
207
+ | Param | Required | Type | Default | Notes |
208
+ |---|---|---|---|---|
209
+ | `list_id` | `yes` | `string` | `-` | Twitter List ID to fetch tweets from. |
210
+ | `count` | `no` | `integer` | `20` | Number of tweets to return (max 100). |
211
+ | `cursor` | `no` | `string` | `` | Pagination cursor for next page. Leave empty for first page. |
212
+ | `provider` | `no` | `string` | `twitter` | - |
213
+
214
+ ---
215
+
216
+ ### `sentiment.twitter_search`
217
+
218
+ ```python
219
+ data.sentiment.twitter_search(query=..., count=20, cursor='', product='Latest', provider='twitter')
220
+ ```
221
+
222
+ Summary: Twitter Search
223
+
224
+ | Field | Value |
225
+ |---|---|
226
+ | Endpoint ID | `sentiment.twitter_search` |
227
+ | HTTP | `GET` |
228
+ | Path | `/inner/v1/agent-data/sentiment/twitter_search` |
229
+ | Default provider | `twitter` |
230
+ | SDK | `supported` |
231
+ | Host | `supported` |
232
+ | Notes | - |
233
+
234
+ #### Query parameters
235
+
236
+ | Param | Required | Type | Default | Notes |
237
+ |---|---|---|---|---|
238
+ | `query` | `yes` | `string` | `-` | Search query string. |
239
+ | `count` | `no` | `integer` | `20` | Number of tweets to return (max 40). |
240
+ | `cursor` | `no` | `string` | `` | Pagination cursor for next page. Leave empty for first page. |
241
+ | `product` | `no` | `string` | `Latest` | Timeline product type. One of 'Latest' or 'Top'. |
242
+ | `provider` | `no` | `string` | `twitter` | - |
243
+
244
+ ---
245
+
246
+ ### `sentiment.twitter_tweet_detail`
247
+
248
+ ```python
249
+ data.sentiment.twitter_tweet_detail(tweet_id=..., provider='twitter')
250
+ ```
251
+
252
+ Summary: Twitter Tweet Detail
253
+
254
+ | Field | Value |
255
+ |---|---|
256
+ | Endpoint ID | `sentiment.twitter_tweet_detail` |
257
+ | HTTP | `GET` |
258
+ | Path | `/inner/v1/agent-data/sentiment/twitter_tweet_detail` |
259
+ | Default provider | `twitter` |
260
+ | SDK | `supported` |
261
+ | Host | `supported` |
262
+ | Notes | - |
263
+
264
+ #### Query parameters
265
+
266
+ | Param | Required | Type | Default | Notes |
267
+ |---|---|---|---|---|
268
+ | `tweet_id` | `yes` | `string` | `-` | The focal tweet ID to fetch details for. |
269
+ | `provider` | `no` | `string` | `twitter` | - |
270
+
271
+ ---
272
+
273
+ ### `sentiment.twitter_user_by_id`
274
+
275
+ ```python
276
+ data.sentiment.twitter_user_by_id(user_id=..., provider='twitter')
277
+ ```
278
+
279
+ Summary: Twitter User By Id
280
+
281
+ | Field | Value |
282
+ |---|---|
283
+ | Endpoint ID | `sentiment.twitter_user_by_id` |
284
+ | HTTP | `GET` |
285
+ | Path | `/inner/v1/agent-data/sentiment/twitter_user_by_id` |
286
+ | Default provider | `twitter` |
287
+ | SDK | `supported` |
288
+ | Host | `supported` |
289
+ | Notes | - |
290
+
291
+ #### Query parameters
292
+
293
+ | Param | Required | Type | Default | Notes |
294
+ |---|---|---|---|---|
295
+ | `user_id` | `yes` | `string` | `-` | Twitter user ID (numeric string). |
296
+ | `provider` | `no` | `string` | `twitter` | - |
297
+
298
+ ---
299
+
300
+ ### `sentiment.twitter_user_by_name`
301
+
302
+ ```python
303
+ data.sentiment.twitter_user_by_name(screen_name=..., provider='twitter')
304
+ ```
305
+
306
+ Summary: Twitter User By Name
307
+
308
+ | Field | Value |
309
+ |---|---|
310
+ | Endpoint ID | `sentiment.twitter_user_by_name` |
311
+ | HTTP | `GET` |
312
+ | Path | `/inner/v1/agent-data/sentiment/twitter_user_by_name` |
313
+ | Default provider | `twitter` |
314
+ | SDK | `supported` |
315
+ | Host | `supported` |
316
+ | Notes | - |
317
+
318
+ #### Query parameters
319
+
320
+ | Param | Required | Type | Default | Notes |
321
+ |---|---|---|---|---|
322
+ | `screen_name` | `yes` | `string` | `-` | Twitter screen name / @handle (without @). |
323
+ | `provider` | `no` | `string` | `twitter` | - |