GlassScore API
The GlassScore API allows clubs and tournament organizers to verify player ratings and eligibility in real-time. Use our API to integrate GlassScore verification into your registration flows.
https://api.glassscore.com/v1Authentication
The GlassScore API uses API keys for authentication. Include your API key in the Authorization header using the Bearer scheme. You can generate API keys from the enterprise portal.
Example Request
curl https://api.glassscore.com/v1/external/players/lookup?q=john@example.com \ -H "Authorization: Bearer gs_live_abc123xyz..."
Errors
GlassScore uses conventional HTTP response codes to indicate the success or failure of an API request.
Rate Limiting
The GlassScore API limits requests to 100 requests per minute per API key. When you exceed this limit, the API will return a 429 status code.
Response Headers
Rate limit information is included in response headers:
X-RateLimit-Limit: 100 X-RateLimit-Remaining: 87 X-RateLimit-Reset: 1672531200
Players
Search and retrieve player information including their current GlassScore rating.
Lookup Players
/v1/external/players/lookupSearch for players by name or email. Returns a list of matching players with their current GlassScore ratings.
Query Parameters
Example Request
curl https://api.glassscore.com/v1/external/players/lookup?q=john@example.com \ -H "Authorization: Bearer gs_live_abc123xyz..."
Example Response
[
{
"id": "550e8400-e29b-41d4-a716-446655440000",
"first_name": "John",
"last_name": "Doe",
"email": "john@example.com",
"current_glassscore": 8.5,
"confidence": 0.85
}
]Get Player Rating
/v1/external/players/:player_id/ratingRetrieve the current GlassScore rating for a specific player.
Example Request
curl https://api.glassscore.com/v1/external/players/550e8400-e29b-41d4-a716-446655440000/rating \ -H "Authorization: Bearer gs_live_abc123xyz..."
Example Response
{
"glassscore": 8.5,
"confidence": 0.85,
"method": "glassscore_match_result",
"last_updated": "2025-12-30T10:30:00Z"
}Eligibility
Check if a player meets specific GlassScore requirements for tournaments, clinics, or open play.
Check Eligibility
/v1/external/eligibility/checkVerify if a player's GlassScore falls within the specified range.
Request Body
Example Request
curl -X POST https://api.glassscore.com/v1/external/eligibility/check \
-H "Authorization: Bearer gs_live_abc123xyz..." \
-H "Content-Type: application/json" \
-d '{
"player_id": "550e8400-e29b-41d4-a716-446655440000",
"min_glassscore": 6.0,
"max_glassscore": 10.0
}'Example Response (Eligible)
{
"eligible": true,
"reason": "Player meets all requirements",
"player_glassscore": 8.5,
"confidence": 0.85,
"method": "glassscore_match_result"
}Example Response (Not Eligible)
{
"eligible": false,
"reason": "Player GlassScore (4.5) is below minimum (6.0)",
"player_glassscore": 4.5,
"confidence": 0.60,
"method": "questionnaire"
}