Predict
Estimate how balanced a proposed 2v2 pairing is before the match starts.
POST /v1/intelligence/predict
POST
/v1/intelligence/predictread:intelligenceBody: four distinct public player UUIDs in court order (A-left, A-right, B-left, B-right). Allowed for test keys. Metered as a predict call, not a write.
The ids in the sample are synthetic. Copying them returns 422 until those players exist on the API.
curl -s -X POST "https://api.padelrank.me/v1/intelligence/predict" \
-H "Authorization: Bearer $PADELRANK_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"player_ids": [
"11111111-1111-4111-8111-111111111111",
"22222222-2222-4222-8222-222222222222",
"33333333-3333-4333-8333-333333333333",
"44444444-4444-4444-8444-444444444444"
],
"format": "2v2"
}'Response:
{
"draw_probability": 0.11,
"balance_rating": "medium",
"team_a": [
"11111111-1111-4111-8111-111111111111",
"22222222-2222-4222-8222-222222222222"
],
"team_b": [
"33333333-3333-4333-8333-333333333333",
"44444444-4444-4444-8444-444444444444"
]
}draw_probability— relative pairing score. Higher is more even among foursomes you compare. Not a promise the match will be tied.balance_rating—highwhen draw_probability ≥ 0.12,mediumwhen ≥ 0.07, otherwiselowteam_a/team_b— echo of the two-player teams
This endpoint does not search by location or availability and does not create a match.