[ Get started ]
Quickstart
Create an API key and retrieve the latest Fomo Family social trading leaderboard in a few minutes.
01
Sign in
Authenticate with Google.
02
Create key
Generate a dashboard key.
03
Call API
Send your first request.
01
Generate your API key
Sign in to the developer dashboard and create a key for your application. Store it in a server-side environment variable.
02
Request the leaderboard
Replace the placeholder with your API key and run the request from a terminal.
first request
curl "https://getfomoapi.fun/api/leaderboard/24h?limit=2" \
-H "X-API-Key: fomo_live_YOUR_API_KEY"03
Read the response
Endpoint results are returned as JSON. Most responses include success, message, responseObject and statusCode fields.
response.json
{
"success": true,
"message": "24H Leaderboard found",
"responseObject": {
"leaderboard": [
{
"id": "6d8c0bf3-5d42-506c-a0ea-9e1e75ff38af",
"displayName": "point farm capital",
"userHandle": "pointfarmcap",
"pnl24h": 2947532.39,
"totalVolume": 11254462.78
}
]
},
"statusCode": 200
}Your integration is ready
Continue to the leaderboard reference for parameters, response fields and complete output examples.