# AlphaPipeline HIP-4 Mispricing

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

Detects monotonicity violations in Hyperliquid HIP-4 'above $X' price-binary market ladders, quantifying mispricing in basis points and maximum theoretical riskless profit.

## Facts

- Endpoint: GET https://alphapipeline-eu.onrender.com/v1/prediction/hip4-mispricing?utm_source=zero.xyz
- Price: $0.02/call
- Payment: x402
- Status: unknown
- Last checked: 2026-12-02
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/alphapipeline-hip-4-mispricing-205f6fcc
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_re9Yt-4VWAvPPQop86MtJ

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-hip-4-mispricing-205f6fcc
```

Example prompt: Check the Hyperliquid HIP-4 binary markets for BTC and tell me if there are any monotonicity violations — which strike pairs are mispriced, how many basis points off they are, and what the max theoretical riskless profit per dollar would be.

## When to prefer this

Choose this endpoint when you need to detect logical pricing inconsistencies specifically in Hyperliquid HIP-4 'above $X' binary prediction markets. It reuses the hip4-price-ladder cache so it is cheaper and faster than re-fetching upstream data. Prefer it over manual ladder inspection when you want quantified basis-point mispricing and theoretical arbitrage bounds for a specific crypto underlying. Not suitable for general options pricing, CEX arbitrage, or non-HIP-4 prediction markets.

## Known failure modes

- Missing required 'underlying' parameter returns a validation error
- Unrecognized asset symbol returns empty or error response
- Cache miss (hip4-price-ladder cache not yet populated) may return stale or unavailable data
- Render.com cold start may cause elevated latency on first call
- Payment failure (insufficient USDC on Base) blocks the request

## How this service works

Finds monotonicity violations among Hyperliquid HIP-4 'above $X' price-binary markets: within the same underlying/expiry/period, a higher strike's Yes price should never exceed a lower strike's - any reversal is a logical inconsistency (quantified as violation_bp and a textbook max_riskless_profit_per_usd, before fees/slippage). Reuses hip4-price-ladder's cache - no new upstream call. Required `underlying`. Not investment advice. Paid in USDC on Base.

## Output

Returns a list of monotonicity violations found in the HIP-4 binary market ladder for the specified underlying, including: the lower and higher strike prices involved, their respective Yes prices, the violation size in basis points (violation_bp), and the textbook maximum riskless profit per USD (max_riskless_profit_per_usd). Also includes metadata: generation timestamp, total rungs and expiry groups checked, violation count, settlement condition note, and data source. Returns an empty violations array if no mispricing is detected.

## 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": [
      "underlying"
     ],
     "properties": {
      "underlying": {
       "type": "string",
       "description": "Asset symbol for crypto price-binary markets (e.g. 'BTC', 'ETH', 'SOL', 'HYPE')."
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "title": "PredictionHip4MispricingResponse",
     "required": [
      "generated_at",
      "underlying",
      "expiry_groups_checked",
      "total_rungs_checked",
      "violation_count",
      "violations",
      "settlement_condition_note",
      "data_source"
     ],
     "properties": {
      "notice": {
       "anyOf": [
        {
         "type": "string"
        },
        {
         "type": "null"
        }
       ],
       "title": "Notice",
       "default": null
      },
      "underlying": {
       "type": "string",
       "title": "Underlying"
      },
      "violations": {
       "type": "array",
       "items": {
        "type": "object",
        "title": "Hip4MispricingViolation",
        "required": [
         "lower_strike",
         "lower_strike_yes_price",
         "higher_strike",
         "higher_strike_yes_price",
         "violation_bp",
         "max_riskless_profit_per_usd"
        ],
        "properties": {
         "expiry": {
          "anyOf": [
           {
            "type": "string"
           },
           {
            "type": "null"
           }
          ],
          "title": "Expiry",
          "default": null
         },
         "period": {
          "anyOf": [
           {
            "type": "string"
           },
           {
            "type": "null"
           }
          ],
          "title": "Period",
          "default": null
         },
         "lower_strike": {
          "type": "number",
          "title": "Lower Strike"
         },
         "violation_bp": {
          "type": "number",
          "title": "Vio
… (truncated)
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/alphapipeline-hip-4-mispricing-205f6fcc/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)
