Round Robin Standings
Build standings from completed round-robin matches using caller-defined points and goal-difference tiebreaks.
Custom requests cost 0.04 USDC on Base.
Download example JSON · OpenAPI · Source and usage
Pay with a browser wallet · Open example in checkout
POST a JSON request to /round-robin-standings/v1/check with an x402 V2 client.
Worked example
Request
{
"teams": [
"A",
"B",
"C"
],
"points": {
"win": 3,
"draw": 1,
"loss": 0
},
"matches": [
{
"home": "A",
"away": "B",
"home_score": 2,
"away_score": 1
},
{
"home": "C",
"away": "B",
"home_score": 0,
"away_score": 0
}
]
}Result
{
"standings": [
{
"rank": 1,
"team": "A",
"played": 1,
"points": 3,
"goals_for": 2,
"goal_difference": 1
},
{
"rank": 2,
"team": "C",
"played": 1,
"points": 1,
"goals_for": 0,
"goal_difference": 0
},
{
"rank": 3,
"team": "B",
"played": 2,
"points": 1,
"goals_for": 1,
"goal_difference": -1
}
],
"remaining_matches": 1
}Support catalog maintenance through GitHub Sponsors. Sponsor gptenv · Sponsor Jeremy Carter