Loading...
Loading...
Real-time sports & events data for AI agents via Shipp. Use when the user wants live scores, schedules, or game events for NBA, NFL, NCAA Football, MLB, or Soccer — especially to power prediction market trading strategies on Polymarket or Kalshi using a MoonPay wallet.
npx skill4agent add moonpay/skills shipp-sports-datanpm install -g @moonpay/cliexport SHIPP_API_KEY="sk_..."# 1. Create a MoonPay wallet for your sports agent
mp wallet create --name "shipp-sports-agent"
mp wallet list # note your Polygon address
# 2. Fund with USDC.e (for trading) and POL (for gas)
mp buy --token usdc_polygon --amount 100 --wallet <polygon-address> --email <email>
mp buy --token pol_polygon --amount 5 --wallet <polygon-address> --email <email>
# 3. Register wallet with Polymarket (one-time)
mp prediction-market user create --provider polymarket --wallet <polygon-address>
# 4. Create a Shipp connection for your target market
# (see Shipp API section below)curl -X POST https://api.shipp.ai/api/v1/connections/create \
-H "Authorization: Bearer $SHIPP_API_KEY" \
-H "Content-Type: application/json" \
-d '{"filter_instructions": "NBA games with final scores from the last 24 hours"}'
# → returns { "connection_id": "conn_..." }curl -X POST https://api.shipp.ai/api/v1/connections/{connection_id} \
-H "Authorization: Bearer $SHIPP_API_KEY" \
-H "Content-Type: application/json" \
-d '{"limit": 20, "since_event_id": "<last_seen_id>"}'curl "https://api.shipp.ai/api/v1/sports/nba/schedule?api_key=$SHIPP_API_KEY"
# sports: nba | nfl | ncaaf | mlb | soccercurl "https://api.shipp.ai/api/v1/connections?api_key=$SHIPP_API_KEY"# 1. Create connection (run once — save the connection_id)
curl -X POST https://api.shipp.ai/api/v1/connections/create \
-H "Authorization: Bearer $SHIPP_API_KEY" \
-H "Content-Type: application/json" \
-d '{"filter_instructions": "NBA games with final scores from the last 24 hours"}'
# → { "connection_id": "conn_..." }
# 2. Poll for updates (run every 15s, passing last seen event_id)
curl -X POST https://api.shipp.ai/api/v1/connections/{connection_id} \
-H "Authorization: Bearer $SHIPP_API_KEY" \
-H "Content-Type: application/json" \
-d '{"limit": 20, "since_event_id": "<last_event_id>"}'mp prediction-market position buy \
--wallet shipp-sports-agent \
--provider polymarket \
--tokenId <outcome-token-id> \
--price 0.85 \
--size 50# Check balance
mp token balance list --wallet <polygon-address> --chain polygon
# Sign a message (EIP-191)
mp message sign --wallet shipp-sports-agent --chain polygon --message "I own this wallet"
# Withdraw winnings to bank
mp virtual-account offramp create \
--amount 500 --chain polygon --wallet <polygon-address>
# Hardware wallet (high security)
mp wallet add-ledger --name "shipp-sports-ledger"| Method | Command | Best for |
|---|---|---|
| Buy with fiat | | Getting started |
| Bridge crypto | | Existing crypto holders |
| Bank transfer | | Large amounts |
| Deposit link | | Permissionless funding from anyone |
0x2791Bca1f2de4661ED88A30C99A7a9449Aa84174mp wallet create --name "shipp-sports-agent"mp buy --token usdc_polygon --amount 100 --wallet <address> --email <email>mp buy --token pol_polygon --amount 5 --wallet <address> --email <email>mp virtual-account offramp create| Code | Meaning |
|---|---|
| 400 | Bad request |
| 401 | Auth failed — check |
| 402 | Billing — top up your Shipp account |
| 429 | Rate limited — back off and retry |
| 5xx | Shipp server error — retry with exponential backoff |