For the complete documentation index, see llms.txt. Markdown versions of documentation pages are available by appending .md to page URLs.
Skip to content

Wallet PnL & Stats

Per-wallet analytics — token and NFT PnL, trading and enhanced stats, portfolio, balances, token flows and related wallets.

Token PNL

get

This endpoint retrieves a PnL values for a specified wallet by different tokens.

Cost per Request

Cost per request = 5 credits.

Available Plans

Available on the following plans:

  • Builder

  • Architect

  • Enterprise

Authorizations
X-API-KEYstringRequired
Path parameters
walletstringRequired

Get P&L values for wallet.

Example: 0x0f9d76acdbc4417b026f876be1e2042e45f3bcd2
Query parameters
chainstring[]Optional

Filter data by specific blockchain chains (e.g. ethereum), comma-separated for multiple values (e.g, ethereum,polygon)

Example: ["ethereum","base","arbitrum"]
timeframestringOptional

Set time range for filtering data. Supported options - 1d, 7d, 30d and max. Default - max timeframe.

Example: 5d
next_objectstringOptional

Next page for pagination.

Example: 4
tokenstring[]Optional

Filter data by specific tokens (e.g. PEPECAT or FfhArvgv8WB7eZ6qwENMouJRzcVpQVDoDtTuHrCk4Cxi), comma-separated for multiple values (e.g, usdc,usdt). Symbols are matched case-insensitively; addresses are matched as-is.

Example: ["PEPECAT","FfhArvgv8WB7eZ6qwENMouJRzcVpQVDoDtTuHrCk4Cxi"]
cex_transfersbooleanOptional

Include cex transfers for calculating P&L. Default - false.

Example: true
active_positions_onlybooleanOptional

Filter to show only active positions. Default - false.

Example: true
Responses
200

Successfull tokens PnL response

application/json

The response schema for the /v1/tokens_pnl endpoint.

statusstring · enumRequired

A reference to the standard response status object, which indicates the success or failure of the API request.

Possible values:
messagestringOptional

A descriptive message accompanying the response, often used to provide additional information or context about the results or the status of the request.

get/api/v1/{wallet}/pnl/tokens
GET /api/v1/{wallet}/pnl/tokens HTTP/1.1
Host: api.cielo.finance
X-API-KEY: YOUR_API_KEY
Accept: */*
{
  "status": "ok",
  "data": {
    "items": [
      {
        "num_swaps": 1,
        "num_buys": 1,
        "num_sells": 1,
        "total_buy_usd": 1,
        "total_buy_amount": 1,
        "total_sell_usd": 1,
        "total_sell_amount": 1,
        "average_buy_price": 1,
        "average_sell_price": 1,
        "total_pnl_usd": 1,
        "roi_percentage": 1,
        "unrealized_pnl_usd": 1,
        "unrealized_roi_percentage": 1,
        "token_price": 1,
        "token_address": "text",
        "token_symbol": "text",
        "token_name": "text",
        "chain": "text",
        "is_honeypot": true,
        "holding_time_seconds": 3600,
        "holding_amount": 1,
        "holding_amount_usd": 1,
        "platform": "pump-fun",
        "platform_ui": "Pump.fun",
        "avg_buy_market_cap_usd": 1,
        "avg_sell_market_cap_usd": 1,
        "token_age": 120,
        "held_by": "0x0f9d76acdbc4417b026f876be1e2042e45f3bcd2",
        "held_by_labels": {
          "0x0f9d76acdbc4417b026f876be1e2042e45f3bcd2": "Whale 1"
        }
      }
    ],
    "paging": {
      "total_rows_in_page": 1,
      "has_next_page": true,
      "next_object": "text"
    }
  },
  "message": "text"
}

NFT PNL

get

This endpoint retrieves the PnL value for an NFT collection on Ethereum.

Cost per Request

Cost per request = 5 credits.

Available Plans

Available on the following plans:

  • Builder

  • Architect

  • Enterprise

Authorizations
X-API-KEYstringRequired
Path parameters
walletstringRequired

Get NFT P&L values for wallet.

Example: 0x0f9d76acdbc4417b026f876be1e2042e45f3bcd2
Query parameters
timeframestringOptional

Set time range for filtering data. Supported options - 1d, 7d, 30d and max. Default - max timeframe.

Example: 5d
next_objectstringOptional

Next page for pagination.

Example: 4
Responses
200

Successfull Nft PnL response

application/json

The response schema for the /v1/nftss_pnl endpoint.

statusstring · enumRequired

A reference to the standard response status object, which indicates the success or failure of the API request.

Possible values:
messagestringOptional

A descriptive message accompanying the response, often used to provide additional information or context about the results or the status of the request.

get/api/v1/{wallet}/pnl/nfts
GET /api/v1/{wallet}/pnl/nfts HTTP/1.1
Host: api.cielo.finance
X-API-KEY: YOUR_API_KEY
Accept: */*
{
  "status": "ok",
  "data": {
    "items": [
      {
        "num_swaps": 1,
        "total_buy_amount": 1,
        "total_sell_amount": 1,
        "total_buy_avg": 1,
        "total_sell_avg": 1,
        "total_buy_usd": 1,
        "total_sell_usd": 1,
        "profit_loss": 1,
        "roi_percentage": 1,
        "chain": "text",
        "token_address": "text",
        "nft_symbol": "text",
        "nft_name": "text"
      }
    ],
    "paging": {
      "total_rows_in_page": 1,
      "has_next_page": true,
      "next_object": "text"
    }
  },
  "message": "text"
}

