Developer API

Access programmable interfaces for our blockchain art marketplace and analytics tools.

API Features

  • Real-time art price data
  • NFT ownership verification
  • Smart contract events
  • Generative artwork metadata
API Demo

Getting Started

Authentication

API Key

Get your API key from the developer settings

Authorization

Include in header: Authorization: Bearer {API_KEY}

Rate Limits

Maximum 300 requests/minute - contact support for higher limits

Base URL

https://api.elxnon.systems/v1

Curl Example

curl -X GET https://api.elxnon.systems/v1/nfts \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Accept: application/json"
                    

Response Format

{ "data": [/* results */], "total": 12345, "page": 1, "pages": 15 }

Endpoints

NFTs

GET /api/v1/nfts
Description

Search and filter our marketplace collection by traits, price, and ownership

Parameters
query Search by keyword
collection Filter by collection slug
minPrice Minimum ETH price
Example Response
{
  "items": [{
    "id": "7b2e39b9-f792-44d6-893a-3480d58f70b7",
    "name": "Quantum Grid #269",
    "price": "1.75",
    "eth": true,
    "owner": "0x3Fb20676...85f7a3Dc",
    "image": "/elxnon/nfts/quantum-grid-269.png"
  }],
  "total": 4520
}
                                

Analytics

GET /api/v1/analytics
Description

Access market insights and transactional data for NFT trading.

Parameters
interval Daily/Weekly/Monthly
collection Specify collection for stats
startDate YYYY-MM-DD
Example
curl https://api.elxnon.systems/v1/analytics?interval=weekly \
  -H "Authorization: Bearer YOUR_API_KEY"
                                
Response
{
  "volume": "18876.43",
  "activity": 421,
  "floorPrice": "0.88",
  "trend": "↑3.2%"
}
                                

Usage Examples

JavaScript

const fetchNFTs = async () => {
  try {
    const response = await fetch('https://api.elxnon.systems/v1/analytics', {
      headers: { 'Authorization': `Bearer ${apiKey}` }
    });
    
    if (!response.ok) 
      throw new Error('API request failed');

    const data = await response.json();
    console.log(data);
  } catch (error) {
    console.error('Error:', error);
  }
};
                        

Python

import requests

def get_nfts():
    response = requests.get(
        'https://api.elxnon.systems/v1/nfts?query=cyberpunk',
        headers={'Authorization': f'Bearer {api_key}'}
    )
    
    if response.status_code != 200:
        raise Exception('API Error')
        
    return response.json()['items']
                        

Need Help with the API?

Got questions? Need support? Want to suggest features?

💡 Go to Support
```