{"openapi":"3.0.3","info":{"title":"Manx Teams API","version":"1.0.0","description":"Public, read-only data about the teams, clubs and groups on the Isle of Man, from manxteams.com. No key needed. CC BY 4.0: credit \"Manx Teams (manxteams.com)\". No contact details are ever returned.","contact":{"name":"Manx Teams","url":"https://manxteams.com/about.html"},"license":{"name":"CC BY 4.0","url":"https://creativecommons.org/licenses/by/4.0/"}},"servers":[{"url":"https://manxteams.com"}],"paths":{"/api/teams.json":{"get":{"summary":"List teams, optionally filtered","parameters":[{"name":"category","in":"query","required":false,"schema":{"type":"string","enum":["sport","faith","arts","service","interest","outdoors","wellbeing","learning","community","youth","business"]},"description":"A category slug"},{"name":"type","in":"query","required":false,"schema":{"type":"string"},"description":"A type slug within a category, e.g. choir, football, chess"},{"name":"town","in":"query","required":false,"schema":{"type":"string"},"description":"A town or village by name or slug, e.g. Peel, port-erin, Online"},{"name":"area","in":"query","required":false,"schema":{"type":"string","enum":["north","south","east","west","online"]},"description":"A part of the island"},{"name":"who","in":"query","required":false,"schema":{"type":"string","enum":["everyone","adults","juniors","families","over-50s","men","women","accessible"]},"description":"Who the team is for"},{"name":"accepting","in":"query","required":false,"schema":{"type":"boolean"},"description":"Only teams taking new members (1 or true)"},{"name":"near","in":"query","required":false,"schema":{"type":"string"},"description":"lat,lng on or near the Isle of Man, rounded to 2 decimal places: only pinned teams within km of this point, nearest first"},{"name":"km","in":"query","required":false,"schema":{"type":"number","default":10,"maximum":100},"description":"The radius for near, in kilometres, rounded up to the next of 1, 2, 5, 10, 20, 50, 100"},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","default":200,"maximum":1000},"description":"At most this many teams, rounded up to the next of 1, 5, 10, 20, 50, 100, 200, 500, 1000"}],"responses":{"200":{"description":"Teams","content":{"application/json":{"schema":{"type":"object","properties":{"ok":{"type":"boolean"},"asAt":{"type":"string"},"count":{"type":"integer","description":"Teams matching, before limit"},"licence":{"type":"string"},"attribution":{"type":"string"},"source":{"type":"string"},"teams":{"type":"array","items":{"type":"object","properties":{"slug":{"type":"string"},"name":{"type":"string"},"url":{"type":"string"},"category":{"type":"string","enum":["sport","faith","arts","service","interest","outdoors","wellbeing","learning","community","youth","business"]},"types":{"type":"array","items":{"type":"string"}},"typeOther":{"type":"string","nullable":true},"who":{"type":"array","items":{"type":"string"}},"town":{"type":"string"},"area":{"type":"string","enum":["north","south","east","west","online"]},"venue":{"type":"string","nullable":true},"days":{"type":"array","items":{"type":"string"}},"when":{"type":"string","nullable":true},"cost":{"type":"string","nullable":true},"costNote":{"type":"string","nullable":true},"accepting":{"type":"boolean"},"status":{"type":"string","enum":["active","dormant"]},"beginnersWelcome":{"type":"boolean"},"dropInsWelcome":{"type":"boolean"},"website":{"type":"string","nullable":true},"story":{"type":"string","nullable":true},"lat":{"type":"number","nullable":true},"lng":{"type":"number","nullable":true},"lastVerified":{"type":"string","nullable":true},"confirmedByTeam":{"type":"boolean","description":"Whether the team itself confirmed the listing on lastVerified (false: checked by the site, or never)"},"updated":{"type":"string","nullable":true},"partOf":{"type":"array","description":"The organisations the team is part of","items":{"type":"object","properties":{"slug":{"type":"string"},"name":{"type":"string"}}}},"km":{"type":"number","description":"Distance from near, in kilometres (only when near is given)"}}}}}}}}},"400":{"description":"A parameter this API does not know the value of"}}}},"/api/teams.geojson":{"get":{"summary":"Every pinned team as a GeoJSON FeatureCollection","responses":{"200":{"description":"FeatureCollection"}}}},"/llms.txt":{"get":{"summary":"A plain-text guide to the site for assistants","responses":{"200":{"description":"text/plain"}}}}}}