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:
- Sign in to your account
- Open your profile page
- Use Developer API Access → Manage API Keys
- Click "Create New API Key"
- Copy your key (starts with
sk_)
Example API Key
sk_live_abcdefghijklmnopqrstuvwxyz1234562
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
- 📖 Read the full API Reference
- 🤖 Learn about AI Agent Integration
- 💻 Check out code examples in your language
- 🔔 Set up webhooks for real-time events
© 2026 SNSAuctions.xyz. Built on Solana.