Free Crypto News API

repository·main·Indexed 42 days ago

https://github.com/nirholas/cryptocurrency.cv

A free cryptocurrency news and market data service featuring 300+ sources, 450+ endpoints, and AI-powered analysis. It provides a hosted API at cryptocurrency.cv requiring no API key, along with a CLI (fcn), an Alfred workflow, a GitHub Copilot extension, and an OpenAPI schema for ChatGPT Custom GPTs. Capabilities include real-time news, live prices for 100+ coins, Fear & Greed Index, Ethereum gas prices, and AI-driven sentiment analysis.

Tokens
798K
Snippets
2.1K
Records
3K
Agent score
52%

What's inside Free Crypto News

  1. Overview of Free Crypto News API capabilities

    main

    The Free Crypto News API is an open crypto intelligence platform providing real-time news aggregation, market data, and AI-driven insights.

    Core Capabilities:

    • News Aggregation: Real-time aggregation from 7 sources, including RSS/Atom feeds and X/Twitter social signals (via XActions).
    • Market Intelligence: Sentiment analysis, entity/ticker extraction, story clustering, and market context capture (CoinGecko + DeFiLlama).
    • On-Chain Data: Tracking Bitcoin on-chain events (Mempool.space), DeFi TVL, DEX volumes, and liquidations.
    • AI Features: Natural language queries over news data ("The Oracle"), AI-powered summarization, and event classification.
    • Developer Tools: SDKs for Python, JavaScript, TypeScript, Go, PHP, React, Rust, and Ruby; an MCP server for AI assistants; and embeddable widgets.
    • Market Tools: Crypto calculators, Ethereum gas trackers, market heatmaps, and correlation matrices.
  2. Overview of AI Features and Intelligence Suite

    main

    Free Crypto News provides several tiers of AI capabilities:

    Core AI Features

    • Summarization: 5 styles (brief, detailed, bullet, eli5, technical).
    • Sentiment Analysis: Returns a score from -1 to 1.
    • Entity Extraction: Extracts 12 types (person, org, crypto, token, exchange, protocol, event, regulation, tech, location, financial_metric, other).
    • Relationship Mapping: Maps relationships between entities.
    • Fact Checking: Verifies claims (verified, likely, unverified, disputed).
    • Translation: Supports 18 languages.

    AI Intelligence Suite

    • News Synthesis: Clusters duplicate articles into summaries.
    • Trending Explainer: Explains why topics are trending.
    • Portfolio News: Scores news relevance to specific holdings.
    • News-Price Correlation: Detects correlations between news and price.
    • Narrative Tracker: Tracks crypto narratives through lifecycle phases.
    • Source Quality: Detects clickbait and scores sources.
  3. Overview of the RAG System

    main
    The RAG (Retrieval-Augmented Generation) system is a production-grade pipeline designed for intelligent question answering over cryptocurrency news articles. It combines vector similarity search with large language models (LLMs) to provide accurate answers that include source citations. The system is implemented using TypeScript and Next.js, adapted from a Java/Spring AI implementation.
  4. Overview of the On-Chain Data Ecosystem

    main

    Developers can access blockchain data through several different platforms depending on their specific needs (ad-hoc analysis, protocol-specific data, or real-time queries):

    PlatformQuery LanguageBest For
    Dune AnalyticsSQL (DuneSQL)Ad-hoc analysis, dashboards
    Flipside CryptoSQLResearch, historical queries
    The GraphGraphQLProtocol-specific data
    AlliumSQLEnterprise, high volume
    Direct RPCJSON-RPCReal-time, specific queries
    NansenDashboardWallet labeling, tracking
  5. Overview of Crypto Vision API Categories

    main

    The Crypto Vision API provides a wide range of endpoints categorized by market sector and functionality. Key categories include:

    • AI Analysis: High-level intelligence and content generation.
    • Market Data & News: Extensive coverage of market metrics and news content.
    • Ecosystem Specific: Dedicated endpoints for Bitcoin, Solana, Aptos, Sui, DeFi, Layer 2, and more.
    • Intelligence: Social intelligence, On-Chain & Whales, and Analytics.
    • Premium Tiers: Specialized access for Premium AI, Alerts, Analytics, and specific market data segments.
  6. Overview of Data API Integrations

    main

    Free Crypto News integrates with over 10 professional data APIs, organized into namespaced modules for clean imports. These integrations range from free services like DefiLlama and L2Beat to paid professional services like CoinMarketCap and Glassnode.

    import { 
      coinmarketcap, 
      defillama, 
      glassnode, 
      cryptoquant,
      l2beat,
      lunarcrush,
      messari,
      nftMarkets,
      newsFeeds,
      thegraph
    } from '@/lib/apis';
  7. Overview of Free Crypto News API Tutorial Categories

    main

    The API provides specialized endpoints across several domains. Key categories include:

    • News Endpoints: Basics, search, filtering, archives, and international news.
    • AI-Powered Features: Sentiment analysis, summarization, and AI-driven Q&A.
    • Trading & Market Data: Signals, arbitrage, funding, liquidations, and market metrics.
    • DeFi & NFT: Protocol tracking, yields, and NFT collection data.
    • Research & Analytics: Narratives, regulatory tracking, and anomaly detection.
    • Social Intelligence: Social metrics and influencer scoring.
    • Portfolio & Watchlist: Holdings and alert management.
    • Real-time & Streaming: Server-Sent Events (SSE) and user alerts.
    • Utility & Meta: Health, versioning, and OpenAPI discovery.
  8. Overview of the Crypto News RAG System (v1.0)

    main

    The Crypto News RAG (Retrieval-Augmented Generation) System is a sophisticated pipeline designed to provide accurate, context-aware answers to questions about cryptocurrency news.

    As of version 1.0, the system is complete and includes:

    • Hybrid Search: Combines BM25 and semantic search using Reciprocal Rank Fusion (RRF).
    • Advanced Reranking: Utilizes LLMs, time decay, and Maximal Marginal Relevance (MMR).
    • Query Processing: Supports intent detection, HyDE (Hypothetical Document Embeddings), and query decomposition.
    • Agentic RAG: Multi-hop reasoning for complex queries.
    • Self-RAG: Features adaptive retrieval and hallucination detection.
    • Advanced UI/UX Features: Answer attribution (inline citations), confidence scoring, and streaming responses via SSE.
    • Storage: Multi-tier vector storage using local files and Redis.
  9. Assess current architecture for scaling Free Crypto News

    main

    Before scaling to 1M+ users, evaluate the existing architecture against these key components and known gaps:

    Current Strengths

    • Edge runtime: ~82% of routes run on edge for low global latency.
    • Provider system: Uses fallback chains with circuit breakers for resilience.
    • Data Coverage: 163 RSS feeds + 77 international feeds.
    • Caching Strategy: 3-tier cache (in-memory → Redis → NGINX).
    • Load Balancing: Docker Compose setup with NGINX and rate limiting.

    Critical Gaps (Prioritized)

    • P0 (Immediate): Lack of a persistent database (causes data loss on restart) and lack of a job queue (relies on cron-based polling without retry/backpressure).
    • P1 (High): Single-region deployment (high latency), in-memory RSS fetching (memory pressure/SPOF), and lack of a full-text search engine.
    • P2 (Medium): Per-instance memory cache (causes inconsistency across replicas) and lack of an observability stack.
  10. Explore Free Crypto News MCP Tools

    main

    The Free Crypto News MCP server provides 59 tools that map directly to REST API routes. These tools allow an AI agent or user to interact with real-time cryptocurrency news, market data, DeFi metrics, derivatives, and on-chain information. The tools are categorized into several functional groups:

    • News: Latest headlines, breaking news, full-text search, article extraction, and historical archives.
    • Analysis: Trending topics, market narratives, sentiment analysis, and trading signals.
    • Market: Global market overview, coin prices, top gainers/losers, OHLC data, and price charts.
    • DeFi: TVL summaries, yield opportunities, stablecoin data, and gas prices.
    • Derivatives: Funding rates, liquidations, options data, and arbitrage opportunities.
    • On-chain: Whale alerts, exchange flows, token unlocks, and event calendars.
    • Reference: Exchange directories, news source lists, and macro indicators.
    • AI: News summarization, natural-language questions (ask_crypto), and daily AI briefs.
    • Provenance: Story clustering (grouping headlines into single events) and source leaderboards.
  11. Use Crypto News hooks and components

    main

    The SDK provides both drop-in components and custom hooks for full control over data fetching and rendering.

    Components

    • <CryptoNews />: News feed widget.
    • <CryptoNewsTicker />: Scrolling news ticker.
    • <PriceTicker />: Price bar.
    • <PriceChart />: Interactive price chart.
    • <FearGreedGauge />: Fear & Greed visualization.
    • <OrderbookDepth />: Order book display.
    • <AllocationPieChart />: Portfolio allocation.
    • <PortfolioChart />: Performance chart.

    Hooks

    • News: useCryptoNews, useTrendingTopics, useNewsStream (WebSocket).
    • Market: usePrices, useMarketData, useFearGreed, usePriceStream (WebSocket).
    • Trading: useSignals, useWhaleAlerts, useFundingRates, useLiquidations, useOrderbook, useArbitrage.
    • Portfolio: usePortfolio, useWatchlist, usePriceAlerts, usePortfolioHistory.