{"openapi":"3.0.0","info":{"title":"Brawl Tracker API","description":"API for searching Brawl Stars players, retrieving profiles, and inspecting brawlers.","version":"1.0.2"},"servers":[{"url":"https://brawltrack.app"}],"paths":{"/api/brawlers":{"get":{"summary":"Get all brawlers","description":"Returns the catalog of all brawlers with statistics and info.","responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"array","items":{"type":"object","properties":{"id":{"type":"number"},"name":{"type":"string"}}}}}}}}}},"/api/player/{tag}":{"get":{"summary":"Get player profile","description":"Returns profile details and battle statistics for the specified player tag.","parameters":[{"name":"tag","in":"path","required":true,"description":"Brawl Stars player tag (without #)","schema":{"type":"string"}}],"responses":{"200":{"description":"Successful response"},"404":{"description":"Player not found"}}}},"/api/search/players":{"get":{"summary":"Search players","description":"Search players by query term.","parameters":[{"name":"q","in":"query","required":true,"description":"Search query (name or tag)","schema":{"type":"string"}}],"responses":{"200":{"description":"Successful response"}}}},"/api/status":{"get":{"summary":"API Status","description":"Checks the health and status of the Brawl Tracker API.","responses":{"200":{"description":"API is healthy","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"string","example":"ok"}}}}}}}}}}}