# NHL Standings

> NHL Standings is a paid API for AI agents from fanfare-api.fly.dev, paid per call via x402, $0.001000/call, status unknown (last checked 2026-09-13).

Returns current NHL standings including wins, losses, OT losses, points, and division rank for all 32 teams across all 4 divisions.

## Facts

- Endpoint: GET https://fanfare-api.fly.dev/nhl/standings
- Price: $0.001000/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/fanfare-api-fly-dev-a310e543
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_-om-QtbbZKYKOGpXZZGO2

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 fanfare-api-fly-dev-a310e543
```

Example prompt: What are the current NHL standings — can you show me all 32 teams with their wins, losses, OT losses, points, and where they rank in their division?

## When to prefer this

Use this endpoint when you need a quick, complete snapshot of current NHL standings for all 32 teams and 4 divisions in a single call. Ideal for sports apps, fantasy hockey tools, or any agent needing current NHL win/loss/points data without filtering or querying by specific team.

## Known failure modes

- Service unavailable if fanfare-api.fly.dev is down or experiencing outages
- Stale or delayed standings data if the upstream NHL data source has not been refreshed
- Payment failure if the x402 micropayment of $0.001 USDC is not successfully processed
- Empty or partial response if the NHL season has not yet started or is in offseason

## How this service works

Current NHL standings — wins, losses, OT losses, points, and division rank across all 32 teams and 4 divisions.

## Output

A structured response listing all 32 NHL teams organized by their 4 divisions, each entry showing the team name, wins, losses, overtime losses, total points, and division rank — reflecting the current season standings.

## Example request

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

## 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",
      "HEAD",
      "DELETE"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "properties": {}
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "data",
  "sport",
  "errors",
  "league",
  "warnings",
  "request_id",
  "retrieved_at"
 ],
 "properties": {
  "data": {
   "type": "array",
   "items": {
    "type": "object",
    "required": [
     "pct",
     "team",
     "wins",
     "losses",
     "points",
     "ot_losses",
     "division_sequence",
     "conference_sequence"
    ],
    "properties": {
     "pct": {
      "type": "number"
     },
     "team": {
      "type": "object",
      "required": [
       "id",
       "city",
       "name",
       "division",
       "full_name",
       "conference",
       "abbreviation"
      ],
      "properties": {
       "id": {
        "type": "string"
       },
       "city": {
        "type": "string"
       },
       "name": {
        "type": "string"
       },
       "division": {
        "type": "string"
       },
       "full_name": {
        "type": "string"
       },
       "conference": {
        "type": "string"
       },
       "abbreviation": {
        "type": "string"
       }
      }
     },
     "wins": {
      "type": "number"
     },
     "losses": {
      "type": "number"
     },
     "points": {
      "type": "number"
     },
     "ot_losses": {
      "type": "number"
     },
     "division_sequence": {
      "type": "number"
     },
     "conference_sequence": {
      "type": "number"
     }
    }
   }
  },
  "sport": {
   "type": "string"
  },
  "errors": {
   "type": "array",
   "items": {
    "type": "unknown"
   }
  },
  "league": {
   "type": "string"
  },
  "warnings": {
   "type": "array",
   "items": {
    "type": "unknown"
   }
  },
  "request_id": {
   "type": "string"
  },
  "retrieved_at": {
   "type": "string"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/fanfare-api-fly-dev-a310e543/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from fanfare-api.fly.dev](https://www.zero.xyz/host/fanfare-api.fly.dev/llms.txt)
