# WickedAPI Basis Spread Trading Data Endpoint

> WickedAPI Basis Spread Trading Data Endpoint is a paid API for AI agents from api.wickedapi.com, paid per call via x402, $0.001/call, status unknown (last checked 2026-10-10).

Fetches basis spread data (spot vs futures price differential) for crypto or financial instruments, as part of a broader agent-ready market data API with prices, indicators, and AI momentum scores.

## Facts

- Endpoint: GET https://api.wickedapi.com/v1/basis?utm_source=zero.xyz
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-10
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/wickedapi-basis-spread-trading-data-endpoint-23ba4f4c
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_XVn9HWS8-vLdSLZ_xbpFz

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 wickedapi-basis-spread-trading-data-endpoint-23ba4f4c
```

Example prompt: What's the current basis spread between BTC spot and futures right now? I want to see if there's a carry trade opportunity.

## When to prefer this

Choose this endpoint when you need programmatic, pay-per-call access to basis spread (spot vs futures differential) data for crypto or financial instruments, especially in agent workflows where micropayment via x402/USDC is preferred over subscription billing. It is well-suited for derivatives traders, carry trade bots, or arbitrage detection agents that need real-time or near-real-time basis figures without committing to a subscription.

## Known failure modes

- Missing or invalid query parameters may return empty data object
- x402 payment failure if USDC balance is insufficient
- Rate limiting or unauthorized access if API key is invalid or absent
- Service may return stale data if upstream market feed is delayed
- Generic 402 Payment Required response if payment header is not correctly formed

## How this service works

Agent-ready trading & market-data API: prices, indicators, prediction markets, macro, and an AI momentum score. Pay per call with x402 (USDC) or an API key.

## Output

Returns a JSON object with a `data` field containing basis spread figures (spot vs futures differential) and a `meta` field with a UTC timestamp. The specific basis metrics may include raw spread values, percentage differentials, or AI-enriched momentum context depending on the underlying data pipeline.

## 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",
     "properties": {}
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "data": {},
  "meta": {
   "timestamp": "2026-01-01T00:00:00.000Z"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/wickedapi-basis-spread-trading-data-endpoint-23ba4f4c/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.wickedapi.com](https://www.zero.xyz/host/api.wickedapi.com/llms.txt)