Aggregated Token PNL

get

This endpoint retrieves aggregated PnL stats for a specified wallet.

Cost per Request

Cost per request = 20 credits.

Available Plans

Available on the following plans:

  • Builder

  • Architect

  • Enterprise

Authorizations
X-API-KEYstringRequired
Path parameters
walletstringRequired

Get tags associated with wallet.

Example: 0x0f9d76acdbc4417b026f876be1e2042e45f3bcd2
Query parameters
chainsstring[]Optional

Filter transactions by specific blockchain chains (e.g. ethereum), comma-separated for multiple values (e.g, ethereum,polygon)

Example: ["ethereum","base","arbitrum"]
timeframestringOptional

Set time range for filtering data. Supported options - 1d, 7d, 30d and max. Default - max timeframe.

Example: 7d
cex_transfersbooleanOptional

Include CEX transfers in the response.

Example: true
Responses
200

Successfull Total Stats response

application/json

The response schema for the /v1/{wallet}/pnl/total-stats endpoint.

statusstring · enumRequired

A reference to the standard response status object, which indicates the success or failure of the API request.

Possible values:
messagestringOptional

A descriptive message accompanying the response, often used to provide additional information or context about the results or the status of the request.

get/api/v1/{wallet}/pnl/total-stats
GET /api/v1/{wallet}/pnl/total-stats HTTP/1.1
Host: api.cielo.finance
X-API-KEY: YOUR_API_KEY
Accept: */*
{
  "status": "ok",
  "data": {
    "wallet": "6sdb5o3XWM27RSjcYqoVZ88ruuPzHTfqFQEq26nN6eVq",
    "realized_pnl_usd": 10000,
    "realized_roi_percentage": 52.2,
    "tokens_traded": 25,
    "unrealized_pnl_usd": 5000,
    "unrealized_roi_percentage": 75.2,
    "winrate": 53.5,
    "average_holding_time_seconds": 3600,
    "median_holding_time_seconds": 3600,
    "combined_pnl_usd": 15000,
    "combined_roi_percentage": 127.4,
    "total_buy_usd": 10000,
    "total_sell_usd": 15000
  },
  "message": "text"
}
get

This endpoint retrieves a list of wallets related to the specified wallet address. Related wallets are determined based on shared activity, such as token transfers, NFT trades, or participation in DeFi protocols.

Cost per Request

Cost per request = 10 credits.

Available Plans

Available on the following plans:

  • Builder

  • Architect

  • Enterprise

Authorizations
X-API-KEYstringRequired
Path parameters
walletstringRequired

Get related wallets for wallet.

Example: 0x0f9d76acdbc4417b026f876be1e2042e45f3bcd2
Query parameters
sort_criteriastring · enumOptional

Sort wallets by the specified criteria. Volume uses total USD received plus sent.

Example: inflow_ascPossible values:
Responses
200

Successfull Related Wallets response

application/json

The response schema for the /v1/{wallet}/related-wallets endpoint.

statusstring · enumRequired

A reference to the standard response status object, which indicates the success or failure of the API request.

Possible values:
messagestringOptional

A descriptive message accompanying the response, often used to provide additional information or context about the results or the status of the request.

get/api/v1/{wallet}/related-wallets
GET /api/v1/{wallet}/related-wallets HTTP/1.1
Host: api.cielo.finance
X-API-KEY: YOUR_API_KEY
Accept: */*
{
  "status": "ok",
  "data": {
    "related_wallets": [
      {
        "wallet": "0x0f9d76acdbc4417b026f876be1e2042e45f3bcd2",
        "inflow_usd": 10000,
        "outflow_usd": 15000,
        "total_usd": 25000,
        "count": 2,
        "label": "Wallet Name"
      }
    ]
  },
  "message": "text"
}

