16trust / 100

Perpetuos Pago

by Vextorium in Markets & finance

x402 APIFailing, checked 6 min ago

Hyperliquid perpetual futures: hourly funding rate and annualized, 24h and 7d average funding, who pays whom, mark and oracle price, premium, open interest, 24h volume and max leverage for one coin; or a ranking of all markets by highest, lowest or most extreme funding, volume or open interest, with a minimum open interest filter.

POST https://api.vextorium.com/perpetuos-pago

Last 30 days

All checks passedSome failedAll failedNot checked

Status and outage history · Atom feed

Uptime
0.0%
Response time
- typical, - slowest 5%
Last check
6 min ago: Amount "0.009" is not in atomic token units
Next check
in 58 min

How to call it

POST https://api.vextorium.com/perpetuos-pago

Each call costs $0.009 in USDC on Base, paid with the request over x402.

Run a free test callOne unpaid request, the way an agent sends it. You see the payment challenge it gets back. Nothing is charged.

Example request

From the listing.

POST https://api.vextorium.com/perpetuos-pago
content-type: application/json

{
  "moneda": "BTC"
}

Parameters

ParameterTypeRequiredDescription
interes_min_usdnumberNoMinimum open interest in USD for the ranking (default 1000000)
limiteintegerNoMarkets in the ranking (1-100, default 20)
monedastringNoCoin, e.g. BTC, ETH, SOL, HYPE. Omit for a ranking of markets
ordenstringNoRanking order when no coin is given One of: funding_alto, funding_bajo, funding_extremo, volumen, interes_abierto.

Example response

The provider's example. We can't check it without paying.

{
  "apalancamiento_max": 40,
  "cambio_24h_pct": 1.26,
  "fuente": "Hyperliquid (datos públicos de su L1, api.hyperliquid.xyz)",
  "funding_anual_media_24h_pct": 6.4,
  "funding_anual_media_7d_pct": 8.8,
  "funding_anual_pct": 5.7,
  "funding_hora_pct": 0.00065,
  "interes_abierto": 33164.47324,
  "interes_abierto_usd": 2786744357,
  "intervalo_funding": "cada hora",
  "moneda": "BTC",
  "precio_marca": 84028,
  "precio_oraculo": 84068.3,
  "prima_pct": -0.0467,
  "quien_paga": "los largos pagan a los cortos",
  "volumen_24h_usd": 2276212187
}

Call it from code

The curl command shows the payment challenge. The JavaScript and Python versions pay and call, and never pay more than $0.009.

curl: see the payment challenge
# bash or zsh: see the payment challenge. Nothing is charged.
curl -sS -g -i -X POST 'https://api.vextorium.com/perpetuos-pago' \
  -H 'content-type: application/json' \
  --data-raw '{"moneda":"BTC"}'

# x402 v2 sends the challenge base64-encoded in the PAYMENT-REQUIRED header (v1 sends it in the body).
# To read the header:
curl -sS -g -o /dev/null -D - -X POST 'https://api.vextorium.com/perpetuos-pago' \
  -H 'content-type: application/json' \
  --data-raw '{"moneda":"BTC"}' \
  | grep -i '^payment-required:' | cut -d' ' -f2 | tr -d '\r' | base64 --decode
JavaScript: pay and call
// npm i @x402/fetch @x402/evm viem
import { wrapFetchWithPayment, x402Client } from "@x402/fetch";
import { registerExactEvmScheme } from "@x402/evm/exact/client";
import { privateKeyToAccount } from "viem/accounts";

// Pays at most $0.009 per call.
const client = new x402Client().setSpendControls({ maxAmountPerPayment: "$0.009" });
registerExactEvmScheme(client, { signer: privateKeyToAccount(process.env.EVM_PRIVATE_KEY) });
const pay = wrapFetchWithPayment(fetch, client);

// Not sure it's safe to pay? ToolVet checks it first for $0.005. Pay for that from a separate
// client: this one is capped at $0.009 per payment. GET https://toolvet.app/api/v1/check?url=https%3A%2F%2Fapi.vextorium.com%2Fperpetuos-pago&method=POST
const res = await pay("https://api.vextorium.com/perpetuos-pago", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({
    "moneda": "BTC"
  }),
});
console.log(res.status, await res.text());
Python: pay and call
# pip install "x402[requests,evm]"
import os
from eth_account import Account
from x402 import x402ClientSync
from x402.http.clients import x402_requests
from x402.mechanisms.evm import EthAccountSigner
from x402.mechanisms.evm.exact.register import register_exact_evm_client

# Pays at most $0.009 per call.
client = x402ClientSync().set_spend_controls({"max_amount_per_payment": "$0.009"})
register_exact_evm_client(client, EthAccountSigner(Account.from_key(os.environ["EVM_PRIVATE_KEY"])))

with x402_requests(client) as session:
    res = session.post(
        "https://api.vextorium.com/perpetuos-pago",
        json={
            "moneda": "BTC",
        },
    )
    print(res.status_code, res.text)

Security scan

  • No findings. We scan names, descriptions and tool definitions for hidden instructions and other prompt-injection patterns.

Recent checks

WhenResultHTTPTimePrice
6 min agoAmount "0.009" is not in atomic token units402207 ms$0.009
5 h agoAmount "0.009" is not in atomic token units40296 ms$0.009
9 h agoAmount "0.009" is not in atomic token units40299 ms$0.009
13 h agoAmount "0.009" is not in atomic token units40281 ms$0.009
18 h agoAmount "0.009" is not in atomic token units40289 ms$0.009
22 h agoAmount "0.009" is not in atomic token units402126 ms$0.009
26 h agoAmount "0.009" is not in atomic token units40289 ms$0.009
30 h agoAmount "0.009" is not in atomic token units40276 ms$0.009
35 h agoAmount "0.009" is not in atomic token units402351 ms$0.009
39 h agoAmount "0.009" is not in atomic token units40273 ms$0.009
42 h agoAmount "0.009" is not in atomic token units40284 ms$0.009
46 h agoAmount "0.009" is not in atomic token units402294 ms$0.009
2 days agoAmount "0.009" is not in atomic token units40285 ms$0.009
2 days agoAmount "0.009" is not in atomic token units40283 ms$0.009
2 days agoAmount "0.009" is not in atomic token units40289 ms$0.009