NewAPIVerve Academy: free courses and certifications anyone can verify.Explore the Academy →

Slot Machine Simulator API

GET

Simulate reel spins and track reel results across custom bets.

Slot Machine Simulator generates slot machine reel spins for configurable reels, bet sizes, and spin counts. Every run outputs symbol names and emoji for each reel; paid plans add payout calculations, win tracking, and net profit statistics.

Try it — live request, no key required

Request
GETapi.apiverve.com/v1/slotmachine
Verification
Format

No key required to try it. Get a key to use it in your app.

Example
{
  "status": "ok",
  "error": null,
  "data": {
    "total_spins": 5,
    "num_reels": 3,
    "bet_per_spin": 1,
    "spins": [
      {
        "spin_number": 1,
        "reels": [
          {
            "symbol": "🍋",
            "name": "Lemon"
          },
          {
            "symbol": "🍒",
            "name": "Cherry"
          },
          {
            "symbol": "🍒",
            "name": "Cherry"
          }
        ],
        "bet": 1,
        "payout": 0,
        "win_type": "none",
        "is_win": false
      },
      {
        "spin_number": 2,
        "reels": [
          {
            "symbol": "⭐",
            "name": "Star"
          },
          {
            "symbol": "🍋",
            "name": "Lemon"
          },
          {
            "symbol": "⭐",
            "name": "Star"
          }
        ],
        "bet": 1,
        "payout": 0,
        "win_type": "none",
        "is_win": false
      },
      {
        "spin_number": 3,
        "reels": [
          {
            "symbol": "🍊",
            "name": "Orange"
          },
          {
            "symbol": "🍇",
            "name": "Grape"
          },
          {
            "symbol": "🍋",
            "name": "Lemon"
          }
        ],
        "bet": 1,
        "payout": 0,
        "win_type": "none",
        "is_win": false
      },
      {
        "spin_number": 4,
        "reels": [
          {
            "symbol": "🍒",
            "name": "Cherry"
          },
          {
            "symbol": "⭐",
            "name": "Star"
          },
          {
            "symbol": "🔔",
            "name": "Bell"
          }
        ],
        "bet": 1,
        "payout": 0,
        "win_type": "none",
        "is_win": false
      },
      {
        "spin_number": 5,
        "reels": [
          {
            "symbol": "🍒",
            "name": "Cherry"
          },
          {
            "symbol": "🍒",
            "name": "Cherry"
          },
          {
            "symbol": "7️⃣",
            "name": "Seven"
          }
        ],
        "bet": 1,
        "payout": 0.5,
        "win_type": "small",
        "is_win": true
      }
    ],
    "total_bet": 5,
    "total_winnings": 0.5,
    "net_profit": -4.5,
    "wins": 1,
    "losses": 4,
    "win_percentage": 20,
    "available_symbols": [
      {
        "symbol": "🍒",
        "name": "Cherry",
        "payout_multiplier": 2
      },
      {
        "symbol": "🍋",
        "name": "Lemon",
        "payout_multiplier": 3
      },
      {
        "symbol": "🍊",
        "name": "Orange",
        "payout_multiplier": 5
      },
      {
        "symbol": "🍇",
        "name": "Grape",
        "payout_multiplier": 10
      },
      {
        "symbol": "🔔",
        "name": "Bell",
        "payout_multiplier": 20
      },
      {
        "symbol": "⭐",
        "name": "Star",
        "payout_multiplier": 50
      },
      {
        "symbol": "💎",
        "name": "Diamond",
        "payout_multiplier": 100
      },
      {
        "symbol": "7️⃣",
        "name": "Seven",
        "payout_multiplier": 200
      }
    ]
  }
}

About the Slot Machine Simulator API

A slot machine simulator API for casino-style games, demos and probability lessons, with no real money involved. Each call spins three to five reels up to five times, drawing every symbol with weighted probabilities so cherries turn up often and sevens rarely. You choose the number of spins, the number of reels and the bet per spin, starting from zero.

