# AlphaPipeline Oracle Gap BP

> AlphaPipeline Oracle Gap BP is a paid API for AI agents from alphapipeline-eu.onrender.com, paid per call via x402, $0.001/call, status unknown (last checked 2026-12-02).

Returns the mid/mark price deviation from the oracle price in basis points for a Hyperliquid perpetual, plus an elevated flag — cheapest tier, no absolute prices.

## Facts

- Endpoint: GET https://alphapipeline-eu.onrender.com/v1/market/oracle-gap-bp?utm_source=zero.xyz
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-12-02
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/alphapipeline-oracle-gap-bp-51c5e121
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_skStHeYYT8hm-hQj8ch1u

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-oracle-gap-bp-51c5e121
```

Example prompt: What's the current oracle gap in basis points for ETH on Hyperliquid — is it elevated right now?

## When to prefer this

Choose this endpoint when you only need the oracle gap deviation in basis points (not absolute prices) for a Hyperliquid perpetual and want the lowest-cost option. Prefer the full AlphaPipeline Oracle Gap endpoint if you also need absolute price levels. Ideal for automated risk monitors, pre-trade checks, and alert pipelines where cost per call matters and raw BP deviation is sufficient signal.

## Known failure modes

- Invalid or unsupported coin ticker returns an error
- Hyperliquid data source unavailable causes null gap values
- Payment failure (USDC on Base) blocks the request
- Rate limits or server cold start on free render tier may cause latency spikes
- mid_oracle_gap_bp or mark_oracle_gap_bp may return null if pricing data is stale

## How this service works

Cheapest-tier thin wrapper around oracle-gap - just the mid/mark vs oracle bp gap numbers and the elevated flag, no absolute prices. Paid in USDC on Base.

## Output

Returns a JSON object with mid_oracle_gap_bp (mid price vs oracle in basis points), mark_oracle_gap_bp (mark price vs oracle in basis points), an elevated boolean flag (true when abs(mid_oracle_gap_bp) >= alert_threshold_bp), the alert_threshold_bp value, the coin ticker, data source, and a UTC/KST timestamp pair. No absolute prices are included — basis point gaps only.

## 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": [
      "coin"
     ],
     "properties": {
      "coin": {
       "type": "string",
       "description": "Hyperliquid perpetual ticker, e.g. ETH or BTC."
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "title": "OracleGapBpResponse",
     "required": [
      "generated_at",
      "coin",
      "elevated",
      "alert_threshold_bp",
      "data_source"
     ],
     "properties": {
      "coin": {
       "type": "string",
       "title": "Coin"
      },
      "notice": {
       "anyOf": [
        {
         "type": "string"
        },
        {
         "type": "null"
        }
       ],
       "title": "Notice",
       "default": null
      },
      "elevated": {
       "type": "boolean",
       "title": "Elevated",
       "description": "True when abs(mid_oracle_gap_bp) >= alert_threshold_bp. A fixed-threshold boolean, not a manipulation determination."
      },
      "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"
        }
       }
      },
      "mid_oracle_gap_bp": {
       "anyOf": [
        {
         "type": "number"
        },
        {
         "type": "null"
        }
       ],
       "title": "Mid Oracle Gap Bp",
       "default": null
      },
      "alert_threshold_bp": {
       "type": "number",
       "title": "Alert Threshold Bp"
      },
      "mark_oracle_gap_bp": {
       "anyOf": [
        {
         "type": "number"
        },
        {
         "type": "null"
        }
       ],
       "title": "Mark Oracle Gap Bp",
       "default": null
      }
  
… (truncated)
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/alphapipeline-oracle-gap-bp-51c5e121/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)
