# Goal402 Team Match History

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

Retrieves paginated match history for a specific football team with filtering by match status (live, finished, upcoming)

## Facts

- Endpoint: GET https://goal402-x402.percha.workers.dev/teams/iia/matches
- Price: $0.01/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-52db60b7
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_bkweRuekC_7Dz93bRlh5n

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-52db60b7
```

Example prompt: Show me the last 10 finished matches for team ID 'team_123' — I want to see their recent results.

## When to prefer this

Use this endpoint when you need match history or schedule data for a specific team, especially when you need to filter by match status (live, finished, upcoming) or paginate through results. Prefer this over the league matches endpoint when the query is team-centric rather than league-centric.

## Known failure modes

- Missing required 'id' query parameter returns an error
- Invalid status value (not 'live', 'finished', or 'upcoming') may return empty results or error
- Team ID not found returns empty match list or 404
- Limit exceeding 100 may be capped or return error
- Payment failure (x402) blocks access to results

## How this service works

Team match history with filtering

## Output

Returns a list of matches associated with the specified team, including match records and team ID, paginated according to limit and offset parameters. Matches can be filtered by status: live, finished, or upcoming.

## Example request

```json
{
 "input": {
  "type": "http",
  "method": "GET",
  "queryParams": {
   "id": "team_123",
   "limit": 10,
   "offset": 0,
   "status": "upcoming"
  }
 }
}
```

## 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": "Team ID"
      },
      "limit": {
       "type": "number",
       "description": "Max results (up to 100)"
      },
      "offset": {
       "type": "number",
       "description": "Pagination offset"
      },
      "status": {
       "type": "string",
       "description": "live | finished | upcoming"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "properties": {
      "matches": {
       "type": "array"
      },
      "team_id": {
       "type": "string"
      }
     }
    }
   }
  }
 }
}
```

## More

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