{"openapi":"3.1.0","info":{"title":"Apizie","version":"2.0.0","description":"One API key, one envelope, many public data sources. Success responses include a `source` block to cite. Apizie Finance endpoints (SEC EDGAR, FRED, ECB, U.S. Treasury, GLEIF, World Bank, official:*) need a Finance plan."},"servers":[{"url":"https://apizie.tech"}],"security":[{"ApiKeyAuth":[]}],"paths":{"/v1/entertainment:sportsdata-nhl-v3-scores/teams-all":{"get":{"operationId":"entertainment_sportsdata_nhl_v3_scores_teams_all","summary":"Teams (All)","description":"GET /{format}/AllTeams","tags":["entertainment"],"x-apizie-access":"read","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-nhl-v3-scores/are-games-in-progress":{"get":{"operationId":"entertainment_sportsdata_nhl_v3_scores_are_games_in_progress","summary":"Are Games In Progress","description":"GET /{format}/AreAnyGamesInProgress","tags":["entertainment"],"x-apizie-access":"read","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-nhl-v3-scores/current-season":{"get":{"operationId":"entertainment_sportsdata_nhl_v3_scores_current_season","summary":"Current Season","description":"GET /{format}/CurrentSeason","tags":["entertainment"],"x-apizie-access":"read","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-nhl-v3-scores/player-details-by-free-agent":{"get":{"operationId":"entertainment_sportsdata_nhl_v3_scores_player_details_by_free_agent","summary":"Player Details by Free Agent","description":"GET /{format}/FreeAgents","tags":["entertainment"],"x-apizie-access":"read","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-nhl-v3-scores/schedules":{"get":{"operationId":"entertainment_sportsdata_nhl_v3_scores_schedules","summary":"Schedules","description":"GET /{format}/Games/{season}","tags":["entertainment"],"x-apizie-access":"read","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-nhl-v3-scores/games-by-date":{"get":{"operationId":"entertainment_sportsdata_nhl_v3_scores_games_by_date","summary":"Games by Date","description":"GET /{format}/GamesByDate/{date}","tags":["entertainment"],"x-apizie-access":"read","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-JAN-31 , 2017-OCT-01 .","schema":{"type":"string","description":"The date of the game(s). Examples: 2018-JAN-31 , 2017-OCT-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-nhl-v3-scores/news":{"get":{"operationId":"entertainment_sportsdata_nhl_v3_scores_news","summary":"News","description":"GET /{format}/News","tags":["entertainment"],"x-apizie-access":"read","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-nhl-v3-scores/news-by-date":{"get":{"operationId":"entertainment_sportsdata_nhl_v3_scores_news_by_date","summary":"News by Date","description":"GET /{format}/NewsByDate/{date}","tags":["entertainment"],"x-apizie-access":"read","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 news. Examples: 2018-JAN-31 , 2017-OCT-01 .","schema":{"type":"string","description":"The date of the news. Examples: 2018-JAN-31 , 2017-OCT-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-nhl-v3-scores/news-by-player":{"get":{"operationId":"entertainment_sportsdata_nhl_v3_scores_news_by_player","summary":"News by Player","description":"GET /{format}/NewsByPlayerID/{playerid}","tags":["entertainment"],"x-apizie-access":"read","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: 10000507 .","schema":{"type":"string","description":"Unique FantasyData Player ID. Example: 10000507 ."}}],"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-nhl-v3-scores/player-details-by-player":{"get":{"operationId":"entertainment_sportsdata_nhl_v3_scores_player_details_by_player","summary":"Player Details by Player","description":"GET /{format}/Player/{playerid}","tags":["entertainment"],"x-apizie-access":"read","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: 30000007 .","schema":{"type":"string","description":"Unique FantasyData Player ID. Example: 30000007 ."}}],"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-nhl-v3-scores/player-details-by-active":{"get":{"operationId":"entertainment_sportsdata_nhl_v3_scores_player_details_by_active","summary":"Player Details by Active","description":"GET /{format}/Players","tags":["entertainment"],"x-apizie-access":"read","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-nhl-v3-scores/players-by-team":{"get":{"operationId":"entertainment_sportsdata_nhl_v3_scores_players_by_team","summary":"Players by Team","description":"GET /{format}/Players/{team}","tags":["entertainment"],"x-apizie-access":"read","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-nhl-v3-scores/players-by-team-basic":{"get":{"operationId":"entertainment_sportsdata_nhl_v3_scores_players_by_team_basic","summary":"Players by Team (Basic)","description":"GET /{format}/PlayersBasic/{team}","tags":["entertainment"],"x-apizie-access":"read","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-nhl-v3-scores/schedules-basic":{"get":{"operationId":"entertainment_sportsdata_nhl_v3_scores_schedules_basic","summary":"Schedules (Basic)","description":"GET /{format}/SchedulesBasic/{season}","tags":["entertainment"],"x-apizie-access":"read","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-nhl-v3-scores/games-by-date-basic":{"get":{"operationId":"entertainment_sportsdata_nhl_v3_scores_games_by_date_basic","summary":"Games by Date (Basic)","description":"GET /{format}/ScoresBasic/{date}","tags":["entertainment"],"x-apizie-access":"read","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-JAN-31 , 2017-OCT-01 .","schema":{"type":"string","description":"The date of the game(s). Examples: 2018-JAN-31 , 2017-OCT-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-nhl-v3-scores/stadiums":{"get":{"operationId":"entertainment_sportsdata_nhl_v3_scores_stadiums","summary":"Stadiums","description":"GET /{format}/Stadiums","tags":["entertainment"],"x-apizie-access":"read","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-nhl-v3-scores/standings":{"get":{"operationId":"entertainment_sportsdata_nhl_v3_scores_standings","summary":"Standings","description":"GET /{format}/Standings/{season}","tags":["entertainment"],"x-apizie-access":"read","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. Examples: 2016 , 2017 .","schema":{"type":"string","description":"Year of the season. Examples: 2016 , 2017 ."}}],"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-nhl-v3-scores/team-game-stats-by-date":{"get":{"operationId":"entertainment_sportsdata_nhl_v3_scores_team_game_stats_by_date","summary":"Team Game Stats by Date","description":"GET /{format}/TeamGameStatsByDate/{date}","tags":["entertainment"],"x-apizie-access":"read","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-JAN-31 , 2017-OCT-01 .","schema":{"type":"string","description":"The date of the game(s). Examples: 2018-JAN-31 , 2017-OCT-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-nhl-v3-scores/team-game-logs-by-season":{"get":{"operationId":"entertainment_sportsdata_nhl_v3_scores_team_game_logs_by_season","summary":"Team Game Logs By Season","description":"GET /{format}/TeamGameStatsBySeason/{season}/{teamid}/{numberofgames}","tags":["entertainment"],"x-apizie-access":"read","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 8","schema":{"type":"string","description":"Unique ID of team. Example 8"}},{"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-nhl-v3-scores/team-season-stats":{"get":{"operationId":"entertainment_sportsdata_nhl_v3_scores_team_season_stats","summary":"Team Season Stats","description":"GET /{format}/TeamSeasonStats/{season}","tags":["entertainment"],"x-apizie-access":"read","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. Examples: 2016 , 2017 .","schema":{"type":"string","description":"Year of the season. Examples: 2016 , 2017 ."}}],"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-nhl-v3-scores/teams-active":{"get":{"operationId":"entertainment_sportsdata_nhl_v3_scores_teams_active","summary":"Teams (Active)","description":"GET /{format}/teams","tags":["entertainment"],"x-apizie-access":"read","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":"official:company"},"data":{},"source":{"type":"object","description":"Where the data came from. Cite it.","properties":{"official":{"type":"boolean"},"provider":{"type":"string","example":"SEC EDGAR"},"publisher":{"type":"string","example":"U.S. Securities and Exchange Commission"},"url":{"type":"string","format":"uri","description":"A page a person can open to check the value"},"apiUrl":{"type":"string","format":"uri","description":"The official API URL that was called (credentials removed)"},"retrievedAt":{"type":"string","format":"date-time"},"license":{"type":"string"},"licenseUrl":{"type":"string","format":"uri"},"attribution":{"type":"string"},"notice":{"type":"string"}}},"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"}}}}}}}