Tic-Tac-Toe Fetch
The /tic-tac-toe/fetch endpoint retrieves information about a current Tic-Tac-Toe game.
posthttps://api.moxon.dev /v5/tic-tac-toe/fetch
Try itpost/v5/tic-tac-toe/fetch
curl -X POST \ "https://api.moxon.dev/v5/tic-tac-toe/fetch" \ -H "Content-Type: application/json" \ -d '{}'Send the request to see the response here.
usernamestringrequiredThe username of the player
gamestringoptionalThe game identifier to fetch
privatebooleanoptionalSet to
trueto fetch only private games
idstringGame identifier
movesarrayArray of moves made in the game
playersstring[]Array of player usernames
turnstring|nullUsername of the player whose turn it is
statusstringGame status (
waitingorready)privatebooleanWhether the game is private
winnerstring|nullUsername of the winner (if game is over)
loserstring|nullUsername of the loser (if game is over)
tiebooleanWhether the game ended in a tie
If parameters are missing or invalid, the API will return an error:
- 400
Please provide a username (?username={username})Theusernameparameter is missing
- post/v5/tic-tac-toe - Main game endpoint for making moves
- post/v5/tic-tac-toe/list - List all public games
Last updated on May 25, 2026