-
-
Notifications
You must be signed in to change notification settings - Fork 10
Expand file tree
/
Copy pathcomplete-api.js
More file actions
828 lines (697 loc) · 25 KB
/
complete-api.js
File metadata and controls
828 lines (697 loc) · 25 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
/**
* @copyright 2024-2026 nirholas. All rights reserved.
* @license SPDX-License-Identifier: SEE LICENSE IN LICENSE
* @see https://github.com/nirholas/free-crypto-news
*
* This file is part of free-crypto-news.
* Unauthorized copying, modification, or distribution is strictly prohibited.
* For licensing inquiries: nirholas@users.noreply.github.com
*/
/**
* Free Crypto News API - Complete JavaScript SDK Examples
*
* This file contains working examples for ALL API endpoints.
* No API key required - all endpoints are free and open.
*
* Base URL: https://cryptocurrency.cv
*
* @author Free Crypto News
* @license MIT
*/
const BASE_URL = "https://cryptocurrency.cv";
// =============================================================================
// UTILITY FUNCTIONS
// =============================================================================
/**
* Make a GET request to the API.
* @param {string} endpoint - API endpoint path
* @param {Object} params - Query parameters
* @returns {Promise<Object>} API response
*/
async function get(endpoint, params = {}) {
const url = new URL(`${BASE_URL}${endpoint}`);
Object.entries(params).forEach(([key, value]) => {
if (value !== undefined && value !== null) {
url.searchParams.set(key, String(value));
}
});
const response = await fetch(url.toString());
if (!response.ok) {
throw new Error(`HTTP ${response.status}: ${response.statusText}`);
}
return response.json();
}
/**
* Make a POST request to the API.
* @param {string} endpoint - API endpoint path
* @param {Object} body - Request body
* @returns {Promise<Object>} API response
*/
async function post(endpoint, body = {}) {
const response = await fetch(`${BASE_URL}${endpoint}`, {
method: "POST",
headers: { "Content-Type": "application/json" },
body: JSON.stringify(body)
});
if (!response.ok) {
throw new Error(`HTTP ${response.status}: ${response.statusText}`);
}
return response.json();
}
// =============================================================================
// 📰 NEWS ENDPOINTS
// =============================================================================
/** Get aggregated news from all sources */
export async function getNews(options = {}) {
const { limit = 20, source, category, page, perPage, from, to, lang } = options;
return get("/api/news", { limit, source, category, page, per_page: perPage, from, to, lang });
}
/** Get international news from 75+ sources */
export async function getInternationalNews(options = {}) {
const { language, region, translate, limit, sources } = options;
return get("/api/news/international", { language, region, translate, limit, sources });
}
/** Extract full article content from URL */
export async function extractArticle(url) {
return post("/api/news/extract", { url });
}
/** Get available news categories */
export async function getCategories() {
return get("/api/news/categories");
}
/** Get Bitcoin-specific news */
export async function getBitcoinNews(options = {}) {
const { limit = 20, lang } = options;
return get("/api/bitcoin", { limit, lang });
}
/** Get DeFi news */
export async function getDefiNews(options = {}) {
const { limit = 20, lang } = options;
return get("/api/defi", { limit, lang });
}
/** Get breaking news (1-min cache) */
export async function getBreakingNews(options = {}) {
const { limit, lang } = options;
return get("/api/breaking", { limit, lang });
}
/** Search news articles */
export async function searchNews(query, options = {}) {
const { limit = 20, lang, from, to } = options;
return get("/api/search", { q: query, limit, lang, from, to });
}
/** Get trending topics */
export async function getTrending(limit = 10) {
return get("/api/trending", { limit });
}
/** Get all available sources */
export async function getSources() {
return get("/api/sources");
}
// =============================================================================
// 🤖 AI-POWERED ENDPOINTS
// =============================================================================
/** Get AI-generated daily digest */
export async function getDigest(options = {}) {
const { period = "24h", format = "full" } = options;
return get("/api/digest", { period, format });
}
/** Get sentiment analysis */
export async function getSentiment(options = {}) {
const { asset, limit = 20 } = options;
return get("/api/sentiment", { asset, limit });
}
/** Summarize an article by URL */
export async function summarizeArticle(url) {
return get("/api/summarize", { url });
}
/** Ask AI questions about crypto news */
export async function askAI(question, context) {
return get("/api/ask", { q: question, context });
}
/** Unified AI endpoint for various actions */
export async function aiRequest(action, options = {}) {
return post("/api/ai", { action, ...options });
}
/** Get AI market brief */
export async function getAIBrief(options = {}) {
const { date, format } = options;
return get("/api/ai/brief", { date, format });
}
/** Generate AI debate (bull vs bear) */
export async function aiDebate(topic, article) {
return post("/api/ai/debate", { topic, article });
}
/** Generate counter-arguments */
export async function aiCounter(claim, context) {
return post("/api/ai/counter", { claim, context });
}
/** AI Market Intelligence Agent */
export async function aiAgent(options = {}) {
const { format = "full" } = options;
return get("/api/ai/agent", { format });
}
/** Query AI Agent with natural language */
export async function queryAIAgent(question, options = {}) {
const { assets, timeHorizon, focusAreas } = options;
return post("/api/ai/agent", { question, assets, timeHorizon, focusAreas });
}
/** Natural language oracle queries */
export async function queryOracle(question, options = {}) {
const { context, format } = options;
return get("/api/oracle", { q: question, context, format });
}
/** Detect AI-generated content */
export async function detectAIContent(text, quick = false) {
return post("/api/detect/ai-content", { text, quick });
}
// =============================================================================
// 📊 TRADING & MARKET APIs
// =============================================================================
/** Get arbitrage opportunities */
export async function getArbitrage(options = {}) {
const { pairs, minSpread = 0.5, exchanges } = options;
const params = { minSpread };
if (pairs) params.pairs = Array.isArray(pairs) ? pairs.join(",") : pairs;
if (exchanges) params.exchanges = Array.isArray(exchanges) ? exchanges.join(",") : exchanges;
return get("/api/arbitrage", params);
}
/** Get AI trading signals */
export async function getSignals(options = {}) {
const { asset, timeframe = "1h" } = options;
return get("/api/signals", { asset, timeframe });
}
/** Get perpetual funding rates */
export async function getFundingRates(options = {}) {
const { symbol, exchanges } = options;
return get("/api/funding", { symbol, exchanges });
}
/** Get options flow data */
export async function getOptionsFlow(options = {}) {
const { asset = "BTC", exchange, type } = options;
return get("/api/options", { asset, exchange, type });
}
/** Get liquidation data */
export async function getLiquidations(options = {}) {
const { symbol, side, minValue = 100000, period = "24h" } = options;
return get("/api/liquidations", { symbol, side, minValue, period });
}
/** Get whale alerts */
export async function getWhaleAlerts(options = {}) {
const { asset, minValue = 1000000, type } = options;
return get("/api/whale-alerts", { asset, minValue, type });
}
/** Get order book data */
export async function getOrderbook(options = {}) {
const { symbol = "BTCUSDT", depth = 20, exchanges } = options;
return get("/api/orderbook", { symbol, depth, exchanges });
}
/** Get Fear & Greed Index */
export async function getFearGreed(days = 7) {
return get("/api/fear-greed", { days });
}
// =============================================================================
// 📈 MARKET DATA APIs
// =============================================================================
/** Get coin market data */
export async function getCoins(options = {}) {
const { ids, vsCurrency = "usd", order, perPage } = options;
return get("/api/market/coins", { ids, vs_currency: vsCurrency, order, per_page: perPage });
}
/** Get OHLC candlestick data */
export async function getOHLC(coinId, options = {}) {
const { days = 30, interval } = options;
return get(`/api/market/ohlc/${coinId}`, { days, interval });
}
/** Get exchange data */
export async function getExchanges() {
return get("/api/market/exchanges");
}
/** Get derivatives market data */
export async function getDerivatives() {
return get("/api/market/derivatives");
}
/** Get market categories */
export async function getMarketCategories() {
return get("/api/market/categories");
}
/** Search market data */
export async function searchMarket(query) {
return get("/api/market/search", { q: query });
}
// =============================================================================
// 🔬 AI ANALYSIS APIs
// =============================================================================
/** Detect narrative clusters */
export async function getNarratives(options = {}) {
const { period, limit } = options;
return get("/api/narratives", { period, limit });
}
/** Extract named entities */
export async function getEntities(options = {}) {
const { url, text } = options;
return get("/api/entities", { url, text });
}
/** Extract and verify claims */
export async function getClaims(url) {
return get("/api/claims", { url });
}
/** Detect clickbait headlines */
export async function detectClickbait(headline) {
return get("/api/clickbait", { headline });
}
/** Detect original news source */
export async function getOrigins(url) {
return get("/api/origins", { url });
}
/** Extract relationships from article */
export async function getRelationships(url) {
return get("/api/relationships", { url });
}
// =============================================================================
// 📊 RESEARCH & ANALYTICS APIs
// =============================================================================
/** Get regulatory intelligence */
export async function getRegulatoryNews(options = {}) {
const { jurisdiction, type } = options;
return get("/api/regulatory", { jurisdiction, type });
}
/** Get/submit predictions */
export async function getPredictions(options = {}) {
const { action, asset, predictor } = options;
return get("/api/predictions", { action, asset, predictor });
}
/** Submit a prediction */
export async function submitPrediction(prediction) {
return post("/api/predictions", prediction);
}
/** Get influencer tracking data */
export async function getInfluencers(options = {}) {
const { platform, limit, sortBy, minCalls, ticker } = options;
return get("/api/influencers", { platform, limit, sortBy, minCalls, ticker });
}
/** Detect anomalies in news flow */
export async function getAnomalies(options = {}) {
const { hours = 24, severity } = options;
return get("/api/analytics/anomalies", { hours, severity });
}
/** Track headline changes */
export async function getHeadlineTracking(options = {}) {
const { hours = 24, changesOnly } = options;
return get("/api/analytics/headlines", { hours, changesOnly });
}
/** Get source credibility scores */
export async function getCredibilityScores(options = {}) {
const { source, sortBy } = options;
return get("/api/analytics/credibility", { source, sortBy });
}
/** Causal analysis */
export async function getCausality(options = {}) {
const { eventId, type, asset, limit } = options;
return get("/api/analytics/causality", { eventId, type, asset, limit });
}
// =============================================================================
// 📱 SOCIAL INTELLIGENCE APIs
// =============================================================================
/** Get aggregated social sentiment */
export async function getSocialSentiment(options = {}) {
const { asset, platforms } = options;
return get("/api/social", { asset, platforms });
}
/** Get Twitter/X sentiment */
export async function getTwitterSentiment(options = {}) {
const { query, accounts } = options;
return get("/api/social/x/sentiment", { query, accounts });
}
/** Monitor Discord/Telegram */
export async function getSocialMonitor(options = {}) {
const { platform, hours, sentiment } = options;
return get("/api/social/monitor", { platform, hours, sentiment });
}
/** Get influencer reliability scores */
export async function getInfluencerScores(options = {}) {
const { username, platform, limit, sort } = options;
return get("/api/social/influencer-score", { username, platform, limit, sort });
}
// =============================================================================
// 💎 PREMIUM ENDPOINTS
// =============================================================================
/** Get premium subscription status */
export async function getPremiumStatus() {
return get("/api/premium");
}
/** Get advanced AI signals (premium) */
export async function getPremiumSignals(options = {}) {
const { assets, strategy, backtest } = options;
return get("/api/premium/ai/signals", { assets, strategy, backtest });
}
/** Get whale transactions (premium) */
export async function getPremiumWhales(options = {}) {
const { minValue, assets, realtime } = options;
return get("/api/premium/whales/transactions", { minValue, assets, realtime });
}
/** Advanced token screener (premium) */
export async function getPremiumScreener(options = {}) {
const { filters, sort, limit } = options;
return get("/api/premium/screener/advanced", { filters, sort, limit });
}
/** Smart money wallet tracking (premium) */
export async function getSmartMoney() {
return get("/api/premium/smart-money");
}
// =============================================================================
// 👤 USER FEATURES
// =============================================================================
/** Create an alert */
export async function createAlert(alert) {
return post("/api/alerts", alert);
}
/** List alerts */
export async function listAlerts(userId) {
return get("/api/alerts", { userId });
}
/** Get alert by ID */
export async function getAlert(id) {
return get(`/api/alerts/${id}`);
}
/** Update alert */
export async function updateAlert(id, updates) {
const response = await fetch(`${BASE_URL}/api/alerts/${id}`, {
method: "PUT",
headers: { "Content-Type": "application/json" },
body: JSON.stringify(updates)
});
return response.json();
}
/** Delete alert */
export async function deleteAlert(id) {
const response = await fetch(`${BASE_URL}/api/alerts/${id}`, {
method: "DELETE"
});
return response.json();
}
/** Register webhook */
export async function registerWebhook(options) {
return post("/api/webhooks", options);
}
/** Test webhook */
export async function testWebhook(webhookId) {
return post("/api/webhooks/test", { webhookId });
}
/** Get webhook queue status */
export async function getWebhookQueue() {
return get("/api/webhooks/queue");
}
/** Subscribe to newsletter */
export async function subscribeNewsletter(email, options = {}) {
const { frequency, categories } = options;
return post("/api/newsletter", { action: "subscribe", email, frequency, categories });
}
// =============================================================================
// 💼 PORTFOLIO APIs
// =============================================================================
/** Create/update portfolio */
export async function updatePortfolio(options) {
return post("/api/portfolio", options);
}
/** Get portfolio */
export async function getPortfolio(id) {
return get("/api/portfolio", { id });
}
/** Get portfolio performance */
export async function getPortfolioPerformance() {
return get("/api/portfolio/performance");
}
/** Get portfolio tax report */
export async function getPortfolioTax(options = {}) {
const { year, jurisdiction } = options;
return get("/api/portfolio/tax", { year, jurisdiction });
}
// =============================================================================
// 🗄️ ARCHIVE & EXPORT
// =============================================================================
/** Query historical archive */
export async function getArchive(options = {}) {
const { date, start, end, source, ticker, search, limit, offset } = options;
return get("/api/archive", { date, start, end, source, ticker, search, limit, offset });
}
/** Query archive with advanced filtering (v2 now redirects to main archive) */
export async function getArchiveV2(options = {}) {
const { start_date, end_date, source, ticker, q, sentiment, tags, limit, offset, format, lang } = options;
return get("/api/archive", { start_date, end_date, source, ticker, q, sentiment, tags, limit, offset, format, lang });
}
/** Get archive health status */
export async function getArchiveStatus() {
return get("/api/archive/status");
}
/** Export data */
export async function exportData(options = {}) {
const { type, format = "json", from, to } = options;
return get("/api/export", { type, format, from, to });
}
/** List export jobs */
export async function listExports(options = {}) {
const { schema, archives } = options;
return get("/api/exports", { schema, archives });
}
/** Get export job status */
export async function getExportJob(id, download = false) {
return get(`/api/exports/${id}`, { download });
}
// =============================================================================
// 📡 FEED FORMATS
// =============================================================================
/** Get RSS feed */
export async function getRSSFeed(options = {}) {
const { feed, limit } = options;
return get("/api/rss", { feed, limit });
}
/** Get Atom feed */
export async function getAtomFeed(options = {}) {
const { feed, limit } = options;
return get("/api/atom", { feed, limit });
}
/** Get OPML export */
export async function getOPML() {
return get("/api/opml");
}
// =============================================================================
// 🏷️ TAGS & DISCOVERY
// =============================================================================
/** Get all tags */
export async function getTags(category) {
return get("/api/tags", { category });
}
/** Get tag details with articles */
export async function getTagArticles(slug, limit) {
return get(`/api/tags/${slug}`, { limit });
}
// =============================================================================
// 🔧 UTILITY ENDPOINTS
// =============================================================================
/** Health check */
export async function getHealth() {
return get("/api/health");
}
/** Get API statistics */
export async function getStats() {
return get("/api/stats");
}
/** Get cache status */
export async function getCacheStatus() {
return get("/api/cache");
}
/** Clear cache */
export async function clearCache() {
const response = await fetch(`${BASE_URL}/api/cache`, { method: "DELETE" });
return response.json();
}
/** Get OpenAPI specification */
export async function getOpenAPISpec() {
return get("/api/openapi.json");
}
// =============================================================================
// 📺 TRADINGVIEW UDF API
// =============================================================================
/** TradingView config */
export async function getTradingViewConfig() {
return get("/api/tradingview", { action: "config" });
}
/** TradingView symbol search */
export async function searchTradingViewSymbols(query) {
return get("/api/tradingview", { action: "search", query });
}
/** TradingView history */
export async function getTradingViewHistory(options) {
const { symbol, from, to, resolution } = options;
return get("/api/tradingview", { action: "history", symbol, from, to, resolution });
}
// =============================================================================
// 🏛️ DEFI APIs
// =============================================================================
/** Get DeFi protocol health */
export async function getProtocolHealth(options = {}) {
const { protocol, chain } = options;
return get("/api/defi/protocol-health", { protocol, chain });
}
/** Get on-chain events */
export async function getOnchainEvents(options = {}) {
const { chain, type } = options;
return get("/api/onchain/events", { chain, type });
}
// =============================================================================
// 📊 VIEWS & ANALYTICS TRACKING
// =============================================================================
/** Get article view counts */
export async function getViews(options = {}) {
const { ids, limit, sort } = options;
return get("/api/views", { ids, limit, sort });
}
/** Record article view */
export async function recordView(articleId) {
return post("/api/views", { articleId });
}
// =============================================================================
// EXAMPLE USAGE
// =============================================================================
async function runExamples() {
console.log("=".repeat(60));
console.log("🚀 FREE CRYPTO NEWS API - JAVASCRIPT EXAMPLES");
console.log("=".repeat(60));
try {
// 1. News
console.log("\n📰 1. Latest News");
const news = await getNews({ limit: 5 });
news.articles?.slice(0, 3).forEach(a => console.log(` - ${a.title.slice(0, 50)}...`));
// 2. Bitcoin News
console.log("\n₿ 2. Bitcoin News");
const btc = await getBitcoinNews({ limit: 3 });
(btc.articles || btc).slice(0, 3).forEach(a => console.log(` - ${a.title.slice(0, 50)}...`));
// 3. Trending
console.log("\n🔥 3. Trending Topics");
const trending = await getTrending(5);
(trending.topics || trending).slice(0, 5).forEach(t => {
console.log(` - ${t.keyword || t}`);
});
// 4. Fear & Greed
console.log("\n😨 4. Fear & Greed Index");
const fg = await getFearGreed();
console.log(` Value: ${fg.value}/100 - ${fg.classification}`);
// 5. Sentiment
console.log("\n📊 5. Market Sentiment");
const sentiment = await getSentiment({ limit: 20 });
console.log(` Overall: ${sentiment.market?.overall || 'N/A'}`);
// 6. Whale Alerts
console.log("\n🐋 6. Whale Alerts");
const whales = await getWhaleAlerts({ minValue: 5000000 });
(whales.alerts || []).slice(0, 3).forEach(w => {
console.log(` - ${w.asset}: $${(w.value || 0).toLocaleString()}`);
});
console.log("\n" + "=".repeat(60));
console.log("✅ All examples completed!");
console.log("=".repeat(60));
} catch (error) {
console.error("Error:", error.message);
}
}
// Run if executed directly
if (typeof require !== 'undefined' && require.main === module) {
runExamples();
}
// Export for module usage
export default {
getNews,
getInternationalNews,
extractArticle,
getCategories,
getBitcoinNews,
getDefiNews,
getBreakingNews,
searchNews,
getTrending,
getSources,
getDigest,
getSentiment,
summarizeArticle,
askAI,
aiRequest,
getAIBrief,
aiDebate,
aiCounter,
aiAgent,
queryAIAgent,
queryOracle,
detectAIContent,
getArbitrage,
getSignals,
getFundingRates,
getOptionsFlow,
getLiquidations,
getWhaleAlerts,
getOrderbook,
getFearGreed,
getCoins,
getOHLC,
getExchanges,
getDerivatives,
getMarketCategories,
searchMarket,
getNarratives,
getEntities,
getClaims,
detectClickbait,
getOrigins,
getRelationships,
getRegulatoryNews,
getPredictions,
submitPrediction,
getInfluencers,
getAnomalies,
getHeadlineTracking,
getCredibilityScores,
getCausality,
getSocialSentiment,
getTwitterSentiment,
getSocialMonitor,
getInfluencerScores,
getPremiumStatus,
getPremiumSignals,
getPremiumWhales,
getPremiumScreener,
getSmartMoney,
createAlert,
listAlerts,
getAlert,
updateAlert,
deleteAlert,
registerWebhook,
testWebhook,
getWebhookQueue,
subscribeNewsletter,
updatePortfolio,
getPortfolio,
getPortfolioPerformance,
getPortfolioTax,
getArchive,
getArchiveV2,
getArchiveStatus,
exportData,
listExports,
getExportJob,
getRSSFeed,
getAtomFeed,
getOPML,
getTags,
getTagArticles,
getHealth,
getStats,
getCacheStatus,
clearCache,
getOpenAPISpec,
getTradingViewConfig,
searchTradingViewSymbols,
getTradingViewHistory,
getProtocolHealth,
getOnchainEvents,
getViews,
recordView
};