Developer API
Access community content programmatically for your apps and tools
Your API Key
Register for a free API key to access community content (banners, social links) for any token. One key per wallet.
Connect your wallet to manage your API key
API Endpoints
All API requests require your API key in the X-API-Key header.
GET
/api/v1/community/:mint
Get community content (banner, social links) for a token
Example Request
curl -H "X-API-Key: YOUR_KEY" \
https://api.opendex.dev/api/v1/community/So11111111111111111111111111111111111111112
Response
{
"success": true,
"data": {
"token": "So11111111111111111111111111111111111111112",
"banner": {
"url": "https://i.imgur.com/example.png",
"score": 15
},
"links": {
"twitter": { "url": "https://twitter.com/solana", "score": 12 },
"telegram": null,
"discord": { "url": "https://discord.gg/solana", "score": 8 },
"website": { "url": "https://solana.com", "score": 10 }
}
}
}
GET
/api/v1/community/:mint/all
Get all approved submissions for a token (not just top-voted)
Query Parameters
type (optional) - Filter by type: banner, twitter, telegram, discord, website
GET
/api/v1/community/batch
Get community content for multiple tokens at once (max 20)
Query Parameters
mints (required) - Comma-separated token addresses (max 20)
Example Request
curl -H "X-API-Key: YOUR_KEY" \
"https://api.opendex.dev/api/v1/community/batch?mints=mint1,mint2,mint3"
GET
/api/v1/keys/info
Get information about your API key (usage stats, creation date)
Rate Limits
API requests are rate limited to prevent abuse:
- 100 requests/minute - Standard endpoints
- 10 requests/minute - Key registration
Error Codes
401
Missing or invalid API key
403
API key has been revoked
429
Rate limit exceeded
503
Service temporarily unavailable