# Goal402 League Standings Table

> Goal402 League Standings Table is a paid API for AI agents from goal402-x402.percha.workers.dev, paid per call via x402, $0.001000/call, status unknown (last checked 2026-09-14).

Returns the current standings table for a given football/soccer league, broken down by conference and stage with team stats

## Facts

- Endpoint: GET https://goal402-x402.percha.workers.dev/leagues/bae/standings
- Price: $0.001000/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/goal402-x402-percha-workers-dev-be470cb3
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_VeNOvIjneVBKdD8IcxPSw

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability goal402-x402-percha-workers-dev-be470cb3
```

Example prompt: Can you pull up the current league standings table for the MLS Eastern Conference — league ID 'bae' — so I can see which teams are leading in points, wins, and goal difference?

## When to prefer this

Use this endpoint when you need current league standings/rankings for a specific soccer or football league identified by a known league ID. Prefer this over match-history endpoints when the goal is to see the overall table, not individual match results. Best for MLS or similar leagues supported by the goal402 data provider.

## Known failure modes

- Invalid or unknown league ID returns an empty or error response
- League has no standings data yet (e.g. pre-season) may return empty standings object
- Network or Cloudflare worker downtime returns 5xx error
- Missing required 'id' query parameter returns 400 or validation error
- Payment not completed via x402 protocol returns 402 Payment Required

## How this service works

League standings table

## Output

A JSON object containing the league ID and a nested standings object organized by conference (e.g. Eastern Conference) and stage (e.g. Regular Season), with each team entry showing position, points, wins, losses, draws, goals for, goals against, goal difference, and games played.

## Example request

```json
{
 "input": {
  "type": "http",
  "method": "GET",
  "queryParams": {
   "id": "bae"
  }
 }
}
```

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "id"
     ],
     "properties": {
      "id": {
       "type": "string",
       "description": "League ID"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "properties": {
      "league_id": {
       "type": "string"
      },
      "standings": {
       "type": "object"
      }
     }
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "league_id",
  "standings"
 ],
 "properties": {
  "league_id": {
   "type": "string"
  },
  "standings": {
   "type": "object",
   "required": [
    "Eastern Conference",
    "Western Conference"
   ],
   "properties": {
    "Eastern Conference": {
     "type": "object",
     "required": [
      "Regular Season"
     ],
     "properties": {
      "Regular Season": {
       "type": "array",
       "items": {
        "type": "object",
        "required": [
         "won",
         "lost",
         "team",
         "drawn",
         "trend",
         "played",
         "points",
         "position",
         "goal_diff",
         "goals_for",
         "goals_against"
        ],
        "properties": {
         "won": {
          "type": "number"
         },
         "lost": {
          "type": "number"
         },
         "team": {
          "type": "object",
          "required": [
           "id",
           "name",
           "short_name"
          ],
          "properties": {
           "id": {
            "type": "string"
           },
           "name": {
            "type": "string"
           },
           "short_name": {
            "type": "string"
           }
          }
         },
         "drawn": {
          "type": "number"
         },
         "trend": {
          "type": "null"
         },
         "played": {
          "type": "number"
         },
         "points": {
          "type": "number"
         },
         "position": {
          "type": "number"
         },
         "goal_diff": {
          "type": "number"
         },
         "goals_for": {
          "type": "number"
         },
         "goals_against": {
          "type": "number"
         }
        }
       }
      }
     }
    },
    "Western Conference": {
     "type": "object",
     "required": [
      "Regular Season"
     ],
     "properties": {
      "Regular Season": {
       "type": "array",
       "items": {
        "type": "object",
        "required": [
         "won",
         "lost",
         "team",
         "drawn",
         "trend",
         "played",
         "points",
         "position",
         "goal_diff",
         "goals_for",
         "goals_against"
        ],
        "properties": {
         "won": {
          "type": "number"
         },
         "lost": {
          "type": "number"
         },
         "team": {
          "type": "object",
          "required": [
           "id",
           "name",
          
… (truncated)
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/goal402-x402-percha-workers-dev-be470cb3/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from goal402-x402.percha.workers.dev](https://www.zero.xyz/host/goal402-x402.percha.workers.dev/llms.txt)
