Club and store detail carry page_intro: the listing page's opening description (who the organization is, where, its current memberships and leagues, and what the page shows), built from the listing's facts, at most 60 words.
Club and store detail carry affiliations: current memberships (state associations) and leagues, each with the date it was seen in that organization's own directory.
2026-10-25: MCP server 1.0.1 and privacy
serverInfo now carries the registry name com.hattricklocal/directory, the same as the server card. The title stays Hat Trick Local Directory.
A tool call with an argument the tool does not take is a tool error that names the arguments it does take. It used to be ignored with a warning.
The server card lists a 512 px PNG icon, and the OpenAPI description carries x-logo.
The privacy policy has a section on the API, the MCP server and agents: https://hattricklocal.com/privacy#public-api.
2026-10-22: Last-Modified
Every answer carries Last-Modified, the second its content was first served at that address; send If-Modified-Since for a 304. If-None-Match takes precedence when both are sent.
The ETag now changes only when the data does, not with every five-minute refresh, so If-None-Match gets a 304 across refreshes.
2026-10-22: Change feed and status
/api/public/v1/changes lists what changed since a time, oldest first: listings and season records added, changed or removed, and registration windows opened. Removal events carry identifiers only.
/api/public/v1/status says whether the directory is on, what it holds, and when its nightly jobs last ran.
2026-10-22: MCP server
https://hattricklocal.com/mcp: an MCP server for agents (Streamable HTTP; protocol 2026-07-28 and the earlier initialize-based versions) with eight read-only tools over the same data as this API.
Its server card is at https://hattricklocal.com/mcp/server-card, listed in /.well-known/ai-catalog.json and /.well-known/api-catalog.
2026-10-21: Action links
/go/claim, /go/correction and /go/shop open the right page for a person, filled in. Opening one changes nothing.
Club and store answers list them under actions, and carry shop_url (clubs) and claim_url (stores). claim_url now uses the permanent key.
2026-10-21: OpenAPI, developer pages and Markdown copies
The OpenAPI 3.1 description is published at /api/public/openapi.json.
Directory pages link their JSON, CSV and Markdown copies; append .md to a club, store, state, city or answer page address.
Search engines and agents may read only the public read API and its description.
2026-10-21: Public read API v1
Clubs, stores, season records, registration windows and domain advisories, as JSON or CSV, with paging, ETags and the IETF rate-limit headers.
The older feeds (/api/public/clubs, /api/public/directory/season-records and /api/public/directory/domain-advisories) were retired. They answer 410 Gone and name their v1 replacement.