> ## Documentation Index
> Fetch the complete documentation index at: https://docs.b3os.org/llms.txt
> Use this file to discover all available pages before exploring further.

# Hyperliquid Get Funding Rates

Get current funding rates, open interest, and mark prices for Hyperliquid perpetual markets. Returns hourly and annualized rates, OI in USD, premium, and 24h volume. Filter by coin or get all markets sorted by absolute rate (extremes first). Pass dex='xyz' for trade.xyz TradFi markets. Ideal for: funding rate alerts, arbitrage detection, market health monitoring, and yield farming strategies.

![Hyperliquid Get Funding Rates logo](https://cdn.b3.fun/hyperliquid-logo.png)
Catalog action Hyperliquid

Get current funding rates, open interest, and mark prices for Hyperliquid perpetual markets. Returns hourly and annualized rates, OI in USD, premium, and 24h volume. Filter by coin or get all markets sorted by absolute rate (extremes first). Pass dex='xyz' for trade.xyz TradFi markets. Ideal for: funding rate alerts, arbitrage detection, market health monitoring, and yield farming strategies.


## At a Glance

| Field | Value |
| --- | --- |
| Action ID | `hyperliquid-get-funding-rates` |
| Category | Hyperliquid |
| Connector | Not required |
| Requires gas | No |
| Funds movement | None declared |
| Tags | `hyperliquid`, `perps`, `trading`, `monitoring` |

## Payload Schema

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `coin` | `string` | No | Filter to a single coin \(e.g. BTC, ETH\). Omit for all markets. |
| `dex` | `string` | No | HIP-3 DEX name for TradFi markets. Omit for standard crypto perps. xyz = trade.xyz \(stocks, indices, commodities\), flx = flx.finance, vntl = vntl.exchange |

## Result Schema

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `fundingRates` | `array` | Yes | Funding rates for perpetual markets, sorted by absolute rate descending \(extremes first\) |

## Examples

**Workflow node**

```json
{
  "type": "hyperliquid-get-funding-rates",
  "payload": {
    "coin": "example-coin",
    "dex": "xyz"
  },
  "children": []
}
```
  **Test with API**

```bash
curl -X POST "https://api.b3os.org/v1/actions/hyperliquid-get-funding-rates/test" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "inputs": {
    "coin": "example-coin",
    "dex": "xyz"
  }
}'
```

**Use expressions for dynamic values**

Payload fields can use workflow expressions such as `{{$trigger.body.amount}}`, `{{$nodes.fetch.result.price}}`, and `{{$props.asset}}` when the value should come from a trigger, prior node, or reusable workflow prop.