metengine-data-agent

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

Updated Jun 2, 2026
One-click install
npx skills add https://github.com/IagoPrandi/ai-dealer --skill metengine-data-agent-iagoprandi
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: metengine-data-agent
Source: https://github.com/IagoPrandi/ai-dealer/tree/main/.claude/skills/solana-dev/ext/sendai/skills/metengine
Command: npx skills add https://github.com/IagoPrandi/ai-dealer --skill metengine-data-agent-iagoprandi

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires @x402/core, @x402/svm, @solana/kit.

What problem does it solve? Accessing real-time smart money analytics across prediction markets, perpetual futures, and Solana LP pools normally requires API keys, accounts, and subscriptions. This Skill lets an agent query 63 analytics endpoints and pay per request in USDC on Solana Mainnet using the x402 protocol, with no signup or API key management. ## Core Features & Use Cases - Smart Money Analytics: Query wallet scoring, insider detection, capital flow tracking, whale trades, and position analysis across Polymarket (27 endpoints), Hyperliquid (18 endpoints), and Meteora (18 endpoints). - Pay-Per-Request via x402: Implements the two-step 402 payment handshake in TypeScript/Bun using @x402/core, @x402/svm, and @solana/kit, with settle-after-execute so failed queries cost nothing. - Session Memory: Maintains a persistent memory file with wallet config, working client bootstrap code, endpoint history, and learned fallbacks to reduce setup tokens in future sessions. - Use Case: Ask which markets smart money disagrees with on price, and the agent calls /api/v1/markets/opportunities, pays a few cents in USDC, and returns the signal-strength-ranked results. ## Quick Start Ask the agent to fetch the top 5 trending Polymarket markets over the last 24 hours using the MetEngine API and it will handle wallet setup, payment signing, and the query.

Frequently Asked Questions about metengine-data-agent

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

FAQPage Schema
How do I query smart money analytics for Polymarket markets?▼

Call endpoints like /api/v1/markets/trending or /api/v1/markets/intelligence on the MetEngine API at agent.metengine.xyz. Each paid request returns a 402 with a USDC price, which you sign locally and resend with a PAYMENT-SIGNATURE header to receive the data.

How does x402 payment work on Solana without API keys?▼

The x402 protocol uses a two-step handshake: the first request returns HTTP 402 with payment requirements, you sign a USDC payment locally with your Solana keypair, then resend with the PAYMENT-SIGNATURE header. Payment itself is authentication, so no accounts or API keys are needed.

What packages are required to build an x402 Solana client?▼

Install @x402/core, @x402/svm, and @solana/kit via bun add. You register the exact SVM scheme with a signer created from your Solana keypair, then use x402HTTPClient to parse payment requirements and encode payment signature headers.

How much do MetEngine API requests cost in USDC?▼

Prices range from $0.01 (light tier) to $0.08 (whale tier) base cost, adjusted by timeframe multipliers (0.5x to 5x), limit multipliers, and filter discounts. Global bounds are $0.01 floor and $0.20 ceiling per request; GET /api/v1/pricing returns the full schedule for free.

What happens if a paid API query fails or times out?▼

No payment is settled for failed queries. The API enforces settle-after-execute server-side, meaning only successful 2xx responses trigger USDC settlement on Solana, so timeouts and server errors cost nothing.

Can I track Hyperliquid and Meteora traders with the same API?▼

Yes, the same API covers Hyperliquid perpetual futures (18 endpoints including trader leaderboards and long/short pressure) and Meteora Solana LP pools (18 endpoints including LP profiles, pool analytics, and position tracking), all payable per request in USDC.