{"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/games:cheapshark/deals":{"get":{"operationId":"games_cheapshark_deals","summary":"Deals","description":"Current game deals, optionally filtered by store, title or max price.","tags":["games"],"parameters":[{"name":"storeID","in":"query","required":false,"description":"Store id (see stores endpoint); 1 = Steam","schema":{"type":"string","description":"Store id (see stores endpoint); 1 = Steam"},"example":"1"},{"name":"upperPrice","in":"query","required":false,"schema":{"type":"number","minimum":0}},{"name":"limit","in":"query","required":false,"description":"Items per page","schema":{"type":"integer","default":20,"minimum":1,"maximum":60,"description":"Items per page"}},{"name":"title","in":"query","required":false,"schema":{"type":"string"}},{"name":"page","in":"query","required":false,"schema":{"type":"integer","default":1,"minimum":1,"maximum":50}}],"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":900,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"live"}},"/v1/games:cheapshark/games":{"get":{"operationId":"games_cheapshark_games","summary":"Search Games","description":"Find games by title with their cheapest known price.","tags":["games"],"parameters":[{"name":"title","in":"query","required":true,"schema":{"type":"string"},"example":"batman"},{"name":"limit","in":"query","required":false,"description":"Items per page","schema":{"type":"integer","default":20,"minimum":1,"maximum":60,"description":"Items per page"}}],"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":900,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"live"}},"/v1/games:cheapshark/stores":{"get":{"operationId":"games_cheapshark_stores","summary":"Stores","description":"Stores tracked by CheapShark.","tags":["games"],"parameters":[],"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":86400,"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"}}}}}}}