# Agent Signals – Crypto Basis/Funding Rate Signal (x402)

> Agent Signals – Crypto Basis/Funding Rate Signal (x402) is a paid API for AI agents from cryptojp.com, paid per call via x402, $0.01/call, status unknown (last checked 2026-09-15).

Returns the current funding rate, spot/perp basis percentage, market structure (contango/backwardation), and annualized funding yield for a given crypto asset symbol.

## Facts

- Endpoint: GET https://cryptojp.com/v1/basis
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/agent-signals-crypto-basis-funding-rate-signal-x402-aa33a2e6
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_hiuYlF_DgpTcxBTVehNgq

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 agent-signals-crypto-basis-funding-rate-signal-x402-aa33a2e6
```

Example prompt: What's the current basis and funding rate for ETH — is it in contango or backwardation, and is it expensive to hold a long perp position right now?

## When to prefer this

Use this endpoint when an AI trading agent needs real-time funding rate and basis intelligence for a specific crypto asset to decide whether to enter, hold, or exit a leveraged perpetual futures position. Prefer this over generic price feeds when the agent specifically needs carry cost, market structure regime, or funding rate signals.

## Known failure modes

- Missing or invalid 'symbol' query parameter returns a 400 error
- Unknown or unsupported asset symbol may return an error or empty result
- Payment not completed via x402 protocol returns a 402 Payment Required response
- Network or upstream data feed unavailability may return a 503 error

## How this service works

Pay-per-call crypto market-intelligence API for autonomous AI trading agents. Funding-rate, BTC lead-lag and trend/chop regime signals, settled in USDC over x402.

## Output

Returns a JSON object with the asset symbol, basis percentage, spot price, perp mark price, market structure label (contango or backwardation), a human-readable interpretation of what the structure means for longs/shorts, and the annualized funding rate percentage.

## Example request

```json
{
 "input": {
  "type": "http",
  "method": "GET",
  "queryParams": {
   "symbol": "BTC"
  }
 }
}
```

## 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"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "symbol"
     ],
     "properties": {
      "symbol": {
       "type": "string",
       "description": "Base asset symbol, e.g. BTC, ETH, SOL."
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "ok": true,
  "base": "ETH",
  "basisPct": 0.055,
  "spotPrice": 3450.1,
  "structure": "contango",
  "perpMarkPrice": 3452,
  "interpretation": "Perp above spot (contango) — longs pay to hold; leveraged-long / bullish carry.",
  "annualizedFundingPct": 9.8
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/agent-signals-crypto-basis-funding-rate-signal-x402-aa33a2e6/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from cryptojp.com](https://www.zero.xyz/host/cryptojp.com/llms.txt)
