Find user profiles by text (q), typed address (near=… geocoded), lat/lng, playing level, weekly availability slots, coaches available for coaching (available_for_coaching=true), equipment (racket/strings/grip/balls), preferred surface, map prefs, or gender. At least one filter is required. Results include playing_level, availability_keys, available_for_coaching, and optional distance_km. Email is never returned.
Returns
Matching public profiles (no email). Includes playing_level, availability_keys, available_for_coaching, tennis_ratings/setup, url, optional near/lat/lng/distance_km. Filter by address (near), coaches (available_for_coaching), availability slots, equipment, and playing level. `{ data: { profiles: [{ id, full_name, account_name, avatar_url, home_place_name?, playing_level?, availability_keys, available_for_coaching, map_visibility?, map_looking_for_games?, tennis_ratings?, tennis_setup?, baseline_spin_rating?, url, distance_km?, created_at }], q, near?, lat?, lng?, radius_km? }, meta?: { page, page_size, total, total_pages, has_more, next_page, next_hint? } }`.
curl "https://www.allcourt.pro/api/v1/profiles" \
-H "Authorization: Bearer acp_live_…"
{
"data": {
"q": "",
"near": "Hackney, London",
"lat": 51.54,
"lng": -0.05,
"radius_km": 25,
"profiles": [
{
"id": "…",
"full_name": "Alex Player",
"account_name": "alex-player",
"avatar_url": null,
"home_place_name": "Hackney",
"playing_level": "Intermediate",
"availability_keys": ["1-evening", "6-morning"],
"available_for_coaching": true,
"map_visibility": "public",
"map_looking_for_games": true,
"baseline_spin_rating": 1200,
"url": "https://www.allcourt.pro/app/users/…",
"distance_km": 3.2,
"created_at": "2026-01-15T10:00:00.000Z"
}
]
},
"meta": { "page": 1, "page_size": 20, "total": 1, "total_pages": 1, "has_more": false, "next_page": null }
}
Social games
Create, list, join, and leave open casual games on the global Friendly league — the same Socials nearby surface as /app/friendly. Requires social:read or social:write. Actions run as the API key owner. Each social includes a public `url`. Retrieve returns participants and score state.