Fetch A Player NTRP Rating
Overview
You can lookup a USTA player NTRP rating given a USTA uaid. API will provide latest rating, rating date, rating type and other rating information.
API
This API can be called to fetch NTRP rating for one UAID at a time.
URI
Production:
GET https://api-ustaconnect.usta.com/v1/usta-service/customers/<UAID>/ntrp
Stage:
GET https://stage-api-ustaconnect.usta.com/v1/usta-service/customers/<UAID>/ntrpResponse
One player NTRP rating is returned per call.
{
"ntrpRating": 5.0,
"ratingType": "C",
"benchmarkType": "",
"ratingDate": "2024-12-31T00:00:00",
"ratingExpiration": "2027-12-31T00:00:00",
"ratingYear": 2024
}
Sample Curl
You must first retrieve an access token using Bound or Unbound method. See STAGE2 - OKTA Auth0 Client Integration Guide for more on how to request a token.
The following is a sample curl to retrieve a player membership status.
Where:
--header 'Authorization: Bearer eyJraW...
specifies the token that you retrieved using the https://account-ustaconnect.usta.com/oauth2/token endpoint.
curl --location 'https://api-ustaconnect.usta.com/v1/usta-service/customers/<UAID>/ntrp' \
--header 'Authorization: Bearer eyJraW...