knhb-hockey
Query Dutch field hockey match schedules and results from KNHB Match Center (hockeyweerelt.nl).
Installation
npx clawhub@latest install knhb-hockeyView the full skill documentation and source below.
Documentation
KNHB Hockey Match Center
Query the Dutch Hockey Federation (KNHB) Match Center API for clubs, teams, and matches.
API Base URL
Endpoints
List all clubs
curl -s "" | jq '.data[]'
Response includes: id, name, abbreviation, city, district.name, logo, hockey_types[]
Search clubs by name or city
curl -s "" | jq '.data[] | select(.name | test("Westland"; "i"))'
curl -s "" | jq '.data[] | select(.city | test("Delft"; "i"))'
List teams for a club
curl -s "" | jq '.data[]'
Response includes: id, name, short_name, type (Veld/Zaal), category_group, category_name, next_match_date
Get upcoming matches for a team
curl -s "" | jq '.data[]'
Get official (played) matches for a team
curl -s "" | jq '.data[]'
Match response includes:
datetime— ISO 8601 format (UTC)location.city,location.street,location.descriptionhome_team.name,home_team.club_nameaway_team.name,away_team.club_namehome_score,away_score— null for upcoming matchescompetition,poule,status,field
Common Queries
Find a club and list its teams
# Find club ID
CLUB_ID=$(curl -s "" | jq -r '.data[] | select(.name | test("Westland"; "i")) | .id' | head -1)
# List teams
curl -s "" | jq -r '.data[] | "\(.id) \(.name) (\(.type)) - next: \(.next_match_date)"'
Get next match for a specific team
curl -s "" | jq '.data[0] | {
date: .datetime,
home: .home_team.name,
away: .away_team.name,
location: .location.city,
field: .field
}'
Format match schedule nicely
curl -s "" | jq -r '.data[] | "\(.datetime | split("T")[0]) \(.datetime | split("T")[1] | split(".")[0] | .[0:5]) - \(.home_team.name) vs \(.away_team.name) @ \(.location.city)"'
Team Categories
- Senioren: Adult teams (H1, D1, etc.)
- Junioren: U18-U21
- Jongste Jeugd: Youth teams (MO/JO prefixes)
Notes
- Datetime is in UTC — add 1 hour for Amsterdam winter time (CET), 2 hours for summer (CEST)
- Use
datecommand or proper date library to convert and get correct day of week type: "Veld"= outdoor field hockey,type: "Zaal"= indoor hockey- Teams have separate IDs for Veld and Zaal — always query both to get complete schedule
- Veld season: ~Sep-Jun (outdoor), Zaal season: ~Nov-Mar (indoor)