Developer Tools

API
Integration

Integrate our card games into your existing platform via REST API. Complete documentation for all game verticals with sample code.

Available Game APIs

Integrate any or all of our games

Poker API

40+ variants, tournaments, cash games. Full player management.

Rummy API

Points, Pool, Deals. Indian Rummy with all variants.

Teen Patti API

7+ variations including Muflis, AK47, Joker.

Andar Bahar API

RNG and Live Dealer options with side bets.

Integration Options

REST API

Full-featured REST API for deep backend integration. Complete control over user flow.

iFrame Embed

Quick integration with iframe. Embed games directly in your site with minimal code.

Seamless Wallet

Single wallet integration. Players use your platform balance in our games.

Quick Start Example

Launch a game session with a simple API call

JavaScript
// Initialize game session
const response = await fetch('https://api.pokerlegends.com/v1/games/launch', {
  method: 'POST',
  headers: {
    'Authorization': `Bearer ${API_KEY}`,
    'Content-Type': 'application/json'
  },
  body: JSON.stringify({
    game: 'poker',         // poker, rummy, teenpatti, andarbahar
    player_id: 'user_123',
    currency: 'INR',
    balance: 10000
  })
});

const { game_url } = await response.json();
// Redirect player to game_url or embed in iframe

Sample Endpoints

POST /v1/games/launch

Launch a new game session for a player. Returns a game URL.

GET /v1/players/{id}/balance

Get current player balance in the gaming wallet.

POST /v1/players/{id}/deposit

Add funds to player's gaming wallet.

GET /v1/games/history

Get game history and hand details for reporting.

0Game APIs
<100msResponse Time
99.99%Uptime SLA
24/7Support

Get API Access

Request API credentials and full documentation. Our team will help you integrate quickly.

api@luckybastardgame.com
Documentation included