# Hyperliquid Portfolio Funding History API

> Hyperliquid Portfolio Funding History API is a paid API for AI agents from klymax402.com, paid per call via x402, $0.005/call, status unknown (last checked 2026-09-13).

Retrieves funding payment history (paid, received, net) for a given Hyperliquid wallet address over a specified time range

## Facts

- Endpoint: GET https://klymax402.com/api/hl-portfolio/api/funding
- Price: $0.005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/hyperliquid-portfolio-funding-history-api-ace0932c
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_ZgNCRBq3GMJP6EqMT4Slv

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability hyperliquid-portfolio-funding-history-api-ace0932c
```

Example prompt: Can you pull the Hyperliquid funding history for wallet 0xAbC123...def456 over the last 7 days and tell me the total amount paid vs received and the net funding balance?

## When to prefer this

Use this endpoint when you need to retrieve Hyperliquid-specific perpetuals funding history for a wallet — particularly when you want aggregated totals (paid, received, net) alongside the raw event list. Prefer this over generic blockchain explorers when the user is specifically asking about Hyperliquid perps funding rates and cost analysis.

## Known failure modes

- Invalid or malformed wallet address returns empty or error response
- No funding history in the requested time range returns an empty funding array
- startTime too far in the past may return incomplete historical data
- Missing wallet address parameter causes a request error
- Non-Hyperliquid addresses (e.g. wrong chain) return no results

## How this service works

One MCP endpoint gives your AI agent access to 100 APIs -- crypto, DeFi, web, AI, finance and utilities. No API keys, USDC on Base from $0.003/call.

## Output

Returns a JSON object containing a list of individual funding events, total funding paid, total funding received, and net funding (received minus paid) for the specified Hyperliquid wallet address and time window

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "address": {
   "type": "string",
   "description": "Hyperliquid wallet address (0x...) to retrieve funding history for"
  },
  "startTime": {
   "type": "number",
   "description": "Unix timestamp in milliseconds to start from (optional, default: last 7 days)"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "funding": [],
  "totalPaid": "example",
  "netFunding": "example",
  "totalReceived": "example"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/hyperliquid-portfolio-funding-history-api-ace0932c/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from klymax402.com](https://www.zero.xyz/host/klymax402.com/llms.txt)
