Complete tutorials and code examples for building with the Free Crypto News API. Every endpoint is covered with working code in multiple languages.
Base URL: https://cryptocurrency.cv
=== "Python"
```python
import requests
# Fetch latest news
response = requests.get("https://cryptocurrency.cv/api/news?limit=5")
news = response.json()
for article in news["articles"]:
print(f"📰 {article['title']}")
```
=== "JavaScript"
```javascript
// Fetch latest news
const response = await fetch("https://cryptocurrency.cv/api/news?limit=5");
const news = await response.json();
news.articles.forEach(article => {
console.log(`📰 ${article.title}`);
});
```
=== "cURL"
```bash
curl "https://cryptocurrency.cv/api/news?limit=5" | jq '.articles[].title'
```
Build news aggregators, alerts, and feeds.
| Tutorial | Description | Endpoints |
|---|---|---|
| News Feed Basics | Get started with the news API | /api/news, /api/latest, /api/breaking |
| Search & Filtering | Advanced search techniques | /api/search, /api/news/filter |
| Archive & Export | Historical data and exports | /api/archive, /api/export |
| International News | Multi-language news from 75+ sources | /api/news/international, sources, languages |
| Article Extraction | Full article content & AI detection | /api/article/[slug], /api/article/extract, /api/detect/ai-content |
Leverage AI for analysis, summarization, and insights.
| Tutorial | Description | Endpoints |
|---|---|---|
| AI Sentiment Analysis | Analyze market sentiment | /api/sentiment, /api/sentiment/analysis |
| AI Features | Full AI capabilities | /api/digest, /api/summarize, /api/ask, /api/ai/brief, /api/ai/debate, /api/ai/agent |
Access real-time market intelligence.
| Tutorial | Description | Endpoints |
|---|---|---|
| Trading Signals | Trading intelligence | /api/signals, /api/arbitrage, /api/funding, /api/liquidations, /api/whales |
| Market Data | Price and exchange data | /api/market/coins, /api/market/ohlc, /api/market/exchanges, /api/fear-greed |
Track decentralized finance and digital collectibles.
| Tutorial | Description | Endpoints |
|---|---|---|
| DeFi & NFT | DeFi protocols, yields, NFT data | /api/defi, /api/defi/protocols, /api/defi/yields, /api/nft, /api/nft/collections |
Deep research and intelligence tools.
| Tutorial | Description | Endpoints |
|---|---|---|
| Analytics & Research | Advanced analytics | /api/narratives, /api/regulatory, /api/analytics/anomalies, /api/analytics/credibility |
Track social media sentiment and influencers.
| Tutorial | Description | Endpoints |
|---|---|---|
| Social Intelligence | Social metrics | /api/social, /api/social/x/sentiment, /api/social/monitor, /api/social/influencer-score |
Personal investment tracking.
| Tutorial | Description | Endpoints |
|---|---|---|
| Portfolio & Watchlist | Portfolio management | /api/portfolio, /api/portfolio/holdings, /api/watchlist, /api/watchlist/alerts |
Advanced premium capabilities.
| Tutorial | Description | Endpoints |
|---|---|---|
| Premium Features | Premium API access | /api/premium/status, /api/premium/usage, /api/premium/analytics, /api/premium/reports |
Build real-time streaming applications.
| Tutorial | Description | Endpoints |
|---|---|---|
| Real-time SSE | Server-Sent Events | /api/sse, /api/stream |
| User Alerts | Alert configuration | /api/alerts, /api/alerts/rules |
| Webhooks | Webhook integrations | /api/webhooks, /api/webhooks/create, /api/webhooks/events |
API configuration and metadata.
| Tutorial | Description | Endpoints |
|---|---|---|
| Utility Endpoints | Health, sources, config | /api/health, /api/sources, /api/categories, /api/config, /api/openapi |
Full SDK implementations with all endpoints:
| SDK | Location | Description |
|---|---|---|
| Python SDK | examples/python/crypto_news_sdk.py | Complete Python SDK with all endpoints |
| TypeScript SDK | examples/typescript/crypto-news-sdk.ts | Type-safe TypeScript SDK |
| JavaScript SDK | examples/javascript/complete-api.js | Comprehensive JavaScript SDK |
Complete integration examples for popular platforms:
| Example | Language | Description |
|---|---|---|
| Discord Bot | JavaScript | News bot for Discord |
| Slack Bot | JavaScript | News bot for Slack |
| Telegram Bot | Python | News bot for Telegram |
| LangChain Tool | Python | AI agent integration |
| Real-time Stream | JavaScript | SSE streaming example |
| Sentiment Analysis | Python | AI sentiment example |
For premium API access with micropayments:
| Example | Language | Description |
|---|---|---|
| x402 TypeScript | TypeScript | Using @x402/fetch |
| x402 Python | Python | Manual payment flow |
| x402 Go | Go | Server-side integration |