---
updatedAt: 2026-04-22T18:44:05.000Z
agentTools:
  projectIndex: https://fuul.readme.io/llms.txt
---

# Get point payouts leaderboard

# OpenAPI definition

````json
{
  "openapi": "3.0.3",
  "info": {
    "title": "Fuul API",
    "version": "1.0.0",
    "description": "# Fuul API\n\nFuul is a Web3 growth and affiliate marketing platform that enables projects\nto track referrals, manage affiliate programs, and distribute rewards across\nmultiple blockchain networks (EVM, Solana, XRPL, Sui).\n\n## Core Concepts\n\n### Events\nEvents track user actions (conversions) that trigger rewards. Send events\nwhen users complete valuable actions like trades, deposits, or purchases.\n\n### Affiliates\nAffiliates are partners who promote your project. They receive unique codes\nand earn commissions on referred user activity.\n\n### Referral Codes\nEnd-users can generate referral codes to share with friends. Both referrer\nand referee can earn rewards.\n\n### Payouts\nRewards earned through the affiliate/referral program. Can be claimed\non-chain or tracked as points.\n\n## Authentication\n\n### API Keys\nAPI keys are bound to a single project. Include in the Authorization header:\n```\nAuthorization: Bearer YOUR_API_KEY\n```\n\n## Multi-Chain Support\n\nFuul supports multiple blockchain networks. When identifying users, specify:\n- `user_identifier`: The wallet address, email, or opaque UUID\n- `user_identifier_type`: `evm_address` | `solana_address` | `sui_address` | `xrpl_address` | `stellar_address` | `email` | `uuid`\n\n## Smart Contracts\n\nFuul is an on-chain affiliate protocol. The API works in conjunction with\nsmart contracts deployed across multiple EVM networks.\n\n### Contract Architecture\n\n- **FuulManager**: Central contract that handles attributions and claims.\n  Deployed once per network.\n\n- **FuulFactory**: Creates new FuulProject contracts for each project.\n\n- **FuulProject**: Per-project contracts that hold deposited funds and\n  execute payouts. Address returned when creating a project.\n\nFor contract addresses per network, see:\nhttps://docs.fuul.xyz/protocol/smart-contracts\n\n### Claim Flow\n\n1. User earns rewards through referral/affiliate activity\n2. Call `GET /v1/claim-checks/totals` to see claimable amounts\n3. Call `POST /v1/claim-checks/claim` to get a signed claim message\n4. User submits the signature to `FuulManager.claim()` on-chain\n5. Funds are transferred from FuulProject to user's wallet\n\n### Resources\n\n- [Smart Contract Addresses](https://docs.fuul.xyz/protocol/smart-contracts)\n- [Protocol Contracts Source Code](https://github.com/fuul-protocol/protocol-contracts)\n- [Subgraphs](https://docs.fuul.xyz/protocol/subgraphs)\n\n## Rate Limits\n\n- Standard endpoints: 100 requests/minute\n- Batch endpoints: 10 requests/minute\n- Leaderboard endpoints: 60 requests/minute (cached for 1 minute)\n"
  },
  "servers": [
    {
      "url": "https://api.fuul.xyz/api"
    }
  ],
  "components": {
    "securitySchemes": {
      "bearerAuth": {
        "type": "http",
        "scheme": "bearer"
      }
    },
    "responses": {
      "BadRequest": {
        "description": "Bad Request - Invalid request parameters or malformed request body",
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/ErrorResponse"
            },
            "examples": {
              "invalid_identifier": {
                "summary": "Invalid user identifier format",
                "value": {
                  "statusCode": 400,
                  "message": "Invalid user identifier format",
                  "error": "Bad Request"
                }
              },
              "missing_field": {
                "summary": "Missing required field",
                "value": {
                  "statusCode": 400,
                  "message": "Missing required field 'dedup_id'",
                  "error": "Bad Request"
                }
              }
            }
          }
        }
      },
      "Unauthorized": {
        "description": "Unauthorized - Missing or invalid API key",
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/ErrorResponse"
            },
            "examples": {
              "missing_key": {
                "summary": "Missing API key",
                "value": {
                  "statusCode": 401,
                  "message": "Missing authorization header",
                  "error": "Unauthorized"
                }
              },
              "invalid_key": {
                "summary": "Invalid API key",
                "value": {
                  "statusCode": 401,
                  "message": "Invalid API key",
                  "error": "Unauthorized"
                }
              }
            }
          }
        }
      },
      "NotFound": {
        "description": "Not Found - Requested resource does not exist",
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/ErrorResponse"
            },
            "examples": {
              "project_not_found": {
                "summary": "Project not found",
                "value": {
                  "statusCode": 404,
                  "message": "Project not found",
                  "error": "Not Found"
                }
              },
              "resource_not_found": {
                "summary": "Resource not found",
                "value": {
                  "statusCode": 404,
                  "message": "Requested resource does not exist",
                  "error": "Not Found"
                }
              }
            }
          }
        }
      },
      "TooManyRequests": {
        "description": "Too Many Requests - Rate limit exceeded",
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/ErrorResponse"
            },
            "examples": {
              "rate_limit": {
                "summary": "Rate limit exceeded",
                "value": {
                  "statusCode": 429,
                  "message": "Rate limit exceeded. Maximum 100 requests per minute.",
                  "error": "Too Many Requests"
                }
              }
            }
          }
        }
      }
    },
    "schemas": {
      "IdentifierType": {
        "type": "string",
        "enum": [
          "evm_address",
          "solana_address",
          "sui_address",
          "xrpl_address",
          "stellar_address",
          "email",
          "uuid"
        ],
        "example": "evm_address",
        "description": "The type of identifier being used for identifying the user."
      },
      "ErrorResponse": {
        "type": "object",
        "properties": {
          "statusCode": {
            "type": "integer",
            "description": "HTTP status code",
            "example": 400
          },
          "message": {
            "type": "string",
            "description": "Human-readable error message",
            "example": "Invalid user identifier format"
          },
          "error": {
            "type": "string",
            "description": "Error type or category",
            "example": "Bad Request"
          }
        },
        "description": "Standard error response structure returned by all endpoints"
      },
      "PointsLeaderboardResult": {
        "type": "object",
        "properties": {
          "results": {
            "type": "array",
            "items": {
              "type": "object",
              "required": [
                "user_identifier",
                "user_identifier_type",
                "total_amount",
                "rank",
                "total_attributions"
              ],
              "properties": {
                "user_identifier": {
                  "type": "string",
                  "example": "0xBfBAdD58B65B54D1a5cEa6d9c730fbd57c182d32",
                  "description": "User identifier"
                },
                "user_identifier_type": {
                  "$ref": "#/components/schemas/IdentifierType"
                },
                "total_amount": {
                  "type": "string",
                  "example": 200,
                  "description": "Total points earned"
                },
                "affiliate_code": {
                  "type": "string",
                  "example": "my-affiliate-code",
                  "description": "Affiliate code if applicable"
                },
                "rank": {
                  "type": "integer",
                  "example": 1,
                  "description": "User rank"
                },
                "total_attributions": {
                  "type": "integer",
                  "example": 10,
                  "description": "Total attributions generated"
                },
                "tiers": {
                  "type": "integer",
                  "example": 1,
                  "description": "Tiers (if requested)"
                },
                "referred_volume": {
                  "type": "number",
                  "example": 100.5,
                  "description": "Referred volume in USD (if requested)"
                },
                "referred_users": {
                  "type": "integer",
                  "example": 10,
                  "description": "Referred users (if requested)"
                },
                "enduser_volume": {
                  "type": "number",
                  "example": 101.1,
                  "description": "End-user volume in USD (if requested)"
                },
                "enduser_revenue": {
                  "type": "number",
                  "example": 20.25,
                  "description": "End-user revenue in USD (if requested)"
                }
              }
            }
          }
        }
      }
    }
  },
  "paths": {
    "/v1/payouts/leaderboard/points": {
      "get": {
        "operationId": "getPointsLeaderboard",
        "tags": [
          "Leaderboards"
        ],
        "parameters": [
          {
            "name": "page",
            "in": "query",
            "required": false,
            "example": 1,
            "schema": {
              "type": "integer"
            }
          },
          {
            "name": "page_size",
            "in": "query",
            "required": false,
            "example": 25,
            "schema": {
              "type": "integer"
            }
          },
          {
            "name": "user_identifier",
            "in": "query",
            "description": "The identifier of the user to filter by",
            "required": false,
            "example": "0x4b175474e89094c44da98b954eedeac495271d0f",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "user_identifier_type",
            "in": "query",
            "description": "The type of identifier being used to identify the user",
            "required": false,
            "example": "evm_address",
            "schema": {
              "$ref": "#/components/schemas/IdentifierType"
            }
          },
          {
            "name": "fields",
            "in": "query",
            "description": "Extra fields to include in the response. The fields are separated by commas.",
            "required": false,
            "example": "tier,referred_volume,referred_users,enduser_volume,enduser_revenue",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "user_type",
            "in": "query",
            "description": "When set, limits points to movements for that role. `end_user` includes `end_user_payout` and `airdrop` reasons (same breakdown as on-chain payouts leaderboard semantics for referrals vs own points). `affiliate` includes `affiliate_payout` only. Omit to keep the default combined totals (all movement reasons).\n",
            "required": false,
            "example": "end_user",
            "schema": {
              "type": "string",
              "enum": [
                "affiliate",
                "end_user"
              ]
            }
          }
        ],
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "summary": "Get point payouts leaderboard",
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PointsLeaderboardResult"
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/BadRequest"
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "404": {
            "$ref": "#/components/responses/NotFound"
          },
          "429": {
            "$ref": "#/components/responses/TooManyRequests"
          }
        }
      }
    }
  }
}
````