# HALOWERK marktwerk – Futures Basis Endpoint

> HALOWERK marktwerk – Futures Basis Endpoint is a paid API for AI agents from markt.netzhandwerker.de, paid per call via x402, $0.004/call, status unknown (last checked 2026-09-15).

Returns the futures basis (spread between futures price and spot price) for BTC or ETH dated futures on Deribit, across selected expiries and spot sources.

## Facts

- Endpoint: POST https://markt.netzhandwerker.de/basis
- Price: $0.004/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/halowerk-marktwerk-futures-basis-endpoint-31507608
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_c_soG9qIUaNlcm0oi6JtG

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 halowerk-marktwerk-futures-basis-endpoint-31507608 -d '<json body>'
```

Example prompt: What's the current futures basis for BTC/USD across all open Deribit expiries, using Binance as the spot source?

## When to prefer this

Choose this endpoint when you need real-time or near-real-time futures basis data specifically for Deribit BTC or ETH dated futures, especially when comparing across multiple expiries or across different spot price sources (cross-venue basis). It is purpose-built for basis trading analysis and futures curve inspection in crypto derivatives markets.

## Known failure modes

- Invalid symbol pattern (not BTC/USD or ETH/USD) returns a validation error
- Unsupported venue value causes rejection since only Deribit is connected
- Invalid expiry date format (not YYYY-MM-DD) causes a parsing error
- Deribit API unavailability may cause upstream data fetch failure
- Payment failure via x402 results in HTTP 402 and no data returned

## How this service works

HALOWERK marktwerk — bezahlte Endpunkte nach x402. Preise in USDC auf Base Mainnet.

## Output

Returns structured data including the futures price, spot price, and computed basis (absolute and/or annualized spread) for the requested BTC or ETH dated futures on Deribit, for each matching expiry. Cross-venue comparisons are flagged when the spot source differs from the futures venue.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "venue": {
   "enum": [
    "deribit"
   ],
   "type": "string",
   "default": "deribit",
   "description": "Futures venue. Only Deribit is connected here."
  },
  "symbol": {
   "type": "string",
   "pattern": "^(BTC|ETH|btc|eth)/(USD|usd)$",
   "description": "Underlying as BASE/USD, so BTC/USD or ETH/USD. Deribit settles its dated futures in USD."
  },
  "expiries": {
   "type": "string",
   "default": "alle",
   "description": "alle for every open expiry, naechste for the nearest one, or an exact date as YYYY-MM-DD."
  },
  "spot_source": {
   "enum": [
    "deribit_index",
    "binance",
    "coinbase",
    "kraken",
    "okx",
    "bybit"
   ],
   "type": "string",
   "default": "deribit_index",
   "description": "Where the spot price comes from. deribit_index sits on the same venue as the contract; anything else is flagged as a cross venue basis."
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/halowerk-marktwerk-futures-basis-endpoint-31507608/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from markt.netzhandwerker.de](https://www.zero.xyz/host/markt.netzhandwerker.de/llms.txt)
