# AlphaPipeline Funding APR Matrix

> AlphaPipeline Funding APR Matrix is a paid API for AI agents from alphapipeline-eu.onrender.com, paid per call via x402, $0.01/call, status unknown (last checked 2026-10-11).

Annualizes a perpetual futures funding rate into APR, identifies which side collects funding (LONG or SHORT), and computes carry-trade breakeven days given a round-trip trading cost assumption.

## Facts

- Endpoint: GET https://alphapipeline-eu.onrender.com/v1/derivatives/funding-apr-matrix?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-11
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/alphapipeline-funding-apr-matrix-66192f86
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_UWGb9BpvyucY1P_HOI5Gk

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 alphapipeline-funding-apr-matrix-66192f86
```

Example prompt: What's the annualized funding APR for BTC perpetuals right now, which side is collecting — longs or shorts — and how many days to break even on a carry trade assuming a 0.2% round-trip cost?

## When to prefer this

Use this endpoint when you need a ready-made, single-call annualized funding yield calculation with carry-trade breakeven analysis — rather than pulling raw funding rates and doing the annualization math yourself. It is especially useful for agents performing pre-trade carry-trade feasibility checks, comparing funding regimes across assets, or surfacing which market side currently earns yield on perpetual positions.

## Known failure modes

- Unknown or unsupported symbol returns null fields or an error response
- Funding rate data unavailable from Bybit and Binance fallback also fails — fields return null
- Invalid assumed_round_trip_cost_pct (e.g. negative value) may produce nonsensical breakeven_days
- Rate limit or upstream outage on the render.com host causes timeout or 5xx
- Payment not included or insufficient USDC results in 402 Payment Required

## How this service works

Annualizes the current perpetual funding rate into an APR, flags which side (SHORT or LONG perp) currently collects funding, and computes carry-trade breakeven days against an assumed round-trip trading cost. Pure calculation on top of funding-rate data. Paid in USDC on Base.

## Output

Returns a JSON object containing: the annualized funding rate as a percentage (APR), the funding collector side (LONG or SHORT), daily funding income percentage, funding rate percentage per interval, funding interval in hours, number of funding periods per year, breakeven days against the assumed round-trip cost, timestamps in UTC and KST, the data source, and an optional notice field.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET",
      "HEAD",
      "DELETE"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "symbol"
     ],
     "properties": {
      "symbol": {
       "type": "string",
       "description": "Ticker symbol, e.g. BTC, ETH, or BTCUSDT."
      },
      "assumed_round_trip_cost_pct": {
       "type": "number",
       "description": "Combined entry+exit trading fee percentage across both the spot and perpetual legs. Defaults to 0.2."
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "title": "FundingAprMatrixResponse",
     "required": [
      "generated_at",
      "symbol",
      "assumed_round_trip_cost_pct",
      "data_source"
     ],
     "properties": {
      "notice": {
       "anyOf": [
        {
         "type": "string"
        },
        {
         "type": "null"
        }
       ],
       "title": "Notice",
       "default": null
      },
      "symbol": {
       "type": "string",
       "title": "Symbol"
      },
      "data_source": {
       "type": "string",
       "title": "Data Source"
      },
      "generated_at": {
       "type": "object",
       "title": "TimestampPair",
       "required": [
        "utc",
        "kst"
       ],
       "properties": {
        "kst": {
         "type": "string",
         "title": "Kst"
        },
        "utc": {
         "type": "string",
         "title": "Utc"
        }
       }
      },
      "breakeven_days": {
       "anyOf": [
        {
         "type": "number"
        },
        {
         "type": "null"
        }
       ],
       "title": "Breakeven Days",
       "default": null
      },
      "periods_per_year": {
       "anyOf": [
        {
         "type": "integer"
        },
        {
         "type": "null"
        }
       ],
       "title": "Periods Per Year",
       "default": null
      },
      "annualized_rate_pct": {
       "anyOf": [
        {
         "type": "number"
        },
        {
         "type": "null"
      
… (truncated)
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/alphapipeline-funding-apr-matrix-66192f86/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from alphapipeline-eu.onrender.com](https://www.zero.xyz/host/alphapipeline-eu.onrender.com/llms.txt)