The Free plan returns what lands on each reel for every spin, as an emoji and a name, with the bet, the total amount wagered and the list of eight symbols the machine uses. That is enough to animate the reels in a browser game, a Discord bot or a party app and decide outcomes your own way.

Paid plans add the payout side: the winnings for each spin, its win type and a win flag, plus session totals for winnings, net profit, wins, losses and win percentage, and the payout multiplier for every symbol. That turns the simulator into a ready-made backend for a slot game, or a quick way to show how a run of spins moves a player's balance over time.

How it works

Each reel is filled independently by a weighted draw from eight symbols. The weights, out of 108, are Cherry 30, Lemon 25, Orange 20, Grape 15, Bell 8, Star 5, Diamond 3 and Seven 2, so a Cherry lands on about 28% of reels and a Seven on under 2%. Payout multipliers rise as symbols get rarer: 2, 3, 5, 10, 20, 50, 100 and 200.

Matches count from the leftmost reel only. The simulator counts how many reels in a row, starting at reel one, show the same symbol as reel one; the same symbol further along after a break does not count. If every reel matches, win_type is jackpot and payout is multiplier x bet x number of reels. If three or more match but not all, which needs four or five reels, win_type is match and payout is multiplier x bet x matched count x 0.5. Exactly two leading matches give small, paying half the bet for any symbol. Anything else is none with a payout of 0.

is_win is true whenever payout is above zero, so a small result counts toward wins although it returns less than the stake. total_bet is spins x bet, net_profit is total winnings minus total bet, and win_percentage is wins divided by spins, times 100. Money values are rounded to two decimals.

spins accepts 1-5, reels 3-5 and bet 0-1000. A bet of 0 is honoured and gives zero payouts. On the Free plan payout, win_type, is_win, the winnings, profit and win/loss totals, and each symbol's payout_multiplier are null.

What people use it for

Game Development
Implement slot machine mechanics in casino games and gambling applications
Probability Analysis
Analyze slot machine probabilities and expected values for educational purposes
Entertainment
Provide safe, simulated slot machine experience without real money gambling
Testing
Test slot machine algorithms and payout structures for game design and balancing

Without writing code

The Slot Machine widget from WidgetSpark spins one on your desktop.

Ways to call it

One endpoint, many ways in — REST with JSON, XML, YAML and CSV, plus GraphQL and an MCP interface for AI agents.

JSON
Default REST response
XML
Markup format
YAML
Human-readable
CSV
Tabular export
Beta
GraphQL
Query language
New
MCP
For AI agents

Other ways to use Slot Machine Simulator

Same data, same APIVerve account, same credit balance — one key works on all of them.

Questions.

Common questions about the Slot Machine Simulator API.

Read the docs →
Which plan fits 25,000 spin simulations a month?
Starter easily covers that volume. Each simulation call costs 1 credit, so 25,000 calls use 25,000 credits, or an eighth of Starter's monthly credit limit. That works out to about $0.15 per 1,000 calls. For evaluation, the Free plan provides 200 calls each month.
Are payout amounts and win percentages included on the Free plan?
No. The Free plan returns reel symbols and spin counts, but payout totals, win classifications, net profit, win percentage, and symbol multipliers require a paid plan. Starter and higher tiers unlock all financial and probability calculations.
Can I adjust the number of reels and the bet size?
Yes. You can customize the reel count, the bet amount per spin, and the number of spins to run in a single call. Slot Machine Simulator uses weighted symbol probabilities to evaluate matches across the reels you define.
Can I run multiple spins in a single request?
Yes. You can simulate an entire session by requesting multiple spins at once. The response breaks down the reel outcome for every individual spin and summarizes total wagers; paid plans also summarize session performance.
How does the simulator report losing spins?
Losing spins still return their full reel configuration. When a spin fails to match a winning combination, paid plans mark the win flag as false, assign zero payout, and increment the session loss count.

Ready to build with Slot Machine Simulator? Start with 200 free credits — one key unlocks all 300+ APIs.

Explore the catalog

300+ APIs on the same key and the same response shape.

Browse all APIs