{
  "x402Version": 2,
  "id": 39917,
  "slug": "39917",
  "resource": "https://x402stock.xyz/api/v1/perps",
  "description": "Live state of every perpetual-futures market in one call: per coin the mark and oracle price, hourly funding rate with annualized APR, premium, open interest, max leverage, previous-day price, and 24h USD and base volume. Native crypto-derivatives data — funding and open interest are perp-only, absent from any spot feed. Free on-chain DEX data (venue: Hyperliquid), no key. From x402stock",
  "type": "http",
  "resourceType": "Market Data",
  "accepts": [
    {
      "scheme": "exact",
      "network": "eip155:8453",
      "payTo": "0x3070Fbb3803819fB5BdfE9286fdc6325A877fA85",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "amount": "20000",
      "amountUsd": 0.02,
      "maxTimeoutSeconds": 300
    }
  ],
  "outputSchema": {
    "properties": {
      "example": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "additionalProperties": false,
        "properties": {
          "as_of": {
            "type": "string"
          },
          "count": {
            "type": "number"
          },
          "market": {
            "const": "perp",
            "type": "string"
          },
          "perps": {
            "items": {
              "additionalProperties": false,
              "properties": {
                "coin": {
                  "type": "string"
                },
                "day_volume_base": {
                  "anyOf": [
                    {
                      "type": "number"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "day_volume_usd": {
                  "anyOf": [
                    {
                      "type": "number"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "funding_apr_percent": {
                  "anyOf": [
                    {
                      "type": "number"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "funding_rate_hourly": {
                  "anyOf": [
                    {
                      "type": "number"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "mark_price": {
                  "anyOf": [
                    {
                      "type": "number"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "max_leverage": {
                  "type": "number"
                },
                "mid_price": {
                  "anyOf": [
                    {
                      "type": "number"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "open_interest": {
                  "anyOf": [
                    {
                      "type": "number"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "oracle_price": {
                  "anyOf": [
                    {
                      "type": "number"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "premium": {
                  "anyOf": [
                    {
                      "type": "number"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "prev_day_price": {
                  "anyOf": [
                    {
                      "type": "number"
                    },
                    {
                      "type": "null"
                    }
                  ]
                }
              },
              "required": [
                "coin",
                "max_leverage",
                "mark_price",
                "oracle_price",
                "mid_price",
                "prev_day_price",
                "funding_rate_hourly",
                "funding_apr_percent",
                "premium",
                "open_interest",
                "day_volume_usd",
                "day_volume_base"
              ],
              "type": "object"
            },
            "type": "array"
          },
          "source": {
            "const": "x402stock",
            "type": "string"
          },
          "venue": {
            "type": "string"
          }
        },
        "required": [
          "source",
          "as_of",
          "venue",
          "market",
          "count",
          "perps"
        ],
        "type": "object"
      },
      "type": {
        "type": "string"
      }
    },
    "required": [
      "type"
    ],
    "type": "object"
  },
  "extensions": {
    "bazaar": {
      "info": {
        "input": {
          "method": "GET",
          "queryParams": {},
          "type": "http"
        },
        "output": {
          "example": {
            "as_of": "2026-06-04T00:00:00.000Z",
            "count": 2,
            "market": "perp",
            "perps": [
              {
                "coin": "BTC",
                "day_volume_base": 106799.6,
                "day_volume_usd": 6772680481.63,
                "funding_apr_percent": 10.95,
                "funding_rate_hourly": 0.0000125,
                "mark_price": 63606,
                "max_leverage": 40,
                "mid_price": 63606.5,
                "open_interest": 31304.105,
                "oracle_price": 63629,
                "premium": -0.0003457543,
                "prev_day_price": 64583
              }
            ],
            "source": "x402stock",
            "venue": "hyperliquid"
          },
          "type": "json"
        }
      },
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "input": {
            "additionalProperties": false,
            "properties": {
              "method": {
                "enum": [
                  "GET",
                  "HEAD",
                  "DELETE"
                ],
                "type": "string"
              },
              "queryParams": {
                "properties": {},
                "type": "object"
              },
              "type": {
                "const": "http",
                "type": "string"
              }
            },
            "required": [
              "type",
              "method"
            ],
            "type": "object"
          },
          "output": {
            "properties": {
              "example": {
                "$schema": "https://json-schema.org/draft/2020-12/schema",
                "additionalProperties": false,
                "properties": {
                  "as_of": {
                    "type": "string"
                  },
                  "count": {
                    "type": "number"
                  },
                  "market": {
                    "const": "perp",
                    "type": "string"
                  },
                  "perps": {
                    "items": {
                      "additionalProperties": false,
                      "properties": {
                        "coin": {
                          "type": "string"
                        },
                        "day_volume_base": {
                          "anyOf": [
                            {
                              "type": "number"
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "day_volume_usd": {
                          "anyOf": [
                            {
                              "type": "number"
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "funding_apr_percent": {
                          "anyOf": [
                            {
                              "type": "number"
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "funding_rate_hourly": {
                          "anyOf": [
                            {
                              "type": "number"
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "mark_price": {
                          "anyOf": [
                            {
                              "type": "number"
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "max_leverage": {
                          "type": "number"
                        },
                        "mid_price": {
                          "anyOf": [
                            {
                              "type": "number"
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "open_interest": {
                          "anyOf": [
                            {
                              "type": "number"
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "oracle_price": {
                          "anyOf": [
                            {
                              "type": "number"
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "premium": {
                          "anyOf": [
                            {
                              "type": "number"
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "prev_day_price": {
                          "anyOf": [
                            {
                              "type": "number"
                            },
                            {
                              "type": "null"
                            }
                          ]
                        }
                      },
                      "required": [
                        "coin",
                        "max_leverage",
                        "mark_price",
                        "oracle_price",
                        "mid_price",
                        "prev_day_price",
                        "funding_rate_hourly",
                        "funding_apr_percent",
                        "premium",
                        "open_interest",
                        "day_volume_usd",
                        "day_volume_base"
                      ],
                      "type": "object"
                    },
                    "type": "array"
                  },
                  "source": {
                    "const": "x402stock",
                    "type": "string"
                  },
                  "venue": {
                    "type": "string"
                  }
                },
                "required": [
                  "source",
                  "as_of",
                  "venue",
                  "market",
                  "count",
                  "perps"
                ],
                "type": "object"
              },
              "type": {
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          }
        },
        "required": [
          "input"
        ],
        "type": "object"
      }
    }
  },
  "tags": [
    "bazaar"
  ],
  "sourceHost": "x402stock.xyz",
  "lastUpdated": "2026-10-09T02:44:12.917Z",
  "quality": {
    "calls30d": 5,
    "uniquePayers30d": 4,
    "lastCalledAt": "2026-10-09T02:44:12.708Z"
  },
  "metadata": {
    "extensions": {
      "bazaar": {
        "info": {
          "input": {
            "method": "GET",
            "queryParams": {},
            "type": "http"
          },
          "output": {
            "example": {
              "as_of": "2026-06-04T00:00:00.000Z",
              "count": 2,
              "market": "perp",
              "perps": [
                {
                  "coin": "BTC",
                  "day_volume_base": 106799.6,
                  "day_volume_usd": 6772680481.63,
                  "funding_apr_percent": 10.95,
                  "funding_rate_hourly": 0.0000125,
                  "mark_price": 63606,
                  "max_leverage": 40,
                  "mid_price": 63606.5,
                  "open_interest": 31304.105,
                  "oracle_price": 63629,
                  "premium": -0.0003457543,
                  "prev_day_price": 64583
                }
              ],
              "source": "x402stock",
              "venue": "hyperliquid"
            },
            "type": "json"
          }
        },
        "schema": {
          "$schema": "https://json-schema.org/draft/2020-12/schema",
          "properties": {
            "input": {
              "additionalProperties": false,
              "properties": {
                "method": {
                  "enum": [
                    "GET",
                    "HEAD",
                    "DELETE"
                  ],
                  "type": "string"
                },
                "queryParams": {
                  "properties": {},
                  "type": "object"
                },
                "type": {
                  "const": "http",
                  "type": "string"
                }
              },
              "required": [
                "type",
                "method"
              ],
              "type": "object"
            },
            "output": {
              "properties": {
                "example": {
                  "$schema": "https://json-schema.org/draft/2020-12/schema",
                  "additionalProperties": false,
                  "properties": {
                    "as_of": {
                      "type": "string"
                    },
                    "count": {
                      "type": "number"
                    },
                    "market": {
                      "const": "perp",
                      "type": "string"
                    },
                    "perps": {
                      "items": {
                        "additionalProperties": false,
                        "properties": {
                          "coin": {
                            "type": "string"
                          },
                          "day_volume_base": {
                            "anyOf": [
                              {
                                "type": "number"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "day_volume_usd": {
                            "anyOf": [
                              {
                                "type": "number"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "funding_apr_percent": {
                            "anyOf": [
                              {
                                "type": "number"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "funding_rate_hourly": {
                            "anyOf": [
                              {
                                "type": "number"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "mark_price": {
                            "anyOf": [
                              {
                                "type": "number"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "max_leverage": {
                            "type": "number"
                          },
                          "mid_price": {
                            "anyOf": [
                              {
                                "type": "number"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "open_interest": {
                            "anyOf": [
                              {
                                "type": "number"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "oracle_price": {
                            "anyOf": [
                              {
                                "type": "number"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "premium": {
                            "anyOf": [
                              {
                                "type": "number"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "prev_day_price": {
                            "anyOf": [
                              {
                                "type": "number"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          }
                        },
                        "required": [
                          "coin",
                          "max_leverage",
                          "mark_price",
                          "oracle_price",
                          "mid_price",
                          "prev_day_price",
                          "funding_rate_hourly",
                          "funding_apr_percent",
                          "premium",
                          "open_interest",
                          "day_volume_usd",
                          "day_volume_base"
                        ],
                        "type": "object"
                      },
                      "type": "array"
                    },
                    "source": {
                      "const": "x402stock",
                      "type": "string"
                    },
                    "venue": {
                      "type": "string"
                    }
                  },
                  "required": [
                    "source",
                    "as_of",
                    "venue",
                    "market",
                    "count",
                    "perps"
                  ],
                  "type": "object"
                },
                "type": {
                  "type": "string"
                }
              },
              "required": [
                "type"
              ],
              "type": "object"
            }
          },
          "required": [
            "input"
          ],
          "type": "object"
        }
      }
    }
  },
  "liveness": {
    "reliability": null
  },
  "verified": false,
  "featured": false,
  "provider": {
    "host": "x402stock.xyz",
    "manifest_name": "x402stock.xyz",
    "source": "cdp-mirror",
    "source_manifest_url": "https://api.cdp.coinbase.com/platform/v2/x402/discovery/resources",
    "submitted_at": "2026-10-14T01:15:01.050Z"
  },
  "exampleResponse": {
    "example": {
      "as_of": "string",
      "count": 0,
      "market": "string",
      "perps": [
        {
          "coin": "string",
          "day_volume_base": null,
          "day_volume_usd": null,
          "funding_apr_percent": null,
          "funding_rate_hourly": null,
          "mark_price": null,
          "max_leverage": 0,
          "mid_price": null,
          "open_interest": null,
          "oracle_price": null,
          "premium": null,
          "prev_day_price": null
        }
      ],
      "source": "string",
      "venue": "string"
    },
    "type": "string"
  }
}