Skip to content
Fourohtwo

lokyai.com/api/v1/hl-perp-trade

Provides real-time perpetual contract data for tokens on the Hyperliquid exchange. It returns live market prices, liquidity metrics, funding rates, and technical indicators to assist trading analysis.

PolygonUnchecked
GEThttp://lokyai.com/api/v1/hl-perp-trade

UptimeNot checked yet

30 days agoToday

Call it from an agent

import { wrapFetchWithPayment } from "x402-fetch";
import { privateKeyToAccount } from "viem/accounts";

const pay = wrapFetchWithPayment(fetch, privateKeyToAccount(process.env.AGENT_KEY));
const res = await pay("http://lokyai.com/api/v1/hl-perp-trade?api_key=%3Capi_key%3E&token_ticker=%3Ctoken_ticker%3E");
console.log(await res.json());

Example input

{
  "api_key": {
    "type": "string",
    "required": false,
    "description": "API key for authentication"
  },
  "token_ticker": {
    "type": "string",
    "required": true,
    "description": "Token ticker symbol"
  }
}