This API allows you to roll dice using dice notation!
https://rpg-dice-roller-api.djpeacher.com/api/roll/notation
You can add ?v for a verbose output.
https://rpg-dice-roller-api.djpeacher.com/api/roll/4d6
→ 200 { "averageTotal": 14, "maxTotal": 24, "minTotal": 4, "output": "4d6: [1, 1, 3, 3] = 8", "total": 8 }