Rock Paper Scissors API

GET

Settle tiebreakers and run rock-paper-scissors games in one call.

Rock Paper Scissors API simulates the classic hand game with detailed outcome analysis, statistics, and support for multiple rounds.

Try it — live request, no key required

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

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

Example
{
  "status": "ok",
  "error": null,
  "data": {
    "total_rounds": 5,
    "player_choice_mode": "manual",
    "games": [
      {
        "round": 1,
        "player_choice": "rock",
        "player_emoji": "🪨",
        "computer_choice": "paper",
        "computer_emoji": "📄",
        "outcome": "computer",
        "message": "Computer wins! undefined"
      },
      {
        "round": 2,
        "player_choice": "rock",
        "player_emoji": "🪨",
        "computer_choice": "rock",
        "computer_emoji": "🪨",
        "outcome": "tie",
        "message": "It's a tie! Both chose rock"
      },
      {
        "round": 3,
        "player_choice": "rock",
        "player_emoji": "🪨",
        "computer_choice": "rock",
        "computer_emoji": "🪨",
        "outcome": "tie",
        "message": "It's a tie! Both chose rock"
      },
      {
        "round": 4,
        "player_choice": "rock",
        "player_emoji": "🪨",
        "computer_choice": "paper",
        "computer_emoji": "📄",
        "outcome": "computer",
        "message": "Computer wins! undefined"
      },
      {
        "round": 5,
        "player_choice": "rock",
        "player_emoji": "🪨",
        "computer_choice": "scissors",
        "computer_emoji": "✂️",
        "outcome": "player",
        "message": "You win! Rock crushes scissors"
      }
    ],
    "results": {
      "player_wins": 1,
      "computer_wins": 2,
      "ties": 2,
      "player_win_percentage": 20,
      "computer_win_percentage": 40,
      "tie_percentage": 40
    },
    "overall_winner": "computer",
    "game_rules": {
      "rock_beats": "scissors",
      "paper_beats": "rock",
      "scissors_beats": "paper"
    }
  }
}

About the Rock Paper Scissors API

Perfect for building games, implementing random decision systems, or adding interactive elements to applications with emoji support and detailed results.

What people use it for

Game Development
Build Rock Paper Scissors game apps and interactive experiences with multi-round gameplay and statistics tracking
Decision Systems
Implement random decision-making systems using Rock Paper Scissors logic for conflict resolution and choice selection
Gaming Features
Create gaming features and tournaments with automated opponent moves, win/loss tracking, and performance analytics
Interactive Apps
Add interactive gaming elements to applications for user engagement and entertainment value

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 Rock Paper Scissors

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

Questions.

Common questions about the Rock Paper Scissors API.

Read the docs
Can I simulate multi-round matches in a single request?
Yes. You can set the number of rounds to play in a single request. The API simulates each round in sequence and returns an array containing the hand choices and outcome for every round.
What happens if I leave out the player choice?
The API generates a random hand for the player. Omitting the choice parameter switches the player selection mode from manual to random, selecting rock, paper, or scissors automatically alongside the computer throw.
Does the response include visual emojis for each move?
Yes. Every round returned includes the corresponding emoji for both the player hand and the computer hand. You can display these directly in chat systems or user interfaces without maintaining your own symbol mappings.
How far does the Starter plan go for simulated games?
The Starter plan covers 100,000 game calls each month. Each request uses 2 credits, which works out to about $0.30 per 1,000 calls. For prototyping and testing, the Free plan provides 100 calls per month.
Are win percentages and overall match winners included on the Free plan?
No. The Free plan returns round-by-round hands and raw outcomes, but aggregate calculations require a paid subscription. Detailed win counts, player and computer win percentages, tie percentages, outcome messages, and the overall winner field are available on Starter and higher plans.

Ready to build with Rock Paper Scissors? 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