πŸ—‚οΈAPI Endpoint Directory

Complete index of all Fuul API endpoints, organized by what you need to do. Each entry links to the documentation page with full context and SDK examples, plus the API reference for request/response details.

circle-info

All endpoints use https://api.fuul.xyz/api as the base URL. Authentication is via Authorization: Bearer <api_key> unless marked as public.

Leaderboards & Rankings

Show how users rank by tokens earned, points earned, or volume generated.

Endpoint
What it does
Docs
API ref

GET /v1/payouts/leaderboard/payouts

Rank users by onchain token rewards earned

GET /v1/payouts/leaderboard/points

Rank users by points earned

GET /v1/payouts/leaderboard/revenue

Rank users by total revenue generated

GET /v1/payouts/leaderboard/referred-volume

Get referred volume (USD) for specific users

Individual User Rewards

Retrieve reward data for a specific user β€” earnings, payout history, and totals.

Endpoint
What it does
Docs
API ref

GET /v1/payouts

Get payouts grouped by conversion for a user

GET /v1/payouts/movements

Get payout history (movements with dates, amounts, status)

GET /v1/payouts/totals/{userIdentifier}

Get aggregated payout totals across all conversions

GET /v1/payouts/summary

Get aggregated payout summary for the entire project

GET /v1/payouts/by-referrer

Get volume and earnings per referred user for an affiliate

Claiming Onchain Rewards

Fetch claimable balances, generate signed vouchers, and manage the claim flow.

Endpoint
What it does
Docs
API ref

GET /v1/claimable-rewards

Show unclaimed rewards for a user (public, no auth)

GET /v1/claim-checks/totals

Get claimed and unclaimed balances by currency

POST /v1/claim-checks/claim

Get signed vouchers for onchain claiming

GET /v1/claim-checks/rewards-payouts

List all claim checks for a project (admin, filterable)

GET /v1/claim-checks/rewards-payouts/totals

Get aggregated claim check totals by currency (admin)

Pending Acceptance Payouts

For programs that require users to accept rewards before they become claimable.

Endpoint
What it does
Docs
API ref

GET /v1/payouts/pending-acceptance

List payouts waiting for user acceptance

POST /v1/payouts/pending-acceptance/accept

Accept pending payouts with a signed message

Referral Tracking & Attribution

Manage referral relationships β€” who referred whom.

Endpoint
What it does
Docs
API ref

GET /v1/user/referrer

Get the referrer for a specific user

PUT /v1/user-referrers

Create or overwrite a referrer-user relationship via API

Referral Codes

Project-generated codes that users share to establish referral relationships.

Endpoint
What it does
Docs
API ref

GET /v1/referral-codes

List all referral codes owned by a user

POST /v1/referral-codes

Generate referral codes for a user (1-50 per request)

GET /v1/referral-codes/{code}

Check if a referral code is available

PATCH /v1/referral-codes/{code}

Update a referral code (e.g., max uses)

GET /v1/referral-codes/status

Check if a user has used a referral code

PATCH /v1/referral-codes/{code}/use

Accept a referral code (requires signature)

DELETE /v1/referral-codes/{code}/referrals

Remove a referral relationship

Affiliate Codes

Custom codes created by affiliates for branded referral links.

Endpoint
What it does
Docs
API ref

POST /v1/affiliates

Create an affiliate code (requires signature)

GET /v1/affiliates/{userIdentifier}

Get the affiliate code for a user

POST /v1/affiliates/{userIdentifier}

Update an affiliate code (requires signature)

GET /v1/affiliates/codes/{code}

Check if an affiliate code is free

GET /v1/affiliates/codes/{code}/availability

Check if a code is available (exists + has uses left)

Affiliate Portal (Admin)

Analytics and management for affiliate programs. Requires service_role API key.

Endpoint
What it does
Docs
API ref

GET /v1/affiliate-portal/stats

Get earnings, volume, revenue, referred users for an affiliate

GET /v1/affiliate-portal/total-stats

Get aggregated stats across all affiliates

GET /v1/affiliate-portal/new-traders

List users referred by a specific affiliate

GET /v1/affiliate-portal/referral-tree

Get the referral hierarchy (R1, R2, R3)

GET /v1/affiliate-portal/global-breakdown

Get project-wide stats by audience, region, or status

Affiliate Applications

Let potential affiliates apply to join your program. Public β€” no auth required.

Endpoint
What it does
Docs
API ref

GET /v1/projects/{projectId}/affiliate-application-form-config

Get application form fields and validation rules

POST /v1/projects/{projectId}/affiliate-applications

Submit an affiliate application

Audiences & Badges

Manage user segments for tiered rewards and badges. Requires service_role API key.

Endpoint
What it does
Docs
API ref

GET /v1/audiences/audience-segments/user

Get which audiences a user belongs to

GET /v1/audiences/audience-segments

List all audience segments for a project

GET /v1/audience-segments/{segmentId}/entries

Get entries of an audience segment

POST /v1/audience-segments/{segmentId}/entries/batch

Add up to 20 users to a segment

DELETE /v1/audience-segments/{segmentId}/entries/{userIdentifier}

Remove a user from a segment

POST /v1/audience-segments/{segmentId}/badge

Create a badge for a segment

PATCH /v1/audience-segments/{segmentId}/badge

Update a badge

DELETE /v1/audience-segments/{segmentId}/badge

Delete a badge

Custom Events

Send offchain events to trigger rewards. Requires send:trigger_event API key.

Endpoint
What it does
Docs
API ref

POST /v1/events

Send a single custom event

POST /v1/events/batch

Send multiple events in one request

GET /v1/events/status

Check if an event exists for a user

Conversions

Query conversion configurations and check user completion status.

Endpoint
What it does
Docs
API ref

GET /v1/conversions

List all conversions for your project

GET /v1/conversions/status

Check if a user has completed specific conversions

Webhooks

Real-time notifications when rewards are distributed. Requires service_role API key.

Endpoint
What it does
Docs
API ref

POST /v1/webhooks

Create a webhook endpoint

GET /v1/webhooks

List your webhook endpoints

GET /v1/webhooks/{id}

Get a specific webhook

PATCH /v1/webhooks/{id}

Update a webhook endpoint

DELETE /v1/webhooks/{id}

Delete a webhook endpoint

GET /v1/webhooks/{id}/deliveries

View delivery history

Email-to-Wallet Resolution

Resolve pending payouts for email recipients by mapping to wallet addresses.

Endpoint
What it does
Docs
API ref

GET /v1/payouts/pending-recipient-resolution

List emails with pending unresolved payouts

POST /v1/payouts/recipient-mappings

Create email-to-wallet mappings (up to 100/request)

Explorer (Public Listings)

Public endpoints for discovery pages and aggregator integrations.

Endpoint
What it does
Docs
API ref

GET /explorer/v1/listings/incentive-rewards

List incentive programs ranked by payouts

GET /explorer/v1/listings/referral-rewards

List referral programs ranked by payouts

GET /explorer/v1/projects/{projectId}

Get project details

GET /explorer/v1/projects/{idOrSlug}/users-count

Get total user count for a project

Public Incentives

Endpoint
What it does
Docs
API ref

GET /v1/incentives

List incentive programs with TVL and APR (no auth)

Last updated