SNOZCOIN API
Build powerful integrations with the creator economy. Access tips, content, rewards, and analytics programmatically.
Tipping API
Send and receive tips programmatically. Integrate tipping into your app or website.
Content Unlock
Create and manage unlockable content. Verify purchases on-chain.
Analytics
Access creator and platform analytics. Build custom dashboards and reports.
SNOZ Rewards
Query reward balances and tier status. Integrate loyalty features.
Quick Start
Get started with the SNOZCOIN API in minutes.
// Initialize the SNOZCOIN SDK
import { SnozClient } from '@snozcoin/sdk';
const client = new SnozClient({
apiKey: 'your-api-key',
network: 'mainnet' // or 'testnet'
});
// Get creator profile
const creator = await client.creators.get('SP1ABC...XYZ');
console.log(creator.name, creator.totalEarnings);
// Send a tip
const tip = await client.tips.send({
to: 'SP1ABC...XYZ',
amount: 5, // STX
message: 'Great content!'
});
Authentication
All API requests require an API key. Include it in the request header.
Authorization: Bearer YOUR_API_KEY
X-SNOZ-Version: 2024-03-01
Never expose your API key in client-side code. Use environment variables and server-side requests.
API Keys
Manage your API keys and access tokens.
Your API Keys
snoz_live_****************************
snoz_test_****************************
Connect your wallet to manage API keys
API Reference
Explore all available endpoints.
Creators
/v1/creators
List all creators
/v1/creators/{address}
Get creator by address
/v1/creators/{address}/content
Get creator's content
/v1/creators/{address}/earnings
Get earnings history
Tips
/v1/tips
Send a tip
/v1/tips/{txId}
Get tip by transaction ID
/v1/tips/recent
Get recent tips
Content
/v1/content
Create unlockable content
/v1/content/{id}
Get content metadata
/v1/content/{id}/unlock
Unlock content (purchase)
/v1/content/{id}/verify
Verify unlock status
SNOZ Rewards
/v1/snoz/balance/{address}
Get SNOZ balance
/v1/snoz/tier/{address}
Get user tier level
/v1/snoz/leaderboard
Get SNOZ leaderboard
Analytics
/v1/analytics/platform
Platform-wide statistics
/v1/analytics/creator/{address}
Creator analytics
Rate Limits
API rate limits vary by plan.
| Plan | Requests/min | Requests/day | Price |
|---|---|---|---|
| Free | 60 | 1,000 | $0 |
| Developer | 300 | 50,000 | $29/mo |
| Pro | 1,000 | 500,000 | $99/mo |
| Enterprise | Custom | Unlimited | Contact us |
SDKs & Libraries
Official SDKs for popular languages.
JavaScript / TypeScript
npm install @snozcoin/sdk
Python
pip install snozcoin