# Goal402 List All Leagues

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

Returns a complete list of all available football/soccer leagues in the system

## Facts

- Endpoint: GET https://goal402-x402.percha.workers.dev/leagues
- Price: $0.001/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-95045877
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap__IuslUuhs5D05oUF0YzgJ

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-95045877
```

Example prompt: What football leagues are available in the Goal402 sports API? Give me the full list so I can pick one to look up standings or matches.

## When to prefer this

Use this endpoint first when you need to discover available league IDs before calling league-specific endpoints like standings, matches, or team data. It's the entry point for league-based navigation in this sports API.

## Known failure modes

- Payment not provided or invalid (x402 payment required before data is returned)
- Service unavailable or worker error (500-level response)
- Empty list if no leagues are configured in the backend

## How this service works

List all leagues

## Output

A list of all football/soccer leagues available in the system, likely including league IDs, names, and possibly country or competition-level metadata — useful for discovering which league IDs to use in subsequent calls like standings, matches, or team data.

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/goal402-x402-percha-workers-dev-95045877/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)
