{"slug":"http-forest-gas-station-mainnet-lcjl27p8lmjs-code-run-perp-f-0f5afb","title":"Return one current Hyperliquid native perpetual snapshot with hourly funding, 8-","host":"http--forest-gas-station-mainnet--lcjl27p8lmjs.code.run","method":"POST","resource":"https://http--forest-gas-station-mainnet--lcjl27p8lmjs.code.run/perp/funding","category":"code","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 Hy","price_listed":0.002,"price_asked":0.002,"state":"answering","state_label":"Answering","checks_7d":1,"answered_7d":1,"latency_ms_median":917,"reported_calls_30d":2,"reported_payers_30d":2,"networks":["eip155:8453"],"badge":"unverified","paid_checks_7d":0,"paid_ok_7d":0,"example_input":{"body":{"coin":"BTC"},"bodyType":"json","method":"POST","type":"http"},"output_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"},"history":[{"day":"2026-10-10","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.002,"price_match":true,"latency_ms":917,"error":null}],"description_full":"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","last_updated":"2026-10-09T19:48:03.952Z","schemes":["exact"]}