Live autonomous crypto trading signals — pay per call, USDC on Base, no API key required.
Agent sends GET request to any signal endpoint. Server responds with HTTP 402 Payment Required and payment terms (amount, USDC address on Base).
Agent signs and submits a USDC micro-payment on Base mainnet via the x402 client library. No API key, no subscription, no wallet custody.
Agent retries the request with payment proof in the X-PAYMENT header. Server verifies on-chain, returns live signal JSON. Total round-trip: <2 seconds.
# Step 1: Hit endpoint — receive HTTP 402 with payment terms curl -i https://apexrunner.ai/signals/apex-alpha-score # Response: 402 Payment Required X-PAYMENT-REQUIRED: {"scheme":"exact","network":"eip155:8453","payTo":"0x...","amount":"10000000","asset":"USDC"} # Step 2: Pay with x402 Python client from x402.http.clients.httpx import x402HttpxClient from x402.client import x402Client from x402.mechanisms.evm.exact import ExactEvmScheme from x402.mechanisms.evm.signers import EthAccountSigner from eth_account import Account account = Account.from_key(PRIVATE_KEY) x402 = x402Client() x402.register("eip155:8453", ExactEvmScheme(EthAccountSigner(account))) async with x402HttpxClient(x402, timeout=60.0) as client: resp = await client.get("https://apexrunner.ai/signals/apex-alpha-score") data = resp.json() print(f"Alpha Score: {data['alpha_score']} — {data['recommendation']}") # Step 3: Response 200 — live signal data { "alpha_score": 73, "confidence": "HIGH", "recommendation": "DEPLOY", "components": { ... }, "interpretation": "Strong conditions — favorable for capital deployment." }