# Solscan API Documentation > Solscan provides comprehensive blockchain data APIs for the Solana ecosystem, offering both public and pro API access to blockchain information, account data, token analytics, NFT data, transaction details, and market information. Solscan API Documentation provides developers with access to real-time blockchain data through RESTful APIs. The documentation includes interactive testing interfaces, code examples in multiple programming languages (JavaScript, Python, Shell, Go, C#), and comprehensive endpoint documentation with request/response schemas. ## API Public - [Chain Information](https://pro-api.solscan.io/pro-api-docs/v2.0/reference/chaininfo.md): Get blockchain overall information including block height, current epoch, absolute slot, and transaction count ## API Pro ### Account APIs - [Account Detail](https://pro-api.solscan.io/pro-api-docs/v2.0/reference/v2-account-detail.md): Get detailed account information including lamports, type, executable status, owner program, and rent epoch - [Account Transfer](https://pro-api.solscan.io/pro-api-docs/v2.0/reference/v2-account-transfer.md): Get transfer data of an account with activity type filtering - [Account DeFi Activities](https://pro-api.solscan.io/pro-api-docs/v2.0/reference/v2-account-defi-activities.md): Get DeFi activities for an account - [Account Balance Change](https://pro-api.solscan.io/pro-api-docs/v2.0/reference/v2-account-balance_change.md): Get balance change history for an account - [Account Transactions](https://pro-api.solscan.io/pro-api-docs/v2.0/reference/v2-account-transactions.md): Get transaction history for an account - [Account Portfolio](https://pro-api.solscan.io/pro-api-docs/v2.0/reference/v2-account-portfolio.md): Get portfolio information for an account - [Account Token Accounts](https://pro-api.solscan.io/pro-api-docs/v2.0/reference/v2-account-token-accounts.md): Get token accounts for an account - [Account Stake](https://pro-api.solscan.io/pro-api-docs/v2.0/reference/v2-account-stake.md): Get staking information for an account - [Stake Rewards Export](https://pro-api.solscan.io/pro-api-docs/v2.0/reference/v2-account-reward-export.md): Export reward data for an account - [Account Transfer Export](https://pro-api.solscan.io/pro-api-docs/v2.0/reference/v2-account-transfer-export.md): Export transfer data for an account - [Account Metadata](https://pro-api.solscan.io/pro-api-docs/v2.0/reference/v2-account-metadata.md): Get account metadata - [Account Leaderboard](https://pro-api.solscan.io/pro-api-docs/v2.0/reference/v2-account-leaderboard.md): Get account leaderboard data - [Account DeFi Activities Export](https://pro-api.solscan.io/pro-api-docs/v2.0/reference/v2-account-defi-activities-export.md): Export DeFi activities for an account ### Token APIs - [Token Transfer](https://pro-api.solscan.io/pro-api-docs/v2.0/reference/v2-token-transfer.md): Get token transfer data - [Token DeFi Activities](https://pro-api.solscan.io/pro-api-docs/v2.0/reference/v2-token-defi-activities.md): Get DeFi activities for a token - [Token Markets](https://pro-api.solscan.io/pro-api-docs/v2.0/reference/v2-token-markets.md): Get market information for a token - [Token Meta](https://pro-api.solscan.io/pro-api-docs/v2.0/reference/v2-token-meta.md): Get token metadata - [Token Meta Multi](https://pro-api.solscan.io/pro-api-docs/v2.0/reference/v2-token-meta-multi.md): Get metadata for multiple tokens - [Token Price](https://pro-api.solscan.io/pro-api-docs/v2.0/reference/v2-token-price.md): Get token price information - [Token Price Multi](https://pro-api.solscan.io/pro-api-docs/v2.0/reference/v2-token-price-multi.md): Get price information for multiple tokens - [Token Holders](https://pro-api.solscan.io/pro-api-docs/v2.0/reference/v2-token-holders.md): Get token holders information - [Token List](https://pro-api.solscan.io/pro-api-docs/v2.0/reference/v2-token-list.md): Get list of tokens - [Token Top](https://pro-api.solscan.io/pro-api-docs/v2.0/reference/v2-token-top.md): Get top tokens - [Token Trending](https://pro-api.solscan.io/pro-api-docs/v2.0/reference/v2-token-trending.md): Get trending tokens - [Token Latest](https://pro-api.solscan.io/pro-api-docs/v2.0/reference/v2-token-latest.md): Get latest tokens - [Token DeFi Activities Export](https://pro-api.solscan.io/pro-api-docs/v2.0/reference/v2-token-defi-activities-export.md): Export DeFi activities for a token ### NFT APIs - [NFT News](https://pro-api.solscan.io/pro-api-docs/v2.0/reference/v2-nft-news.md): Get NFT news and updates - [NFT Activities](https://pro-api.solscan.io/pro-api-docs/v2.0/reference/v2-nft-activities.md): Get NFT activities - [NFT Collection Lists](https://pro-api.solscan.io/pro-api-docs/v2.0/reference/v2-nft-collection-lists.md): Get NFT collection lists - [NFT Collection Items](https://pro-api.solscan.io/pro-api-docs/v2.0/reference/v2-nft-collection-items.md): Get items from NFT collections ### Transaction APIs - [Transaction Last](https://pro-api.solscan.io/pro-api-docs/v2.0/reference/v2-transaction-last.md): Get latest transactions - [Transaction Detail](https://pro-api.solscan.io/pro-api-docs/v2.0/reference/v2-transaction-detail.md): Get detailed transaction information - [Decoded Transaction](https://pro-api.solscan.io/pro-api-docs/v2.0/reference/v2-transaction-actions.md): Get decoded transaction actions ### Block APIs - [Block Last](https://pro-api.solscan.io/pro-api-docs/v2.0/reference/v2-block-last.md): Get latest blocks - [Block Transactions](https://pro-api.solscan.io/pro-api-docs/v2.0/reference/v2-block-transactions.md): Get transactions in a block - [Block Detail](https://pro-api.solscan.io/pro-api-docs/v2.0/reference/v2-block-detail.md): Get detailed block information ### Market APIs - [Listing Pool/Market](https://pro-api.solscan.io/pro-api-docs/v2.0/reference/v2-market-list.md): Get market list and pool information - [Market Info](https://pro-api.solscan.io/pro-api-docs/v2.0/reference/v2-market-info.md): Get market information - [Market Volume](https://pro-api.solscan.io/pro-api-docs/v2.0/reference/v2-market-volume.md): Get market volume data ### Program APIs - [Program List](https://pro-api.solscan.io/pro-api-docs/v2.0/reference/v2-program-list.md): Get program list - [Popular Platforms](https://pro-api.solscan.io/pro-api-docs/v2.0/reference/v2-program-popular-platforms.md): Get popular platform programs ### Monitoring APIs - [Monitor Usage](https://pro-api.solscan.io/pro-api-docs/v2.0/reference/v2-monitor-usage.md): Monitor API usage ## Guidelines - [API Plan](https://solscan.io/apis): Begin your journey effortlessly with our quick start guide - [Pro APIs](https://pro-api.solscan.io/pro-api-docs/v2.0/reference): Unlock advanced features and enhanced data access with our Premium API offerings - [Public APIs](https://pro-api.solscan.io/pro-api-docs/v2.0/reference/chaininfo.md): Find in-depth responses to common questions - [Documentation (Markdown)](https://pro-api.solscan.io/pro-api-docs/v2.0/docs.md): AI-friendly Markdown documentation for easy parsing and integration - [API Terms & Service](https://docs.solscan.io/api-access/pro-api-terms-and-services): Our Terms of Service (ToS) outlines the rules and guidelines for using our service ## Documentation Guides - [Introduction](https://pro-api.solscan.io/pro-api-docs/v2.0/docs/introduction.md): Overview of Solscan Pro API, its data domains, access model, and core capabilities - [Packages & Endpoint Allocation](https://pro-api.solscan.io/pro-api-docs/v2.0/docs/packages_endpoint_allocation.md): Available plans, monthly Computing Units, rate limits, and endpoint access - [How to Generate Your API Key](https://pro-api.solscan.io/pro-api-docs/v2.0/docs/how_to_generate_your_api_key.md): How to create, secure, rotate, and use a Solscan API key - [How to Subscribe](https://pro-api.solscan.io/pro-api-docs/v2.0/docs/how_to_subscribe.md): How to subscribe to a plan, activate API access, and manage billing - [FAQ](https://pro-api.solscan.io/pro-api-docs/v2.0/docs/faq.md): Frequently asked questions about accounts, plans, billing, API access, and data availability - [Endpoint Reference & CU Cost](https://pro-api.solscan.io/pro-api-docs/v2.0/docs/endpoint_reference_cu_cost.md): Endpoint inventory and Computing Unit cost per request - [Rate Limits by Plan](https://pro-api.solscan.io/pro-api-docs/v2.0/docs/rate_limits_by_plan.md): Rate limits and usage allowances for each subscription plan - [Data Coverage](https://pro-api.solscan.io/pro-api-docs/v2.0/docs/data_coverage.md): Supported network, historical ranges, indexed data, and coverage constraints - [Error Reference](https://pro-api.solscan.io/pro-api-docs/v2.0/docs/error_reference.md): HTTP status codes, API errors, and troubleshooting guidance - [Solscan MCP Server](https://pro-api.solscan.io/pro-api-docs/v2.0/docs/solscan_mcp_server.md): How to connect AI agents and MCP clients to Solscan data ## Code Examples Each API endpoint includes interactive code examples in: - JavaScript: Node.js and browser-based API integration - Python: Python SDK and direct API usage - Go: Go client library and API integration - C#: .NET integration examples - Shell: cURL and command-line API usage ## API Response Standards All Solscan APIs follow consistent response patterns: ### Success Response (200) ```json { "success": true, "data": { /* endpoint-specific data */ } } ``` ### Error Responses - **400 Bad Request**: Invalid parameters or request format - **401 Authentication failed**: Missing or invalid API key - **429 Too Many Requests**: Rate limit exceeded - **500 Internal Server Error**: Server-side error ### Common Error Format ```json { "success": false, "errors": { "code": 1100, "message": "Error description" } } ``` ## Optional - [Solscan Documentation](https://docs.solscan.io/): Comprehensive documentation for Solscan explorer, including tutorials, FAQs, integration guides, and tools for browsing the Solana blockchain - [Solscan Main Site](https://solscan.io): The leading explorer on the Solana ecosystem with tools for transaction tracking, account management, and investment opportunities ## API Categories Summary ### Public API - Chain Information: 1 endpoint ### Pro API v2 - Account APIs: 13 endpoints - Token APIs: 13 endpoints - NFT APIs: 4 endpoints - Transaction APIs: 3 endpoints - Block APIs: 3 endpoints - Market APIs: 3 endpoints - Program APIs: 2 endpoints - Monitoring APIs: 1 endpoint ## API Base URLs - Pro API v2: https://pro-api.solscan.io ## Documentation Features - Interactive API testing interface - Code examples in multiple programming languages (JavaScript, Python, Shell, Go, C#) - Request/response schemas and examples - Query parameter documentation with types and requirements - Authentication requirements - Rate limiting information (MaxLimit specifications) - Error handling documentation (400, 401, 403, 429, 500 status codes) - Export functionality for large datasets (CSV format) ## Rate Limits and Usage - Most endpoints have MaxLimit of 10-40 records per request - Export endpoints allow up to 5000 records per request - Some endpoints have specific rate limits (e.g., 1 request per minute for export) - Authentication required for Pro API access ## Support For technical support and API access, visit the Solscan documentation or contact the development team. --- Last updated: June 10, 2025 Format: llms.txt standard for LLM-friendly documentation indexing Total endpoints indexed: 43 endpoints across Public API and Pro API v2