{
  "x402Version": 2,
  "id": 33966,
  "slug": "33966",
  "resource": "https://http--forest-gas-station-mainnet--lcjl27p8lmjs.code.run/perp/funding",
  "description": "Return one current Hyperliquid native perpetual snapshot with hourly funding, 8-hour equivalent, simple nominal annualization of the current hourly rate, mark/oracle basis, Hyperliquid funding premium index, open interest, daily notional volume and max leverage. Forest reads only the fixed public Hyperliquid info endpoint; the annualized field is not compounded, forecast or realized return, and Forest does not trade, sign, read a wallet or recommend a position. Base mainnet USDC",
  "type": "http",
  "serviceName": "Forest Markets",
  "resourceType": "Market Data",
  "accepts": [
    {
      "scheme": "exact",
      "network": "eip155:8453",
      "payTo": "0xf9c2a7255E7C51D7BF38331DcFC23Ba881cF61Ba",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "amount": "2000",
      "amountUsd": 0.002,
      "maxTimeoutSeconds": 120
    }
  ],
  "outputSchema": {
    "properties": {
      "example": {
        "additionalProperties": false,
        "properties": {
          "capability": {
            "const": "perp.funding",
            "description": "Public capability value used to scope this lookup."
          },
          "data": {
            "additionalProperties": false,
            "description": "Public data value used to scope this lookup.",
            "properties": {
              "cache_age_ms": {
                "description": "Public cache age ms value used to scope this lookup.",
                "maximum": 60000,
                "minimum": 0,
                "type": "integer"
              },
              "coin": {
                "description": "Public coin value used to scope this lookup.",
                "type": "string"
              },
              "day_volume_usd": {
                "description": "Public day volume usd value used to scope this lookup.",
                "minimum": 0,
                "type": "number"
              },
              "freshness": {
                "const": "current_upstream_snapshot",
                "description": "Public freshness value used to scope this lookup."
              },
              "funding_apr_percent": {
                "description": "Public funding apr percent value used to scope this lookup.",
                "type": "number"
              },
              "funding_rate_8h_equivalent": {
                "description": "Public funding rate 8h equivalent value used to scope this lookup.",
                "type": "number"
              },
              "funding_rate_hourly": {
                "description": "Public funding rate hourly value used to scope this lookup.",
                "type": "number"
              },
              "mark_oracle_basis_bps": {
                "description": "Public mark oracle basis bps value used to scope this lookup.",
                "type": "number"
              },
              "mark_oracle_basis_fraction": {
                "description": "Public mark oracle basis fraction value used to scope this lookup.",
                "type": "number"
              },
              "mark_price": {
                "description": "Public mark price value used to scope this lookup.",
                "exclusiveMinimum": 0,
                "type": "number"
              },
              "max_leverage": {
                "description": "Public max leverage value used to scope this lookup.",
                "minimum": 1,
                "type": "integer"
              },
              "open_interest_units": {
                "description": "Public open interest units value used to scope this lookup.",
                "minimum": 0,
                "type": "number"
              },
              "open_interest_usd_derived": {
                "description": "Public open interest usd derived value used to scope this lookup.",
                "minimum": 0,
                "type": "number"
              },
              "oracle_price": {
                "description": "Public oracle price value used to scope this lookup.",
                "exclusiveMinimum": 0,
                "type": "number"
              },
              "premium_index_bps": {
                "description": "Public premium index bps value used to scope this lookup.",
                "type": "number"
              },
              "premium_index_fraction": {
                "description": "Public premium index fraction value used to scope this lookup.",
                "type": "number"
              },
              "source": {
                "const": "Hyperliquid public info API",
                "description": "Public source value used to scope this lookup."
              },
              "source_request": {
                "const": "metaAndAssetCtxs",
                "description": "Public source request value used to scope this lookup."
              },
              "venue": {
                "const": "hyperliquid",
                "description": "Public venue value used to scope this lookup."
              }
            },
            "required": [
              "coin",
              "venue",
              "funding_rate_hourly",
              "funding_rate_8h_equivalent",
              "funding_apr_percent",
              "mark_price",
              "oracle_price",
              "mark_oracle_basis_fraction",
              "mark_oracle_basis_bps",
              "premium_index_fraction",
              "premium_index_bps",
              "open_interest_units",
              "open_interest_usd_derived",
              "day_volume_usd",
              "max_leverage",
              "cache_age_ms",
              "source",
              "source_request",
              "freshness"
            ],
            "type": "object"
          },
          "meta": {
            "additionalProperties": false,
            "description": "Public meta value used to scope this lookup.",
            "properties": {
              "cache": {
                "description": "Public cache value used to scope this lookup.",
                "enum": [
                  "hit",
                  "miss",
                  "bypass"
                ]
              },
              "checked_at": {
                "description": "Public checked at value used to scope this lookup.",
                "type": "string"
              },
              "duration_ms": {
                "description": "Public duration ms value used to scope this lookup.",
                "minimum": 0,
                "type": "integer"
              },
              "provider": {
                "description": "Public provider value used to scope this lookup.",
                "type": [
                  "string",
                  "null"
                ]
              }
            },
            "required": [
              "provider",
              "checked_at",
              "cache",
              "duration_ms"
            ],
            "type": "object"
          },
          "ok": {
            "const": true,
            "description": "Public ok value used to scope this lookup."
          },
          "version": {
            "const": "1",
            "description": "Package version whose public metadata should be checked."
          }
        },
        "required": [
          "ok",
          "capability",
          "version",
          "data",
          "meta"
        ],
        "type": "object"
      },
      "type": {
        "type": "string"
      }
    },
    "required": [
      "type"
    ],
    "type": "object"
  },
  "extensions": {
    "bazaar": {
      "info": {
        "input": {
          "body": {
            "coin": "BTC"
          },
          "bodyType": "json",
          "method": "POST",
          "type": "http"
        },
        "output": {
          "example": {
            "capability": "perp.funding",
            "data": {
              "cache_age_ms": 0,
              "coin": "example",
              "day_volume_usd": 0,
              "freshness": "current_upstream_snapshot",
              "funding_apr_percent": 1,
              "funding_rate_8h_equivalent": 1,
              "funding_rate_hourly": 1,
              "mark_oracle_basis_bps": 1,
              "mark_oracle_basis_fraction": 1,
              "mark_price": 1,
              "max_leverage": 1,
              "open_interest_units": 0,
              "open_interest_usd_derived": 0,
              "oracle_price": 1,
              "premium_index_bps": 1,
              "premium_index_fraction": 1,
              "source": "Hyperliquid public info API",
              "source_request": "metaAndAssetCtxs",
              "venue": "hyperliquid"
            },
            "meta": {
              "cache": "miss",
              "checked_at": "2026-01-01T00:00:00.000Z",
              "duration_ms": 0,
              "provider": "hyperliquid-public-info"
            },
            "ok": true,
            "version": "1"
          },
          "type": "json"
        }
      },
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "input": {
            "additionalProperties": false,
            "properties": {
              "body": {
                "additionalProperties": false,
                "properties": {
                  "coin": {
                    "description": "Public coin value used to scope this lookup.",
                    "maxLength": 32,
                    "minLength": 1,
                    "pattern": "^[A-Za-z0-9][A-Za-z0-9._-]{0,31}$",
                    "type": "string"
                  }
                },
                "required": [
                  "coin"
                ],
                "type": "object"
              },
              "bodyType": {
                "enum": [
                  "json",
                  "form-data",
                  "text"
                ],
                "type": "string"
              },
              "method": {
                "enum": [
                  "POST"
                ],
                "type": "string"
              },
              "type": {
                "const": "http",
                "type": "string"
              }
            },
            "required": [
              "type",
              "method",
              "bodyType",
              "body"
            ],
            "type": "object"
          },
          "output": {
            "properties": {
              "example": {
                "additionalProperties": false,
                "properties": {
                  "capability": {
                    "const": "perp.funding",
                    "description": "Public capability value used to scope this lookup."
                  },
                  "data": {
                    "additionalProperties": false,
                    "description": "Public data value used to scope this lookup.",
                    "properties": {
                      "cache_age_ms": {
                        "description": "Public cache age ms value used to scope this lookup.",
                        "maximum": 60000,
                        "minimum": 0,
                        "type": "integer"
                      },
                      "coin": {
                        "description": "Public coin value used to scope this lookup.",
                        "type": "string"
                      },
                      "day_volume_usd": {
                        "description": "Public day volume usd value used to scope this lookup.",
                        "minimum": 0,
                        "type": "number"
                      },
                      "freshness": {
                        "const": "current_upstream_snapshot",
                        "description": "Public freshness value used to scope this lookup."
                      },
                      "funding_apr_percent": {
                        "description": "Public funding apr percent value used to scope this lookup.",
                        "type": "number"
                      },
                      "funding_rate_8h_equivalent": {
                        "description": "Public funding rate 8h equivalent value used to scope this lookup.",
                        "type": "number"
                      },
                      "funding_rate_hourly": {
                        "description": "Public funding rate hourly value used to scope this lookup.",
                        "type": "number"
                      },
                      "mark_oracle_basis_bps": {
                        "description": "Public mark oracle basis bps value used to scope this lookup.",
                        "type": "number"
                      },
                      "mark_oracle_basis_fraction": {
                        "description": "Public mark oracle basis fraction value used to scope this lookup.",
                        "type": "number"
                      },
                      "mark_price": {
                        "description": "Public mark price value used to scope this lookup.",
                        "exclusiveMinimum": 0,
                        "type": "number"
                      },
                      "max_leverage": {
                        "description": "Public max leverage value used to scope this lookup.",
                        "minimum": 1,
                        "type": "integer"
                      },
                      "open_interest_units": {
                        "description": "Public open interest units value used to scope this lookup.",
                        "minimum": 0,
                        "type": "number"
                      },
                      "open_interest_usd_derived": {
                        "description": "Public open interest usd derived value used to scope this lookup.",
                        "minimum": 0,
                        "type": "number"
                      },
                      "oracle_price": {
                        "description": "Public oracle price value used to scope this lookup.",
                        "exclusiveMinimum": 0,
                        "type": "number"
                      },
                      "premium_index_bps": {
                        "description": "Public premium index bps value used to scope this lookup.",
                        "type": "number"
                      },
                      "premium_index_fraction": {
                        "description": "Public premium index fraction value used to scope this lookup.",
                        "type": "number"
                      },
                      "source": {
                        "const": "Hyperliquid public info API",
                        "description": "Public source value used to scope this lookup."
                      },
                      "source_request": {
                        "const": "metaAndAssetCtxs",
                        "description": "Public source request value used to scope this lookup."
                      },
                      "venue": {
                        "const": "hyperliquid",
                        "description": "Public venue value used to scope this lookup."
                      }
                    },
                    "required": [
                      "coin",
                      "venue",
                      "funding_rate_hourly",
                      "funding_rate_8h_equivalent",
                      "funding_apr_percent",
                      "mark_price",
                      "oracle_price",
                      "mark_oracle_basis_fraction",
                      "mark_oracle_basis_bps",
                      "premium_index_fraction",
                      "premium_index_bps",
                      "open_interest_units",
                      "open_interest_usd_derived",
                      "day_volume_usd",
                      "max_leverage",
                      "cache_age_ms",
                      "source",
                      "source_request",
                      "freshness"
                    ],
                    "type": "object"
                  },
                  "meta": {
                    "additionalProperties": false,
                    "description": "Public meta value used to scope this lookup.",
                    "properties": {
                      "cache": {
                        "description": "Public cache value used to scope this lookup.",
                        "enum": [
                          "hit",
                          "miss",
                          "bypass"
                        ]
                      },
                      "checked_at": {
                        "description": "Public checked at value used to scope this lookup.",
                        "type": "string"
                      },
                      "duration_ms": {
                        "description": "Public duration ms value used to scope this lookup.",
                        "minimum": 0,
                        "type": "integer"
                      },
                      "provider": {
                        "description": "Public provider value used to scope this lookup.",
                        "type": [
                          "string",
                          "null"
                        ]
                      }
                    },
                    "required": [
                      "provider",
                      "checked_at",
                      "cache",
                      "duration_ms"
                    ],
                    "type": "object"
                  },
                  "ok": {
                    "const": true,
                    "description": "Public ok value used to scope this lookup."
                  },
                  "version": {
                    "const": "1",
                    "description": "Package version whose public metadata should be checked."
                  }
                },
                "required": [
                  "ok",
                  "capability",
                  "version",
                  "data",
                  "meta"
                ],
                "type": "object"
              },
              "type": {
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          }
        },
        "required": [
          "input"
        ],
        "type": "object"
      }
    }
  },
  "tags": [
    "perpetuals",
    "funding",
    "hyperliquid",
    "crypto",
    "derivatives",
    "bazaar"
  ],
  "sourceHost": "http--forest-gas-station-mainnet--lcjl27p8lmjs.code.run",
  "lastUpdated": "2026-10-09T19:48:03.952Z",
  "quality": {
    "calls30d": 2,
    "uniquePayers30d": 2,
    "lastCalledAt": "2026-10-09T19:48:03.736Z"
  },
  "metadata": {
    "serviceName": "Forest Markets",
    "extensions": {
      "bazaar": {
        "info": {
          "input": {
            "body": {
              "coin": "BTC"
            },
            "bodyType": "json",
            "method": "POST",
            "type": "http"
          },
          "output": {
            "example": {
              "capability": "perp.funding",
              "data": {
                "cache_age_ms": 0,
                "coin": "example",
                "day_volume_usd": 0,
                "freshness": "current_upstream_snapshot",
                "funding_apr_percent": 1,
                "funding_rate_8h_equivalent": 1,
                "funding_rate_hourly": 1,
                "mark_oracle_basis_bps": 1,
                "mark_oracle_basis_fraction": 1,
                "mark_price": 1,
                "max_leverage": 1,
                "open_interest_units": 0,
                "open_interest_usd_derived": 0,
                "oracle_price": 1,
                "premium_index_bps": 1,
                "premium_index_fraction": 1,
                "source": "Hyperliquid public info API",
                "source_request": "metaAndAssetCtxs",
                "venue": "hyperliquid"
              },
              "meta": {
                "cache": "miss",
                "checked_at": "2026-01-01T00:00:00.000Z",
                "duration_ms": 0,
                "provider": "hyperliquid-public-info"
              },
              "ok": true,
              "version": "1"
            },
            "type": "json"
          }
        },
        "schema": {
          "$schema": "https://json-schema.org/draft/2020-12/schema",
          "properties": {
            "input": {
              "additionalProperties": false,
              "properties": {
                "body": {
                  "additionalProperties": false,
                  "properties": {
                    "coin": {
                      "description": "Public coin value used to scope this lookup.",
                      "maxLength": 32,
                      "minLength": 1,
                      "pattern": "^[A-Za-z0-9][A-Za-z0-9._-]{0,31}$",
                      "type": "string"
                    }
                  },
                  "required": [
                    "coin"
                  ],
                  "type": "object"
                },
                "bodyType": {
                  "enum": [
                    "json",
                    "form-data",
                    "text"
                  ],
                  "type": "string"
                },
                "method": {
                  "enum": [
                    "POST"
                  ],
                  "type": "string"
                },
                "type": {
                  "const": "http",
                  "type": "string"
                }
              },
              "required": [
                "type",
                "method",
                "bodyType",
                "body"
              ],
              "type": "object"
            },
            "output": {
              "properties": {
                "example": {
                  "additionalProperties": false,
                  "properties": {
                    "capability": {
                      "const": "perp.funding",
                      "description": "Public capability value used to scope this lookup."
                    },
                    "data": {
                      "additionalProperties": false,
                      "description": "Public data value used to scope this lookup.",
                      "properties": {
                        "cache_age_ms": {
                          "description": "Public cache age ms value used to scope this lookup.",
                          "maximum": 60000,
                          "minimum": 0,
                          "type": "integer"
                        },
                        "coin": {
                          "description": "Public coin value used to scope this lookup.",
                          "type": "string"
                        },
                        "day_volume_usd": {
                          "description": "Public day volume usd value used to scope this lookup.",
                          "minimum": 0,
                          "type": "number"
                        },
                        "freshness": {
                          "const": "current_upstream_snapshot",
                          "description": "Public freshness value used to scope this lookup."
                        },
                        "funding_apr_percent": {
                          "description": "Public funding apr percent value used to scope this lookup.",
                          "type": "number"
                        },
                        "funding_rate_8h_equivalent": {
                          "description": "Public funding rate 8h equivalent value used to scope this lookup.",
                          "type": "number"
                        },
                        "funding_rate_hourly": {
                          "description": "Public funding rate hourly value used to scope this lookup.",
                          "type": "number"
                        },
                        "mark_oracle_basis_bps": {
                          "description": "Public mark oracle basis bps value used to scope this lookup.",
                          "type": "number"
                        },
                        "mark_oracle_basis_fraction": {
                          "description": "Public mark oracle basis fraction value used to scope this lookup.",
                          "type": "number"
                        },
                        "mark_price": {
                          "description": "Public mark price value used to scope this lookup.",
                          "exclusiveMinimum": 0,
                          "type": "number"
                        },
                        "max_leverage": {
                          "description": "Public max leverage value used to scope this lookup.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "open_interest_units": {
                          "description": "Public open interest units value used to scope this lookup.",
                          "minimum": 0,
                          "type": "number"
                        },
                        "open_interest_usd_derived": {
                          "description": "Public open interest usd derived value used to scope this lookup.",
                          "minimum": 0,
                          "type": "number"
                        },
                        "oracle_price": {
                          "description": "Public oracle price value used to scope this lookup.",
                          "exclusiveMinimum": 0,
                          "type": "number"
                        },
                        "premium_index_bps": {
                          "description": "Public premium index bps value used to scope this lookup.",
                          "type": "number"
                        },
                        "premium_index_fraction": {
                          "description": "Public premium index fraction value used to scope this lookup.",
                          "type": "number"
                        },
                        "source": {
                          "const": "Hyperliquid public info API",
                          "description": "Public source value used to scope this lookup."
                        },
                        "source_request": {
                          "const": "metaAndAssetCtxs",
                          "description": "Public source request value used to scope this lookup."
                        },
                        "venue": {
                          "const": "hyperliquid",
                          "description": "Public venue value used to scope this lookup."
                        }
                      },
                      "required": [
                        "coin",
                        "venue",
                        "funding_rate_hourly",
                        "funding_rate_8h_equivalent",
                        "funding_apr_percent",
                        "mark_price",
                        "oracle_price",
                        "mark_oracle_basis_fraction",
                        "mark_oracle_basis_bps",
                        "premium_index_fraction",
                        "premium_index_bps",
                        "open_interest_units",
                        "open_interest_usd_derived",
                        "day_volume_usd",
                        "max_leverage",
                        "cache_age_ms",
                        "source",
                        "source_request",
                        "freshness"
                      ],
                      "type": "object"
                    },
                    "meta": {
                      "additionalProperties": false,
                      "description": "Public meta value used to scope this lookup.",
                      "properties": {
                        "cache": {
                          "description": "Public cache value used to scope this lookup.",
                          "enum": [
                            "hit",
                            "miss",
                            "bypass"
                          ]
                        },
                        "checked_at": {
                          "description": "Public checked at value used to scope this lookup.",
                          "type": "string"
                        },
                        "duration_ms": {
                          "description": "Public duration ms value used to scope this lookup.",
                          "minimum": 0,
                          "type": "integer"
                        },
                        "provider": {
                          "description": "Public provider value used to scope this lookup.",
                          "type": [
                            "string",
                            "null"
                          ]
                        }
                      },
                      "required": [
                        "provider",
                        "checked_at",
                        "cache",
                        "duration_ms"
                      ],
                      "type": "object"
                    },
                    "ok": {
                      "const": true,
                      "description": "Public ok value used to scope this lookup."
                    },
                    "version": {
                      "const": "1",
                      "description": "Package version whose public metadata should be checked."
                    }
                  },
                  "required": [
                    "ok",
                    "capability",
                    "version",
                    "data",
                    "meta"
                  ],
                  "type": "object"
                },
                "type": {
                  "type": "string"
                }
              },
              "required": [
                "type"
              ],
              "type": "object"
            }
          },
          "required": [
            "input"
          ],
          "type": "object"
        }
      }
    }
  },
  "liveness": {
    "reliability": null
  },
  "verified": false,
  "featured": false,
  "provider": {
    "host": "http--forest-gas-station-mainnet--lcjl27p8lmjs.code.run",
    "manifest_name": "http--forest-gas-station-mainnet--lcjl27p8lmjs.code.run",
    "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": {
      "capability": null,
      "data": {
        "cache_age_ms": 0,
        "coin": "string",
        "day_volume_usd": 0,
        "freshness": null,
        "funding_apr_percent": 0,
        "funding_rate_8h_equivalent": 0,
        "funding_rate_hourly": 0,
        "mark_oracle_basis_bps": 0,
        "mark_oracle_basis_fraction": 0,
        "mark_price": 0,
        "max_leverage": 0,
        "open_interest_units": 0,
        "open_interest_usd_derived": 0,
        "oracle_price": 0,
        "premium_index_bps": 0,
        "premium_index_fraction": 0,
        "source": null,
        "source_request": null,
        "venue": null
      },
      "meta": {
        "cache": "hit",
        "checked_at": "string",
        "duration_ms": 0,
        "provider": "string"
      },
      "ok": null,
      "version": null
    },
    "type": "string"
  }
}