It's "Dice" web api.


What is "Dice"?

This is a web API that randomly generates dice eyes.

  • Returns a value between 1 and 6 at random.
  • The response is output in JSON format.
  • Anyone can use it for free.

How to use

Please access the following URL.

The following JSON response is returned. The value of the dice roll changes randomly.


      {"dice":5}
      

If you use "curl" command, execute the following command.


      curl \
        --request GET \
        --url https://dice-api.genzouw.com/v1/dice