Skip to content

Submit a match

Record a 2v2 result from your tournament or league software so ratings can update.

Prerequisites

  • Live API key with write:matches and an active subscription
  • Four participants resolvable by username or profile_id
  • A stable external_ref from your system for idempotent retries

Code

cURL
curl -s -X POST "https://api.padelrank.me/v1/matches" \
  -H "Authorization: Bearer $PADELRANK_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "external_ref": "your-app-match-9821",
    "played_at": "2026-06-16T18:30:00Z",
    "winning_team": "A",
    "trust_tier": "partner_attested",
    "participants": [
      { "username": "maria_s", "team": "A", "court_position": "left" },
      { "username": "joao_p", "team": "A", "court_position": "right" },
      { "username": "ana_r", "team": "B", "court_position": "left" },
      { "username": "pedro_l", "team": "B", "court_position": "right" }
    ]
  }'

Errors and retries

  • 409 — same ref, different winner/trust tier; use a new ref for a different result
  • 422 — validation, unknown participant, duplicate players, or set scores that disagree with the winner
  • 403 — test key or missing scope

Reference: Matches · Errors

Guide: submit a match · PadelRank Developers