Social
API key with the ix_ prefix. You can generate an API Key by navigating to Settings -> API Key in the web app. Pass it in the X-API-KEY header on every request.
The subscription action to perform.
Successful response. Shape depends on action.
Bad request (missing fields, already following, not following, user not found, etc.).
POST /api/subscription.php?action=followers HTTP/1.1
Host: api.indexify.finance
X-API-KEY: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 14
{
"stack_id": 1
}{
"followers": 1,
"is_following": true,
"success": "success"
}API key with the ix_ prefix. You can generate an API Key by navigating to Settings -> API Key in the web app. Pass it in the X-API-KEY header on every request.
Time period for leaderboard metrics.
7dPossible values: Number of creators to return.
20Pagination offset.
0Metric to sort creators by.
pointsPossible values: Leaderboard data.
Invalid sort_by parameter.
Internal server error.
GET /api/user_info.php?action=leaderboard?action=leaderboard HTTP/1.1
Host: api.indexify.finance
X-API-KEY: YOUR_API_KEY
Accept: */*
{
"creators": [
{
"rank": 1,
"username": "text",
"avatar": "text",
"stacks_created": 1,
"stack_trades": 1,
"hit_rate": 1,
"best_stack_ath": 1,
"combined_pnl": 1,
"points": 1,
"last_activity": "text",
"last_accessed": "text",
"last_active": "text",
"top_stack": {},
"follower_count": 1,
"is_following": true
}
],
"pagination": {
"total_count": 1,
"has_next": true,
"offset": 1,
"limit": 1
},
"metadata": {
"period": "text",
"sort_by": "text",
"updated_at": "text",
"source": "text"
}
}API key with the ix_ prefix. You can generate an API Key by navigating to Settings -> API Key in the web app. Pass it in the X-API-KEY header on every request.
Array of top creators.
POST /api/user_info.php?action=top_creators?action=top_creators HTTP/1.1
Host: api.indexify.finance
X-API-KEY: YOUR_API_KEY
Accept: */*
Array of top creators.
[
{
"username": "text",
"avatar": "text",
"stack_count": 1,
"follower_count": 1,
"is_following": true
}
]API key with the ix_ prefix. You can generate an API Key by navigating to Settings -> API Key in the web app. Pass it in the X-API-KEY header on every request.
Username to look up.
Public profile data.
User not found.
Internal server error.
POST /api/user_info.php?action=public_profile?action=public_profile HTTP/1.1
Host: api.indexify.finance
X-API-KEY: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 19
{
"username": "text"
}{
"username": "text",
"avatar": "text",
"bio": "text",
"created_at": "text",
"slippage": 1,
"priority_fee": 1,
"telegram": "text",
"discord": "text",
"twitter": "text",
"linkedin": "text",
"personal": "text"
}API key with the ix_ prefix. You can generate an API Key by navigating to Settings -> API Key in the web app. Pass it in the X-API-KEY header on every request.
Username to look up.
Public profile metrics data.
User not found.
Internal server error.
POST /api/user_info.php?action=public_profile_metrics?action=public_profile_metrics HTTP/1.1
Host: api.indexify.finance
X-API-KEY: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 19
{
"username": "text"
}{
"best_stack_ath": 1,
"hit_rate": 1,
"combined_pnl": 1,
"followers": 1,
"stack_count": 1,
"points": 1
}API key with the ix_ prefix. You can generate an API Key by navigating to Settings -> API Key in the web app. Pass it in the X-API-KEY header on every request.
The referral code to embed in the link.
Referral link created.
Full referral URL.
Generated early-access code.
Descriptive name of the access code.
The referral code that was provided.
Expiration timestamp of the access code.
Missing referral_code or invalid body.
User not authenticated.
Method not allowed (only POST is accepted).
Internal server error.
POST /api/refer.php HTTP/1.1
Host: api.indexify.finance
X-API-KEY: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 24
{
"referral_code": "text"
}{
"referral_link": "text",
"access_code": "text",
"access_code_name": "text",
"referral_code": "text",
"expires_at": "text"
}API key with the ix_ prefix. You can generate an API Key by navigating to Settings -> API Key in the web app. Pass it in the X-API-KEY header on every request.
Multi-level referral data with volume statistics.
Pagination metadata from the incentive service.
User not authenticated.
User not found or username not set.
Method not allowed (only GET is accepted).
Internal server error.
GET /api/referrals.php HTTP/1.1
Host: api.indexify.finance
X-API-KEY: YOUR_API_KEY
Accept: */*
{
"level1": [
{
"userId": "text",
"username": "text",
"volume_data": {
"username": "text",
"total_successful_orders": 1,
"total_orders": 1,
"total_volume_micro_usdc": 1,
"total_volume_usdc": 1,
"total_platform_fees_micro_usdc": 1,
"total_platform_fees_usdc": 1,
"total_creator_fees_micro_usdc": 1,
"total_creator_fees_usdc": 1,
"first_order_timestamp": 1,
"last_order_timestamp": 1,
"buy_volume_micro_usdc": 1,
"buy_volume_usdc": 1,
"sell_volume_micro_usdc": 1,
"sell_volume_usdc": 1,
"buy_orders_count": 1,
"sell_orders_count": 1,
"success_rate": 1
}
}
],
"level2": [
{
"userId": "text",
"username": "text",
"volume_data": {
"username": "text",
"total_successful_orders": 1,
"total_orders": 1,
"total_volume_micro_usdc": 1,
"total_volume_usdc": 1,
"total_platform_fees_micro_usdc": 1,
"total_platform_fees_usdc": 1,
"total_creator_fees_micro_usdc": 1,
"total_creator_fees_usdc": 1,
"first_order_timestamp": 1,
"last_order_timestamp": 1,
"buy_volume_micro_usdc": 1,
"buy_volume_usdc": 1,
"sell_volume_micro_usdc": 1,
"sell_volume_usdc": 1,
"buy_orders_count": 1,
"sell_orders_count": 1,
"success_rate": 1
}
}
],
"level3": [
{
"userId": "text",
"username": "text",
"volume_data": {
"username": "text",
"total_successful_orders": 1,
"total_orders": 1,
"total_volume_micro_usdc": 1,
"total_volume_usdc": 1,
"total_platform_fees_micro_usdc": 1,
"total_platform_fees_usdc": 1,
"total_creator_fees_micro_usdc": 1,
"total_creator_fees_usdc": 1,
"first_order_timestamp": 1,
"last_order_timestamp": 1,
"buy_volume_micro_usdc": 1,
"buy_volume_usdc": 1,
"sell_volume_micro_usdc": 1,
"sell_volume_usdc": 1,
"buy_orders_count": 1,
"sell_orders_count": 1,
"success_rate": 1
}
}
],
"summary": {
"total_referrals": 1,
"total_volume_usdc": 1,
"total_platform_fees_usdc": 1,
"total_successful_orders": 1,
"by_level": {
"ANY_ADDITIONAL_PROPERTY": {
"count": 1,
"total_volume_usdc": 1,
"total_platform_fees_usdc": 1,
"total_successful_orders": 1
}
}
},
"pagination": {}
}Last updated