Trading Stats

get

Detailed performance statistics for a wallet's trading activity, including PnL, ROI, win rate, and trading behavior insights.

Cost per Request

Cost per request = 30 credits.

Available Plans

Available on the following plans:

  • Builder

  • Architect

  • Enterprise

Authorizations
X-API-KEYstringRequired
Path parameters
walletstringRequired

Get trading stats for wallet.

Example: 0x0f9d76acdbc4417b026f876be1e2042e45f3bcd2
Query parameters
daysstring · enumOptional

Time period for trading stats (1d, 7d, 30d, max).

Example: 7dPossible values:
Responses
200

Trading stats response

application/json
get/api/v1/{wallet}/trading-stats
GET /api/v1/{wallet}/trading-stats HTTP/1.1
Host: api.cielo.finance
X-API-KEY: YOUR_API_KEY
Accept: */*
{
  "data": {
    "total_trades": 150,
    "successful_trades": 120,
    "failed_trades": 30,
    "win_rate": 80,
    "average_profit": 0.15,
    "total_profit": 22.5,
    "total_volume": 150,
    "most_traded_token": "USDC",
    "most_profitable_token": "ETH",
    "trading_frequency": "daily",
    "last_trade_timestamp": 1678901234
  }
}

Wallet Portfolio

get

Retrieve the portfolio of a wallet. For Solana wallets, the response also includes the native SOL balance. Portfolio assets with a total_usd_value of zero are not included in the response. Available chains:

  • Solana

  • EVM (Ethereum, Base, HyperEVM, Robinhood)

Cost per Request

Cost per request = 20 credits.

Available Plans

Available on the following plans:

  • Builder

  • Architect

  • Enterprise

Authorizations
X-API-KEYstringRequired
Path parameters
walletstringRequired

Get portfolio for wallet.

Example: 0x0f9d76acdbc4417b026f876be1e2042e45f3bcd2
Responses
200

OK

application/json

The response schema for the /api/v1/{wallet}/portfolio endpoint.

statusstring · enumRequired

A reference to the standard response status object, which indicates the success or failure of the API request.

Possible values:
messagestringOptional

A descriptive message accompanying the response, often used to provide additional information or context about the results or the status of the request.

get/api/v1/{wallet}/portfolio
GET /api/v1/{wallet}/portfolio HTTP/1.1
Host: api.cielo.finance
X-API-KEY: YOUR_API_KEY
Accept: */*
{
  "status": "ok",
  "data": {
    "last_updated": 1,
    "total_usd_value": 12607.8772451841,
    "portfolio": [
      {
        "chain": "solana",
        "token_address": "Fs8EHRVCes9SrPBWbLPTuSRBiCT8d53d8AWwaMLjHaid",
        "token_name": "USDT",
        "token_symbol": "USDT",
        "platform": "pump-fun",
        "platform_ui": "Pump.fun",
        "token_price_usd": 0.9999,
        "balance": 12609.138159,
        "total_usd_value": 12607.8772451841,
        "supply": 1889938292.793473,
        "supply_owned": 0.0006671719498504224
      }
    ]
  },
  "message": "text"
}

Token Balance

get

Retrieve the token balance for a wallet. Available chains:

  • Solana

  • EVM (Ethereum, Base, HyperEVM, Robinhood)

Cost per Request

Cost per request = 3 credits.

Available Plans

Available on the following plans:

  • Builder

  • Architect

  • Enterprise

Authorizations
X-API-KEYstringRequired
Path parameters
walletstringRequired

Get token balance for wallet.

Example: 0x0f9d76acdbc4417b026f876be1e2042e45f3bcd2
Query parameters
token_addressstringRequired

The token address to get balance for.

Example: 0x6B175474E89094C44Da98b954EedeAC495271d0F
chainstring · enumRequired

The blockchain network (ethereum, base, or solana).

Example: solanaPossible values:
Responses
200

OK

application/json

Response containing token balance information

chainstringRequired

The chain of the token.

Example: ethereum
token_addressstringRequired

The token address.

Example: 0x6B175474E89094C44Da98b954EedeAC495271d0F
token_namestringRequired

The token name.

Example: Dai Stablecoin
token_symbolstringRequired

The token symbol.

Example: DAI
token_price_usdnumberRequired

The token price in USD.

Example: 0.9999
balancenumberRequired

The token balance.

Example: 12609.138159
total_usd_valuenumberRequired

The total USD value.

Example: 12607.8772451841
decimalsintegerRequired

