360 Secure SkillHub
360 安全技能中心

grid-health

通过 x402 协议按次付费调用 APEX Runner 接口,使用 Base 链上 USDC 支付,返回网格交易机器人的填充率、库存、活跃交易对和健康状态;需配置 EVM 私钥并运行 Python 客户端。

分类:数据
kynto2001-ctrl
kynto2001-ctrl
热度 15.23
最近更新 2026-11-13 07:58:46

安装

发给 Agent
帮我安装这个技能:npx secure-skills-cli add kynto2001-ctrl/grid-health
兼容性
通用兼容
联网要求
需要联网
数据出网
必须出网
Metadata
name
grid-health
description
Paid x402 endpoint: $0.007 USDC per call on Base. Returns grid bot health: fill rate, inventory, and level status across pairs.
metadata
{"openclaw":{"requires":{"env":["EVM_PRIVATE_KEY"]},"primaryEnv":"EVM_PRIVATE_KEY","homepage":"https://apexrunner.ai/signals/grid-health","emoji":"🔲"}}

grid-health

What It Does

Grid bot health: fill rate, inventory, and level status across pairs. Computed by APEX Runner from live market data, not from backtests.

When to Use

  • To monitor grid bot performance
  • Before adjusting grid parameters
  • When diagnosing poor fill rates

How to Use

The agent makes an x402-authenticated GET request to:

https://apexrunner.ai/signals/grid-health

The x402 client handles payment automatically. No API key, no account, no subscription — just an EVM wallet with USDC on Base mainnet (no ETH needed).

# pip install "x402[evm,requests]"
import os

import requests
from eth_account import Account
from x402 import max_amount, x402ClientSync
from x402.http.clients import wrapRequestsWithPayment
from x402.mechanisms.evm.exact import register_exact_evm_client
from x402.mechanisms.evm.signers import EthAccountSigner

client = x402ClientSync()
register_exact_evm_client(client, EthAccountSigner(Account.from_key(os.environ["EVM_PRIVATE_KEY"])))
client.register_policy(max_amount(10000))  # never sign more than the list price ($0.01 USDC)

session = wrapRequestsWithPayment(requests.Session(), client)
response = session.get("https://apexrunner.ai/signals/grid-health")
print(response.json())

Example Response

{
  "fill_rate_pct": 84,
  "inventory_pct": 61,
  "active_pairs": 4,
  "status": "healthy"
}

Pricing

$0.01/call — standard price

Every caller is charged $0.007/call until 2027-01-01 under the early-adopter discount (30% off the standard price). No tier, no wallet history, no enrolment — that is simply the price.

Related Signals


APEX Runner — autonomous AI crypto trading signals. apexrunner.ai