# Goal402 Match Detail

> Goal402 Match Detail 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, last successful call 2026-08-03).

Returns full match detail including in-match events, team statistics, and player lineups for a given match ID

## Facts

- Endpoint: GET https://goal402-x402.percha.workers.dev/matches/egdcbej
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Last successful call: 2026-08-03
- Success rate: 100% of calls made through Zero
- Rating: 3.0 / 5 from 1 review
- Activations on Zero: 1
- Tags: x402
- Canonical page: https://www.zero.xyz/c/goal402-x402-percha-workers-dev-37de22f5
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_Su-GnT5YV5ud5bMlqBiiH

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-37de22f5
```

Example prompt: Can you pull up the full details for match ID egdcbej — I want to see the events, team lineups, and statistics for that game?

## When to prefer this

Use this endpoint when you need comprehensive detail about a single specific match — events, lineups, and statistics together in one call. Prefer this over team history or league endpoints when you already have a match ID and need deep match-level data.

## Known failure modes

- Invalid or unknown match ID returns an error or empty response
- Match ID for a future match may return incomplete data (no events or stats yet)
- Payment of $0.01 USDC not fulfilled results in HTTP 402 response
- Network or worker downtime results in 5xx error

## How this service works

Full match detail with events, statistics, and lineups

## Output

Returns a JSON object containing the match ID, an array of in-match events (goals, cards, substitutions), team lineups with player details, and an array of statistics (possession, shots, etc.) for the specified match.

## 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": "Match ID"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "properties": {
      "id": {
       "type": "string"
      },
      "events": {
       "type": "array"
      },
      "lineups": {
       "type": "object"
      },
      "statistics": {
       "type": "array"
      }
     }
    }
   }
  }
 }
}
```

## More

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