Skip to main content

Build a Telegram Odds Bot with Inline Search

A Telegram bot that serves live odds via commands and inline search. Users can type @yourbot Lakers in any chat to see odds without opening the bot.

What You’ll Use

Prerequisites

  • Node.js 18+
  • A Telegram bot token (from @BotFather)
  • A free FieldFunded API key

Step 1: Initialize

Step 2: /odds Command

Step 3: /scores Command

Step 4: Inline Search (the killer feature)

Users type @yourbot Lakers in any chat and get odds results as inline cards:

Step 5: Launch

Deploy

Deploy to Render or Railway (both have free tiers):

Rate Limit Math

  • /odds = 2 requests (search + odds)
  • /scores = 1 request
  • Inline query = 1-6 requests (search + odds per result)
  • Free tier handles ~2,000 bot interactions/month

Search API Reference

See search endpoint docs →

Get Your Free API Key

Start building in 5 minutes — 10,000 free requests/month

See Pricing

All plans compared side by side