{"openapi":"3.1.0","info":{"title":"Apizie","version":"2.0.0","description":"One API key, one envelope, many public data sources."},"servers":[{"url":"https://zieapi.vercel.app"}],"security":[{"ApiKeyAuth":[]}],"paths":{"/v1/entertainment:sportsdata-cbb-v3-scores/are-games-in-progress":{"get":{"operationId":"entertainment_sportsdata_cbb_v3_scores_are_games_in_progress","summary":"Are Games In Progress","description":"GET /{format}/AreAnyGamesInProgress","tags":["entertainment"],"parameters":[{"name":"format","in":"query","required":true,"description":"Desired response format. Valid entries are XML or JSON .","schema":{"type":"string","enum":["XML","JSON"],"default":"XML","description":"Desired response format. Valid entries are XML or JSON ."}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/entertainment:sportsdata-cbb-v3-scores/current-season":{"get":{"operationId":"entertainment_sportsdata_cbb_v3_scores_current_season","summary":"Current Season","description":"GET /{format}/CurrentSeason","tags":["entertainment"],"parameters":[{"name":"format","in":"query","required":true,"description":"Desired response format. Valid entries are XML or JSON .","schema":{"type":"string","enum":["XML","JSON"],"default":"XML","description":"Desired response format. Valid entries are XML or JSON ."}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/entertainment:sportsdata-cbb-v3-scores/schedules":{"get":{"operationId":"entertainment_sportsdata_cbb_v3_scores_schedules","summary":"Schedules","description":"GET /{format}/Games/{season}","tags":["entertainment"],"parameters":[{"name":"format","in":"query","required":true,"description":"Desired response format. Valid entries are XML or JSON .","schema":{"type":"string","enum":["XML","JSON"],"default":"XML","description":"Desired response format. Valid entries are XML or JSON ."}},{"name":"season","in":"query","required":true,"description":"Year of the season (with optional season type). Examples: 2018 , 2018PRE , 2018POST , 2018STAR , 2019 , etc.","schema":{"type":"string","description":"Year of the season (with optional season type). Examples: 2018 , 2018PRE , 2018POST , 2018STAR , 2019 , etc."}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/entertainment:sportsdata-cbb-v3-scores/games-by-date":{"get":{"operationId":"entertainment_sportsdata_cbb_v3_scores_games_by_date","summary":"Games by Date","description":"GET /{format}/GamesByDate/{date}","tags":["entertainment"],"parameters":[{"name":"format","in":"query","required":true,"description":"Desired response format. Valid entries are XML or JSON .","schema":{"type":"string","enum":["XML","JSON"],"default":"XML","description":"Desired response format. Valid entries are XML or JSON ."}},{"name":"date","in":"query","required":true,"description":"The date of the game(s). Examples: 2018-FEB-27 , 2017-DEC-01 .","schema":{"type":"string","description":"The date of the game(s). Examples: 2018-FEB-27 , 2017-DEC-01 ."}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/entertainment:sportsdata-cbb-v3-scores/injured-players":{"get":{"operationId":"entertainment_sportsdata_cbb_v3_scores_injured_players","summary":"Injured Players","description":"GET /{format}/InjuredPlayers","tags":["entertainment"],"parameters":[{"name":"format","in":"query","required":true,"description":"Desired response format. Valid entries are XML or JSON .","schema":{"type":"string","enum":["XML","JSON"],"default":"XML","description":"Desired response format. Valid entries are XML or JSON ."}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/entertainment:sportsdata-cbb-v3-scores/league-hierarchy":{"get":{"operationId":"entertainment_sportsdata_cbb_v3_scores_league_hierarchy","summary":"League Hierarchy","description":"GET /{format}/LeagueHierarchy","tags":["entertainment"],"parameters":[{"name":"format","in":"query","required":true,"description":"Desired response format. Valid entries are XML or JSON .","schema":{"type":"string","enum":["XML","JSON"],"default":"XML","description":"Desired response format. Valid entries are XML or JSON ."}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/entertainment:sportsdata-cbb-v3-scores/player-details-by-player":{"get":{"operationId":"entertainment_sportsdata_cbb_v3_scores_player_details_by_player","summary":"Player Details by Player","description":"GET /{format}/Player/{playerid}","tags":["entertainment"],"parameters":[{"name":"format","in":"query","required":true,"description":"Desired response format. Valid entries are XML or JSON .","schema":{"type":"string","enum":["XML","JSON"],"default":"XML","description":"Desired response format. Valid entries are XML or JSON ."}},{"name":"playerid","in":"query","required":true,"description":"Unique FantasyData Player ID. Example: 60003802 .","schema":{"type":"string","description":"Unique FantasyData Player ID. Example: 60003802 ."}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/entertainment:sportsdata-cbb-v3-scores/player-details-by-active":{"get":{"operationId":"entertainment_sportsdata_cbb_v3_scores_player_details_by_active","summary":"Player Details by Active","description":"GET /{format}/Players","tags":["entertainment"],"parameters":[{"name":"format","in":"query","required":true,"description":"Desired response format. Valid entries are XML or JSON .","schema":{"type":"string","enum":["XML","JSON"],"default":"XML","description":"Desired response format. Valid entries are XML or JSON ."}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/entertainment:sportsdata-cbb-v3-scores/player-details-by-team":{"get":{"operationId":"entertainment_sportsdata_cbb_v3_scores_player_details_by_team","summary":"Player Details by Team","description":"GET /{format}/Players/{team}","tags":["entertainment"],"parameters":[{"name":"format","in":"query","required":true,"description":"Desired response format. Valid entries are XML or JSON .","schema":{"type":"string","enum":["XML","JSON"],"default":"XML","description":"Desired response format. Valid entries are XML or JSON ."}},{"name":"team","in":"query","required":true,"description":"The abbreviation of the requested team. Examples: SF , NYY .","schema":{"type":"string","description":"The abbreviation of the requested team. Examples: SF , NYY ."}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/entertainment:sportsdata-cbb-v3-scores/players-by-team-basic":{"get":{"operationId":"entertainment_sportsdata_cbb_v3_scores_players_by_team_basic","summary":"Players by Team (Basic)","description":"GET /{format}/PlayersBasic/{team}","tags":["entertainment"],"parameters":[{"name":"format","in":"query","required":true,"description":"Desired response format. Valid entries are XML or JSON .","schema":{"type":"string","enum":["XML","JSON"],"default":"XML","description":"Desired response format. Valid entries are XML or JSON ."}},{"name":"team","in":"query","required":true,"description":"The abbreviation of the requested team. Examples: SF , NYY .","schema":{"type":"string","description":"The abbreviation of the requested team. Examples: SF , NYY ."}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/entertainment:sportsdata-cbb-v3-scores/schedules-basic":{"get":{"operationId":"entertainment_sportsdata_cbb_v3_scores_schedules_basic","summary":"Schedules (Basic)","description":"GET /{format}/SchedulesBasic/{season}","tags":["entertainment"],"parameters":[{"name":"format","in":"query","required":true,"description":"Desired response format. Valid entries are XML or JSON .","schema":{"type":"string","enum":["XML","JSON"],"default":"XML","description":"Desired response format. Valid entries are XML or JSON ."}},{"name":"season","in":"query","required":true,"description":"Year of the season (with optional season type). Examples: 2018 , 2018PRE , 2018POST , 2018STAR , 2019 , etc.","schema":{"type":"string","description":"Year of the season (with optional season type). Examples: 2018 , 2018PRE , 2018POST , 2018STAR , 2019 , etc."}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/entertainment:sportsdata-cbb-v3-scores/games-by-date-basic":{"get":{"operationId":"entertainment_sportsdata_cbb_v3_scores_games_by_date_basic","summary":"Games by Date (Basic)","description":"GET /{format}/ScoresBasic/{date}","tags":["entertainment"],"parameters":[{"name":"format","in":"query","required":true,"description":"Desired response format. Valid entries are XML or JSON .","schema":{"type":"string","enum":["XML","JSON"],"default":"XML","description":"Desired response format. Valid entries are XML or JSON ."}},{"name":"date","in":"query","required":true,"description":"The date of the game(s). Examples: 2018-FEB-27 , 2017-DEC-01 .","schema":{"type":"string","description":"The date of the game(s). Examples: 2018-FEB-27 , 2017-DEC-01 ."}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/entertainment:sportsdata-cbb-v3-scores/stadiums":{"get":{"operationId":"entertainment_sportsdata_cbb_v3_scores_stadiums","summary":"Stadiums","description":"GET /{format}/Stadiums","tags":["entertainment"],"parameters":[{"name":"format","in":"query","required":true,"description":"Desired response format. Valid entries are XML or JSON .","schema":{"type":"string","enum":["XML","JSON"],"default":"XML","description":"Desired response format. Valid entries are XML or JSON ."}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/entertainment:sportsdata-cbb-v3-scores/team-game-stats-by-date":{"get":{"operationId":"entertainment_sportsdata_cbb_v3_scores_team_game_stats_by_date","summary":"Team Game Stats by Date","description":"GET /{format}/TeamGameStatsByDate/{date}","tags":["entertainment"],"parameters":[{"name":"format","in":"query","required":true,"description":"Desired response format. Valid entries are XML or JSON .","schema":{"type":"string","enum":["XML","JSON"],"default":"XML","description":"Desired response format. Valid entries are XML or JSON ."}},{"name":"date","in":"query","required":true,"description":"The date of the game(s). Examples: 2018-FEB-27 , 2017-DEC-01 .","schema":{"type":"string","description":"The date of the game(s). Examples: 2018-FEB-27 , 2017-DEC-01 ."}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/entertainment:sportsdata-cbb-v3-scores/team-game-logs-by-season":{"get":{"operationId":"entertainment_sportsdata_cbb_v3_scores_team_game_logs_by_season","summary":"Team Game Logs By Season","description":"GET /{format}/TeamGameStatsBySeason/{season}/{teamid}/{numberofgames}","tags":["entertainment"],"parameters":[{"name":"format","in":"query","required":true,"description":"Desired response format. Valid entries are XML or JSON .","schema":{"type":"string","enum":["XML","JSON"],"default":"XML","description":"Desired response format. Valid entries are XML or JSON ."}},{"name":"season","in":"query","required":true,"description":"Season to get games from. Example 2019POST , 2020","schema":{"type":"string","description":"Season to get games from. Example 2019POST , 2020"}},{"name":"teamid","in":"query","required":true,"description":"Unique ID of team. Example 1","schema":{"type":"string","description":"Unique ID of team. Example 1"}},{"name":"numberofgames","in":"query","required":true,"description":"How many games to return. Example all , 10 , 25","schema":{"type":"string","description":"How many games to return. Example all , 10 , 25"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/entertainment:sportsdata-cbb-v3-scores/team-schedule":{"get":{"operationId":"entertainment_sportsdata_cbb_v3_scores_team_schedule","summary":"Team Schedule","description":"GET /{format}/TeamSchedule/{season}/{team}","tags":["entertainment"],"parameters":[{"name":"format","in":"query","required":true,"description":"Desired response format. Valid entries are XML or JSON .","schema":{"type":"string","enum":["XML","JSON"],"default":"XML","description":"Desired response format. Valid entries are XML or JSON ."}},{"name":"season","in":"query","required":true,"description":"Year of the season (with optional season type). Examples: 2018 , 2018PRE , 2018POST , 2018STAR , 2019 , etc.","schema":{"type":"string","description":"Year of the season (with optional season type). Examples: 2018 , 2018PRE , 2018POST , 2018STAR , 2019 , etc."}},{"name":"team","in":"query","required":true,"description":"The abbreviation of the requested team. Examples: SF , NYY .","schema":{"type":"string","description":"The abbreviation of the requested team. Examples: SF , NYY ."}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/entertainment:sportsdata-cbb-v3-scores/team-season-stats":{"get":{"operationId":"entertainment_sportsdata_cbb_v3_scores_team_season_stats","summary":"Team Season Stats","description":"GET /{format}/TeamSeasonStats/{season}","tags":["entertainment"],"parameters":[{"name":"format","in":"query","required":true,"description":"Desired response format. Valid entries are XML or JSON .","schema":{"type":"string","enum":["XML","JSON"],"default":"XML","description":"Desired response format. Valid entries are XML or JSON ."}},{"name":"season","in":"query","required":true,"description":"Year of the season (with optional season type). Examples: 2018 , 2018POST , 2019 .","schema":{"type":"string","description":"Year of the season (with optional season type). Examples: 2018 , 2018POST , 2019 ."}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/entertainment:sportsdata-cbb-v3-scores/teams-basic":{"get":{"operationId":"entertainment_sportsdata_cbb_v3_scores_teams_basic","summary":"Teams (Basic)","description":"GET /{format}/TeamsBasic","tags":["entertainment"],"parameters":[{"name":"format","in":"query","required":true,"description":"Desired response format. Valid entries are XML or JSON .","schema":{"type":"string","enum":["XML","JSON"],"default":"XML","description":"Desired response format. Valid entries are XML or JSON ."}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/entertainment:sportsdata-cbb-v3-scores/tournament-hierarchy":{"get":{"operationId":"entertainment_sportsdata_cbb_v3_scores_tournament_hierarchy","summary":"Tournament Hierarchy","description":"GET /{format}/Tournament/{season}","tags":["entertainment"],"parameters":[{"name":"format","in":"query","required":true,"description":"Desired response format. Valid entries are XML or JSON .","schema":{"type":"string","enum":["XML","JSON"],"default":"XML","description":"Desired response format. Valid entries are XML or JSON ."}},{"name":"season","in":"query","required":true,"description":"Year of the season (with optional season type). Examples: 2018 , 2018POST , 2019 .","schema":{"type":"string","description":"Year of the season (with optional season type). Examples: 2018 , 2018POST , 2019 ."}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/entertainment:sportsdata-cbb-v3-scores/teams":{"get":{"operationId":"entertainment_sportsdata_cbb_v3_scores_teams","summary":"Teams","description":"GET /{format}/teams","tags":["entertainment"],"parameters":[{"name":"format","in":"query","required":true,"description":"Desired response format. Valid entries are XML or JSON .","schema":{"type":"string","enum":["XML","JSON"],"default":"XML","description":"Desired response format. Valid entries are XML or JSON ."}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}}},"components":{"securitySchemes":{"ApiKeyAuth":{"type":"apiKey","in":"header","name":"x-api-key"}},"schemas":{"RunEnvelope":{"type":"object","required":["project","data","timestamp"],"properties":{"project":{"type":"string","example":"dev-tools:hash"},"data":{},"timestamp":{"type":"string","format":"date-time"}}},"ErrorEnvelope":{"type":"object","properties":{"content":{},"message":{"type":"string"},"errors":{"type":"array","items":{}},"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}}}}}},"responses":{"Error":{"description":"Invalid key, plan gate, rate limit or upstream failure","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}}}}