Specification
Base URL
https://api.vi.social/v1Authentication
All API requests must include an API key in the header:
Authorization: Bearer YOUR_API_KEYEndpoints
Social Wallets
Get Wallet by Social ID
GET /wallets/{platform}/{userId}Retrieves the public address for a given social media identity.
Parameters:
platform(string): Social platform identifier (e.g., "x", "tiktok")User ID(string): User ID on the specified platformappId(string): App ID of the app to retrieve addresses for. Defaults to 'rolodex'', a global address book for everyone.
Response:
{
"user_id": "string",
"username": "string",
"platform": "string",
"wallets": {
"base": {
"address": "string[]"
},
"solana": {
"address": "string[]"
}
}
}Check Wallet Status
GET /wallets/verify/{address}Checks if a given address is a valid .vi social bound address. If it is, returns that user's social media information.
Parameters:
address(string): A Solana or EVM public address
Response:
{
"address": "string",
"is_vi_address": "boolean",
"user_id": "string | null",
"username": "string | null",
"platform": "string | null",
"network": "string",
"vi_display_string": "string
}Webhooks
Register Webhook
Error Responses
All error responses follow this format:
{
"error": {
"code": "string",
"message": "string",
"details": {}
}
}Error codes:
400: Bad Request401: Unauthorized404: Resource Not Found429: Rate Limit Exceeded500: Internal Server Error
Last updated