The number of decimals for the token.

Example: 18
get/api/v1/{wallet}/token-balance
GET /api/v1/{wallet}/token-balance?token_address=text&chain=solana HTTP/1.1
Host: api.cielo.finance
X-API-KEY: YOUR_API_KEY
Accept: */*
{
  "chain": "ethereum",
  "token_address": "0x6B175474E89094C44Da98b954EedeAC495271d0F",
  "token_name": "Dai Stablecoin",
  "token_symbol": "DAI",
  "token_price_usd": 0.9999,
  "balance": 12609.138159,
  "total_usd_value": 12607.8772451841,
  "decimals": 18
}

Wallet Token Positions

get

This endpoint retrieves per-token trading positions for one or more wallets: amounts bought and sold, current holdings, average buy and sell prices, and realized and unrealized PnL in USD and in the chain's native token. Results are paginated with a cursor: pass paging.next_cursor from the previous response as next_cursor.

Cost per Request

Cost per request = 3 credits.

Available Plans

Available on the following plans:

  • Builder

  • Architect

  • Enterprise

Authorizations
X-API-KEYstringRequired
Query parameters
chainstring · enumRequired

Chain to query. all returns positions from both Base and Solana.

Example: solanaPossible values:
walletsstringOptional

Comma-separated wallet addresses.

Example: 9W7CCnAvviXzP9ToyfCBT4aYbn845HdZSWS7kZPZ96mg
token_addressesstringOptional

Comma-separated token addresses to filter by.

active_positionsbooleanOptional

Return only positions with a non-zero holding.

Example: true
collateralstringOptional

Filter by the collateral the position was traded against.

sort_bystring · enumOptional

Sort order.

Example: holding_usd_descPossible values:
limitintegerOptional

Maximum number of positions to return.

Example: 50
next_cursorstringOptional

Cursor from the previous response's paging.next_cursor.

Responses
200

OK

application/json
statusstring · enumOptionalPossible values:
get/api/v1/wallet/positions
GET /api/v1/wallet/positions?chain=base HTTP/1.1
Host: api.cielo.finance
X-API-KEY: YOUR_API_KEY
Accept: */*
{
  "status": "ok",
  "data": {
    "data": [
      {
        "chain": "solana",
        "wallet": "9W7CCnAvviXzP9ToyfCBT4aYbn845HdZSWS7kZPZ96mg",
        "token_address": "DezXAZ8z7PnrnRJjz3wXBoRgixCa6xjnB7YaB1pPB263",
        "token_symbol": "BONK",
        "token_name": "Bonk",
        "platform": "text",
        "platform_ui": "text",
        "collateral": "text",
        "bought_usd": 1,
        "bought_native": 1,
        "bought_amount": 1,
        "sold_usd": 1,
        "sold_native": 1,
        "sold_amount": 1,
        "sold_fees_usd": 1,
        "sold_fees_native": 1,
        "holding_usd": 1,
        "holding_native": 1,
        "holding_amount": 1,
        "holding_raw": "text",
        "realized_profit_usd": 1,
        "realized_profit_native": 1,
        "realized_profit_roi": 1,
        "realized_profit_roi_native": 1,
        "unrealized_profit_usd": 1,
        "unrealized_profit_native": 1,
        "unrealized_profit_roi": 1,
        "unrealized_profit_roi_native": 1,
        "total_profit_usd": 1,
        "total_profit_native": 1,
        "total_profit_roi": 1,
        "total_profit_roi_native": 1,
        "current_price_usd": 1,
        "current_price_native": 1,
        "market_cap": 1,
        "avg_buy_price_usd": 1,
        "avg_buy_price_native": 1,
        "avg_sell_price_usd": 1,
        "avg_sell_price_native": 1,
        "avg_buy_market_cap_usd": 1,
        "avg_sell_market_cap_usd": 1,
        "last_trade_timestamp": 1,
        "migrated_at": 1,
        "has_cost_basis": true,
        "cost_basis_carried": true
      }
    ],
    "paging": {
      "next_cursor": "text"
    }
  }
}

Enhanced Aggregated Stats

get

This endpoint retrieves enhanced aggregated trading statistics for a specified wallet, including trade counts, buy/sell amounts, DEX distribution, holding times, and most traded tokens.

Cost per Request

Cost per request = 20 credits.

Available Plans

Available on the following plans:

  • Whale

  • Builder

  • Architect

  • Enterprise

Authorizations
X-API-KEYstringRequired
Path parameters
walletstringRequired

The wallet address to get enhanced aggregated stats for.

