# Polyedge

> x402 trading signal API for Polymarket - detect mispriced correlations between prediction markets

- Skill: `kernel8901/polyedge` (Agent Skill, multi-file: 12 files)
- Install (CLI): `npx skillmds@latest add kernel8901/polyedge`
- Raw SKILL.md: https://api.skillmd.com/api/skills/kernel8901/polyedge/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Integrations & APIs
- Author: kernel8901 (https://skillmd.com/u/kernel8901)
- Updated: 2026-09-17
- Page: https://skillmd.com/skills/kernel8901/polyedge

---


# PolyEdge

**The first x402 trading signal API for prediction markets.**

Detect mispriced correlations between Polymarket events. Pay with USDC on Base, get alpha.

## Quick Start

```bash
# 1. Request analysis (get 402 + payment instructions)
curl https://api.nshrt.com/api/v1/correlation?a=<slug-a>&b=<slug-b>

# 2. Pay 0.05 USDC to the wallet address on Base L2

# 3. Retry with payment proof
curl -H "X-Payment: 0x<tx_hash>" \
  "https://api.nshrt.com/api/v1/correlation?a=<slug-a>&b=<slug-b>"
```

## Endpoints

| Endpoint | Price | Description |
|----------|-------|-------------|
| `GET /` | Free | API info |
| `GET /health` | Free | Health check |
| `GET /dashboard` | Free | Activity dashboard |
| `GET /api/v1/correlation?a=&b=` | $0.05 USDC | Correlation analysis |

## Payment

- **Network:** Base L2  
- **Asset:** USDC
- **Price:** $0.05 per request
- **Protocol:** x402
- **Window:** 1 minute per payment

## Response Format

```json
{
  "market_a": { "question": "...", "yes_price": 0.72 },
  "market_b": { "question": "...", "yes_price": 0.45 },
  "analysis": {
    "pattern_type": "category",
    "expected_price_b": 0.61,
    "mispricing": 0.16,
    "confidence": "medium"
  },
  "signal": {
    "action": "BUY_YES_B",
    "strength": "strong",
    "reason": "Market B underpriced by 16%"
  }
}
```

## Signal Types

- `BUY_YES_A/B` - Market underpriced
- `BUY_NO_A/B` - Market overpriced  
- `HOLD` - No significant mispricing
- `SKIP` - Markets are mutually exclusive

## Links

- **API:** https://api.nshrt.com
- **Dashboard:** https://api.nshrt.com/dashboard
- **GitHub:** https://github.com/sbaker5/polyedge

