{"openapi":"3.1.0","info":{"title":"Apizie","version":"2.0.0","description":"One API key, one envelope, many public data sources."},"servers":[{"url":"https://apizie.tech"}],"security":[{"ApiKeyAuth":[]}],"paths":{"/v1/entertainment:openligadb/current-matches":{"get":{"operationId":"entertainment_openligadb_current_matches","summary":"Current matchday","description":"Matches of the current matchday for a league.","tags":["entertainment"],"parameters":[{"name":"league","in":"query","required":false,"description":"League shortcut, e.g. bl1, bl2, dfb","schema":{"type":"string","default":"bl1","description":"League shortcut, e.g. bl1, bl2, dfb"}}],"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":300,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"live"}},"/v1/entertainment:openligadb/season-matches":{"get":{"operationId":"entertainment_openligadb_season_matches","summary":"Season matches","description":"All matches of a season.","tags":["entertainment"],"parameters":[{"name":"league","in":"query","required":false,"schema":{"type":"string","default":"bl1"}},{"name":"season","in":"query","required":true,"schema":{"type":"integer"},"example":2025}],"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":1800,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"live"}},"/v1/entertainment:openligadb/table":{"get":{"operationId":"entertainment_openligadb_table","summary":"League table","description":"Standings for a league and season.","tags":["entertainment"],"parameters":[{"name":"league","in":"query","required":false,"schema":{"type":"string","default":"bl1"}},{"name":"season","in":"query","required":true,"schema":{"type":"integer"},"example":2025}],"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":1800,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"live"}}},"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"}}}}}}}