Example: 0x0f9d76acdbc4417b026f876be1e2042e45f3bcd2
Query parameters
daysstringOptional

Time range filter. Supported options - 1d, 7d, 30d and max.

Example: 7d
from_timestampintegerOptional

Unix timestamp for the start of the time range.

Example: 1700000000
to_timestampintegerOptional

Unix timestamp for the end of the time range.

Example: 1710000000
Responses
200

OK

application/json
objectOptional
get/api/v1/{wallet}/enhanced-stats/aggregated
GET /api/v1/{wallet}/enhanced-stats/aggregated HTTP/1.1
Host: api.cielo.finance
X-API-KEY: YOUR_API_KEY
Accept: */*
{}

Profitability & Performance Stats

get

This endpoint retrieves profitability and performance statistics for a specified wallet, including win/loss trades, win rate, max profit/drawdown, win streaks, and holding distribution.

Cost per Request

Cost per request = 20 credits.

Available Plans

Available on the following plans:

  • Whale

  • Builder

  • Architect

  • Enterprise

Authorizations
X-API-KEYstringRequired
Path parameters
walletstringRequired

The wallet address to get profitability stats for.

Example: 0x0f9d76acdbc4417b026f876be1e2042e45f3bcd2
Query parameters
daysstringOptional

Time range filter. Supported options - 1d, 7d, 30d and max.

Example: 7d
from_timestampintegerOptional

Unix timestamp for the start of the time range.

Example: 1700000000
to_timestampintegerOptional

Unix timestamp for the end of the time range.

Example: 1710000000
Responses
200

OK

application/json
objectOptional
get/api/v1/{wallet}/enhanced-stats/profitability-performance
GET /api/v1/{wallet}/enhanced-stats/profitability-performance HTTP/1.1
Host: api.cielo.finance
X-API-KEY: YOUR_API_KEY
Accept: */*
{}

Enhanced Aggregated Stats V2

get

This endpoint retrieves enhanced aggregated trading statistics with support for multi-bundle wallets via the multi_bundle_id parameter.

Cost per Request

Cost per request = 25 credits.

Available Plans

Available on the following plans:

  • Builder

  • Architect

  • Enterprise

Authorizations
X-API-KEYstringRequired
Query parameters
walletstringOptional

The wallet address to get enhanced aggregated stats for.

Example: 0x0f9d76acdbc4417b026f876be1e2042e45f3bcd2
multi_bundle_idintegerOptional

Multi-bundle ID to aggregate stats across multiple wallets.

Example: 123
daysstringOptional

Time range filter. Supported options - 1d, 7d, 30d and max.

Example: 7d
from_timestampintegerOptional

Unix timestamp for the start of the time range.

Example: 1700000000
to_timestampintegerOptional

Unix timestamp for the end of the time range.

Example: 1710000000
Responses
200

OK

application/json
objectOptional
get/api/v2/enhanced-stats/aggregated
GET /api/v2/enhanced-stats/aggregated HTTP/1.1
Host: api.cielo.finance
X-API-KEY: YOUR_API_KEY
Accept: */*
{}

PnL Tokens Chart

get

This endpoint retrieves PnL time series chart data for a specified wallet, showing profit/loss over time with ROI calculations.

Cost per Request

Cost per request = 15 credits.

Available Plans

Available on the following plans:

  • Whale

  • Builder

  • Architect

  • Enterprise

Authorizations
X-API-KEYstringRequired
Path parameters
walletstringRequired

The wallet address to get PnL chart data for.

Example: 0x0f9d76acdbc4417b026f876be1e2042e45f3bcd2
Responses
200

OK

application/json
objectOptional
get/api/v1/{wallet}/pnl/tokens-chart
GET /api/v1/{wallet}/pnl/tokens-chart HTTP/1.1
Host: api.cielo.finance
X-API-KEY: YOUR_API_KEY
Accept: */*
{}

Monthly PnL

get

This endpoint retrieves monthly PnL data for a specified wallet, showing profit/loss aggregated by month.

Cost per Request

Cost per request = 5 credits.

Available Plans

Available on the following plans:

  • Whale

  • Builder

  • Architect

  • Enterprise

Authorizations
X-API-KEYstringRequired
Path parameters
walletstringRequired

The wallet address to get monthly PnL data for.

Example: 0x0f9d76acdbc4417b026f876be1e2042e45f3bcd2
Responses
200

OK

application/json
objectOptional
get/api/v1/{wallet}/pnl/month
GET /api/v1/{wallet}/pnl/month HTTP/1.1
Host: api.cielo.finance
X-API-KEY: YOUR_API_KEY
Accept: */*
{}

Last updated