Build a Discord Odds Bot Your Community Will Actually Use
A bot that serves live sports odds directly in your Discord server. Users type/odds Lakers and get real-time lines with team logos.
What You’ll Use
| SDK Method | Endpoint | Purpose |
|---|---|---|
search() | GET /v1/search | Find events by team name |
getEventOdds() | GET /v1/events/{id}/odds | Get odds for a specific event |
getScores() | GET /v1/scores | Get live scores |
getLive() | GET /v1/live | List all live events |
Prerequisites
- Node.js 18+
- A Discord bot token (from Discord Developer Portal)
- A free FieldFunded API key
Step 1: Initialize Both SDKs
Step 2: Register Slash Commands
Step 3: Handle /odds Command
Uses search() to find the team, then getEventOdds() for market data:
Step 4: Handle /scores Command
Uses getScores() — the lightweight endpoint optimized for frequent polling:
Step 5: Deploy
DISCORD_TOKEN, DISCORD_CLIENT_ID, FIELDFUNDED_API_KEY.
Rate Limit Awareness
The free tier gives you 10,000 req/month. With a Discord bot:- Each
/oddscommand = 2 requests (search + odds) - Each
/scorescommand = 1 request - 10,000 / 2 = ~5,000 /odds commands per month on the free tier
Search API Reference
See search endpoint docs →
Live Scores Reference
See scores endpoint docs →
Related Guides
- Build a Telegram Bot — same concept, different platform (includes inline search)
- Build a Twitch Overlay — live esports odds on stream
- Build a Settlement Engine — resolve bets automatically
Get Your Free API Key
Start building in 5 minutes — 10,000 free requests/month
