Please contact us on [email protected] to request access to the API
/api/user.php?id=[userid]
Field | Type | Description |
id | Integer | Profile ID# |
firstname | String | First name |
lastname | String | Last name |
nickname | String | Nick name |
link | URL | Profile URL |
image | URL | Profile image URL |
academy | String | Academy |
affiliation | String | Affiliation |
city | String | City |
country | String | Country |
begantraining | Date | First started training |
beltrank | Integer | Current belt rank ID** |
coloredbeltstripes | Integer | Stripes on current belt (only below black belt) |
beltname | String | Name of current belt rank |
fullbeltname | String | Name of current belt rank including stripes (only below black belt) |
votes | Integer | Voting points received |
votesrequired | Integer | Voting points required for current belt rank |
idverified | Boolean | Id verified (name and picture verification) |
promotionhistoryfilledout | Boolean | Promotion history filled out |
votesaquired | Boolean | Required voting points for current belt rank acquired |
verified | Boolean | Profile fully verified |
smoothcompid | Integer | Smoothcomp ID |
agfid | Integer | American Grappling Federation ID |
moderatorbadge | Boolean | Moderators' Badge of Excellence |
medalstotal | Integer | Medals total |
medalsgold | Integer | Medals gold |
medalssilver | Integer | Medals silver |
medalsbronze | Integer | Medals bronze |
/api/matches.php?id=[userid]
Field | Type | Description |
matchid | Integer | Match ID |
competition | String | Competition |
opponent | String | Opponent |
result | Integer | Result* |
method | String | Method |
date | Date | Date |
location | String | Location |
division | String | Division |
/api/medals.php?id=[userid]
Field | Type | Description |
medalid | Integer | Match ID |
competition | String | Competition |
result | Integer | Medal*** |
date | Date | Date |
location | String | Location |
division | String | Division |
/api/promotionhistory.php?id=[userid]
Field | Type | Description |
promotionid | Integer | Promotion ID |
beltrank | Integer | Belt rank ID** |
stripes | Integer | Number of stripes (only for below black belt) |
date | Date | Date |
promoterid | Integer | User ID of promoter (0 = no promoter profile linked) |
promoter | String | Name of promoter |
location | String | Location |
comment | String | Comment |
autopromotion | Boolean | Automatic promotion based on time |
promoterapproved | Boolean | Promotion verified by linked promoter |
iscurrentbelt | Boolean | Belt rank is current (highest) rank |
0: Lost
1: Won
2: Draw
3: No contest
1: Gold
2: Silver
3: Bronze