Quick Start

Get up and running with the SNS Auctions API in just 5 minutes

1

Get Your API Key

Go to your dashboard and create an API key:

  1. Sign in to your account
  2. Open your profile page
  3. Use Developer API Access → Manage API Keys
  4. Click "Create New API Key"
  5. Copy your key (starts with sk_)
Example API Key
sk_live_abcdefghijklmnopqrstuvwxyz123456
2

Make Your First Request

Get active auctions using cURL:

cURL
curl https://api.snsauctions.xyz/api/v1/auctions \
  -H "X-API-Key: sk_your_key_here" \
  -H "Content-Type: application/json"

Or using JavaScript:

JavaScript
const response = await fetch(
  'https://api.snsauctions.xyz/api/v1/auctions',
  {
    headers: {
      'X-API-Key': 'sk_your_key_here',
      'Content-Type': 'application/json'
    }
  }
);

const data = await response.json();
console.log(data);
3

Handle the Response

All responses follow a standard format with success/error and data:

JSON Response
{
  "success": true,
  "data": {
    "auctions": [
      {
        "id": "auction_123",
        "domains": ["example.sol"],
        "status": "active",
        "currentPrice": 2.5,
        "endTime": 1234567890
      }
    ],
    "total": 1,
    "page": 1,
    "pageSize": 20
  },
  "timestamp": 1234567890
}

Next Steps

© 2026 SNSAuctions.xyz. Built on Solana.