metengine

Query smart money analytics APIs for Polymarket, Hyperliquid, and Meteora via x402 payments.

6|20|Updated Mar 14, 2026
One-click install
npx skills add https://github.com/andresdefi/cryptoskills --skill metengine-andresdefi
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: metengine
Source: https://github.com/andresdefi/cryptoskills/tree/main/skills/metengine
Command: npx skills add https://github.com/andresdefi/cryptoskills --skill metengine-andresdefi

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires @x402/core, @x402/svm, @solana/kit, @solana/web3.js, @solana/spl-token, bs58.

What problem does it solve? AI agents lack real-time access to smart money analytics across prediction markets, perpetual futures, and Solana liquidity pools, and traditional data APIs require API keys, accounts, and subscriptions that agents cannot manage autonomously. ## Core Features & Use Cases - 63 Analytics Endpoints: Access wallet scoring, insider detection, capital flow tracking, leaderboards, and position analysis across Polymarket (27 endpoints), Hyperliquid (18), and Meteora (18). - x402 Pay-Per-Request: Pay per query in USDC on Solana Mainnet with no API keys or accounts; payment itself is authentication, with settle-after-execute so failed queries cost nothing. - Session Memory & Client Templates: Persist wallet setup, working bootstrap code, and endpoint learnings across sessions, plus a ready-made TypeScript client and worked examples for dashboards, whale tracking, and pool scanning. - Use Case: Ask your agent to find Polymarket markets where smart money disagrees with the current price, score the top wallets, and detect insider activity — paying a few cents of USDC per call. ## Quick Start Ask your agent to check the MetEngine health endpoint and then fetch the top 5 trending Polymarket markets over the last 24 hours using the x402 payment flow.

Frequently Asked Questions about metengine

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I query smart money wallets on Polymarket with an API?

Call MetEngine endpoints such as /api/v1/wallets/top-performers or /api/v1/markets/intelligence with a condition_id. Each paid request returns a 402 response first; sign a USDC payment on Solana and retry with the PAYMENT-SIGNATURE header to receive the data.

How does x402 payment work for API requests on Solana?

The first request returns HTTP 402 with payment requirements. You sign a USDC transfer locally using @x402/core and @x402/svm, then resend the request with the PAYMENT-SIGNATURE header. Settlement only occurs on successful 2xx responses, so failed queries cost nothing.

What data does MetEngine provide for Hyperliquid traders?

MetEngine offers 18 Hyperliquid endpoints covering trader leaderboards, full trader dossiers, per-coin PnL breakdowns, long/short ratios, whale trades, smart wallet signals, and long/short pressure analysis. Prices range from $0.01 to $0.20 USDC per request depending on tier and timeframe.

Do I need an API key to use the MetEngine analytics API?

No API keys or accounts are required. Payment in USDC on Solana Mainnet is the authentication. You only need a Solana wallet with SOL for transaction fees and USDC for per-request payments, plus the @x402/core, @x402/svm, and @solana/kit packages.

Why did my MetEngine payment fail with a 402 error after paying?

Common causes include sending payment before the transaction reaches confirmed commitment, reusing a single-use payment proof, sending the wrong token instead of USDC, or floating-point rounding when converting the amount to micro-USDC. Always use the amount from the 402 response and Math.round(amount * 1_000_000).

What are the free endpoints and rate limits of the MetEngine API?

GET /health and GET /api/v1/pricing are free and rate-limited to 60 requests per minute. All 63 paid endpoints have no rate limit since payment governs access, with per-request prices bounded between $0.01 and $0.20 USDC.