◆ Points Farming

Points Farming API for AI Agents

Farm Pre-TGE Protocol Points Across 40+ DeFi Protocols

DeFi protocols award points for activity before their token launches. Points convert to tokens at TGE. Purple Flea's points farming API tracks your balances, optimises capital allocation daily, and estimates your token allocation — all automated.

40+ Protocols Tracked
Daily Points Tracking
Auto Capital Reallocation
TGE Allocation Estimates

What are Protocol Points?

A points programme is a pre-token incentive mechanism used by DeFi protocols to reward early adopters before the governance token exists. Think of points as a transparent, real-time ledger of your future token allocation.

🆕

Points vs Airdrops

Traditional airdrops are retroactive: the protocol looks back at historical activity and distributes tokens to qualifying wallets. Points programmes are prospective and transparent. You can see your balance accumulating in real time, understand exactly how points are earned, and model your expected TGE allocation. Far more predictable than a lottery-style airdrop.

transparent accumulation
📈

Points to Token Conversion

At TGE (Token Generation Event), the protocol sets a conversion rate — for example, every 1,000,000 sats (Ethena's point unit) might convert to 100 ENA tokens. The total token supply allocated to points holders is fixed; the more points you hold relative to everyone else, the larger your share of that allocation. Early farmers with large balances benefit most.

proportional allocation
🔒

Capital Stacking

The most sophisticated farmers earn multiple points streams from the same capital. One ETH can simultaneously earn liquid staking yield, EigenLayer restaking points, and Pendle yield LP points — three sources of return layered on one asset. AI agents are uniquely suited to identify and execute these multi-layer strategies.

multi-layer yield

Top Points Protocols

These six protocols currently represent the largest points farming opportunities by estimated token value at TGE, based on current protocol valuations and points distribution rates.

Ethena

Earn Ethena "sats" (the ENA points) by depositing stablecoins into Ethena's USDe vault, staking USDe to receive sENA, or using USDe on partner DeFi protocols. Ethena has already launched ENA but continues distributing sats for its second major airdrop season, targeting protocol integrators and volume contributors.

Point unit: sats • Token: ENA • Est. TGE: ongoing
live farming
🔗

EigenLayer

Restaking points accrue from depositing ETH or Liquid Staking Tokens (LSTs) into EigenLayer AVSs. EIGEN has already launched but EigenLayer continues distributing restaking points for active AVS participants. Restaked ETH earns both native staking yield and restaking points.

Point unit: restaking pts • Token: EIGEN • Ongoing season
restaking
🔥

Hyperliquid

Trading points accrue from perpetual futures volume on Hyperliquid. HYPE has launched but Hyperliquid continues rewarding active traders and market makers on the platform. High-volume trading agents naturally accumulate these points as a byproduct of normal trading activity.

Point unit: trade pts • Token: HYPE • Live TGE, ongoing
trading activity
📅

Pendle Finance

Pendle points are earned by providing liquidity to Pendle yield pools, trading PT/YT tokens, and participating in vePENDLE governance. Pendle also amplifies EigenLayer, Ethena, and other points through its structured yield products — a popular tool for points multipliers.

Point unit: Pendle pts • Token: PENDLE • Governance token live
yield structure
💊

EtherFi

EtherFi loyalty points are earned by staking ETH through EtherFi's liquid restaking vault to receive eETH, then deploying eETH across DeFi. EtherFi has distributed ETHFI tokens and continues season-based loyalty programmes for long-duration depositors.

Point unit: loyalty pts • Token: ETHFI • Season 2 active
liquid restaking
👡

Symbiotic

Symbiotic restaking points accrue from depositing supported collateral assets into Symbiotic vaults and participating in AVS validation. A direct competitor to EigenLayer offering higher flexibility in collateral types. SYMB token expected; active farmers earn points across multiple vault strategies simultaneously.

Point unit: restaking pts • Token: SYMB (expected) • Pre-TGE
pre-TGE opportunity

API Endpoints

All endpoints use the base URL https://api.purpleflea.com with Bearer token authentication.

Method & Endpoint Description
GET/v1/points/portfolio All points balances across every registered wallet and protocol. Includes daily accrual rate, estimated USD value, and days to TGE for each position.
GET/v1/points/opportunities Ranked list of points earning opportunities by estimated token value at TGE. Includes points per USD per day, capital required, and complexity score.
POST/v1/points/optimize Execute optimal capital reallocation to maximise points earning rate. Body: {budget_usd, risk_level, locked_days}. Returns executed transactions and new expected daily accrual.
GET/v1/points/history Daily points accrual history per protocol and wallet. Useful for auditing farming efficiency and detecting anomalies in points credit.
GET/v1/points/estimate Estimate final token allocation at TGE based on current points balance, daily accrual rate, and time to snapshot. Returns token quantity and estimated USD value at current prices.

Python Agent: Daily Points Optimizer

This agent runs on a daily cron schedule. It fetches the current points opportunity rankings, compares them against current allocations, and reallocates capital to the highest-efficiency protocols if a 20% improvement threshold is met.

python
import requests
import os

PF_BASE = "https://api.purpleflea.com"
HEADERS = {"Authorization": f"Bearer {os.environ['PF_API_KEY']}"}


def get_current_allocation(protocol_name):
    # Returns current allocation rate for a protocol
    portfolio = requests.get(
        f"{PF_BASE}/v1/points/portfolio",
        headers=HEADERS
    ).json()
    for p in portfolio["positions"]:
        if p["protocol"] == protocol_name:
            return p
    return {"rate": 0, "allocated_usd": 0}


def reallocate_to(protocol, amount_usd):
    # Execute capital reallocation to protocol
    result = requests.post(
        f"{PF_BASE}/v1/points/optimize",
        json={
            "target_protocol": protocol["name"],
            "budget_usd": amount_usd,
            "risk_level": "medium",
            "locked_days": 30  # min commitment period
        },
        headers=HEADERS
    ).json()
    print(f"Reallocated ${amount_usd} to {protocol['name']}: {result['status']}")
    return result


def optimize_points_daily():
    # Get ranked list by points per dollar per day
    opps = requests.get(
        f"{PF_BASE}/v1/points/opportunities",
        headers=HEADERS
    ).json()

    # Sort by efficiency: most points earned per $1 invested per day
    ranked = sorted(opps, key=lambda x: x["points_per_usd_per_day"], reverse=True)

    for protocol in ranked[:3]:  # top 3 by efficiency
        current = get_current_allocation(protocol["name"])

        # Only reallocate if new protocol is 20% better than current rate
        if protocol["points_per_usd_per_day"] > current["rate"] * 1.2:
            reallocate_to(protocol, amount_usd=1000)
        else:
            print(f"{protocol['name']}: current rate within 20% — no change")

    # Print updated TGE estimate
    estimate = requests.get(
        f"{PF_BASE}/v1/points/estimate",
        headers=HEADERS
    ).json()
    print(f"Estimated TGE allocation: {estimate['total_tokens']:,.0f} tokens (~${estimate['estimated_usd']:,.0f})")


if __name__ == "__main__":
    optimize_points_daily()

Points Stacking: Three Yields From One Asset

The most capital-efficient points strategies earn multiple reward streams simultaneously from the same underlying collateral. Here is a classic ETH stacking path:

1 ETH (raw)
0% additional yield
Stake ETH → stETH via Lido
+3.8% ETH staking APY
Deposit stETH → EigenLayer
+EigenLayer restaking points
Deposit eETH receipt → Pendle YT
+Pendle LP points + Pendle yield

Result: One ETH earns native staking yield + EigenLayer restaking points + Pendle LP points simultaneously. The API automatically identifies these stacking paths and executes the full chain in a single POST /v1/points/optimize call with stack_mode: true.

The key constraint in stacking is liquidity. Deeply nested positions (e.g., stETH inside EigenLayer inside a Pendle pool) can have long exit queues. The API models liquidity risk and warns if your combined locked capital exceeds the configured max_illiquid_pct threshold before executing any stack-building transaction.


Planning Around TGE

Token Generation Events follow predictable patterns. Understanding them lets your agent plan optimal exit timing and hedge currency risk during vesting.

📅

TGE Snapshot Windows

Most protocols take a snapshot of points balances 7–30 days before the TGE date. Points accrued after the snapshot do not count. The API tracks estimated snapshot dates and alerts your agent when a protocol is within 14 days of snapshot — triggering a final reallocation push to maximise balance before the cutoff.

14-day alert
🔒

Vesting Periods

Most protocol TGEs vest 20–30% of tokens at launch ("cliff"), with the remainder vesting linearly over 12–48 months. Plan liquidity accordingly. The API models your vesting schedule across all positions and provides a monthly projected token unlock calendar so your agent can plan sell or reinvest decisions in advance.

1–4 year vesting typical
📈

Perp Hedging at TGE

Newly launched tokens are highly volatile. Agents can open a short position on the token's perpetual futures (via Purple Flea's trading API) sized to their expected TGE allocation, locking in the TGE price regardless of market movement during the claim window. This is a standard risk-neutral exit for large allocations.

delta-neutral exit

Points Farming via MCP

All points farming capabilities are available as MCP tools. Connect via https://api.purpleflea.com/mcp.

points_portfolio
Returns all points balances, daily accrual rates, and estimated USD values across registered wallets and protocols.
points_opportunities
Returns ranked points earning opportunities by efficiency (points per USD per day), with TGE dates and capital requirements.
points_optimize
Executes optimal capital reallocation to maximise daily points accrual rate within specified budget and risk parameters.
points_estimate_tge
Estimates final token allocation at TGE based on current balance, accrual rate, and time to snapshot. Returns tokens and USD value.


Start Farming Points on Autopilot

Register your agent, connect your wallets, and let Purple Flea's points farming API optimise your allocation across 40+ DeFi protocols every day.