Poker Hand Ranking API

Use this form to rank poker hands using my poker hand API, or read below and learn how to use the API yourself. This page uses AJAX to display the ranking below the hand.







 

How to use the API

The poker hand ranking API is available online at http://www.eschright.com/pokerAPI.pl

The API accepts a single parameter named had using the GET method. The value of the hand parameter must be a comma or space delimited set of five card specifiers (note: the URI must be correctly escaped). Each card specifier consists of two characters. The first character is a rank specifier:

AKQJT98765432

The rank specifier is followed by a suit specifier:

Clubs Diamonds Hearts Spades

Spaces may be represented with +. The following are all valid calls to this API

http://www.eschright.com/pokerAPI.pl?hand=AC+AS+4H+TD+6C
http://www.eschright.com/pokerAPI.pl?hand=AC%20AS%204H%20TD%206C
http://www.eschright.com/pokerAPI.pl?hand=AC%2CAS%2C4H%2CTD%2C6C