Skip to main content
Comprehensive guide for interacting with Magic Eden, the leading Solana NFT marketplace. This covers listing NFTs, placing bids, fetching collection data, and discovering popular collections.

Features Overview

1. NFT Trading

  • List NFTs: Put your NFTs up for sale
  • Bid on NFTs: Place bids on listed NFTs
  • Auction House Integration: Support for custom auction houses

2. Collection Analytics

  • Collection Stats: Floor price, volume, listings count
  • Collection Listings: Browse available NFTs in collections
  • Popular Collections: Discover trending collections

3. Market Intelligence

  • Real-time Data: Live pricing and availability
  • Historical Analytics: Volume and price trends
  • Rarity Information: NFT attributes and rarity scores

Setup Requirements

API Key Configuration

Core Functionality

1. List NFT for Sale

2. Bid on NFT

3. Get Collection Listings

4. Get Collection Statistics

Example Prompts

Natural Language Prompts

LangChain Tool Prompts

List NFT

Bid on NFT

Get Collection Listings

Get Collection Stats

Response Formats

List NFT Response

Bid Response

Collection Listings Response

Collection Stats Response

Advanced Features

Auction House Integration

Referral System

Advanced Filtering

Error Handling

Common Error Scenarios

Error Types

  1. Authentication Errors
    • Missing or invalid API key
    • Expired authentication
  2. Validation Errors
    • Invalid token mint address
    • Invalid price (negative or zero)
    • Missing required parameters
  3. Transaction Errors
    • Insufficient SOL balance
    • NFT not owned by wallet
    • Network congestion
  4. API Errors
    • Rate limiting
    • Service unavailable
    • Invalid collection symbol

Best Practices

1. Listing Strategy

2. Bidding Strategy

3. Market Analysis

Security Considerations

1. NFT Ownership Verification

2. Price Validation

3. API Key Security

Rate Limits & Performance

API Rate Limits

  • With API Key: Higher rate limits for authenticated requests
  • Without API Key: Limited requests for public endpoints
  • Recommended: Use API key for production applications

Optimization Tips

Top Solana NFT Collections

  • degods - DeGods
  • okay_bears - Okay Bears
  • degenape - Degenerate Ape Academy
  • solana_monkey_business - Solana Monkey Business
  • thugbirdz - Thugbirdz
  • shadowy_super_coder - Shadowy Super Coders
  • galactic_geckos - Galactic Geckos
  • aurory - Aurory
  • famous_fox_federation - Famous Fox Federation
  • bold_badgers - Bold Badgers

Finding Collection Symbols

Integration Examples

Trading Bot Example

Portfolio Tracker Example