{
  "openapi": "3.0.1",
  "info": {
    "title": "itch.io Game Jam Calendar: .ics, Alerts, No Login",
    "description": "Get the upcoming and running game jams on itch.io as data: title, link, start, end, voting end, length, status and number joined. Also writes a calendar file (.ics) and a ready-to-paste digest, and can post only the new jams to your Discord. No login or API key.",
    "version": "0.0",
    "x-build-id": "UMw0MCdQ7b0cj6ajt"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/quiet-robots~itch-io-game-jam-calendar/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-quiet-robots-itch-io-game-jam-calendar",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor, waits for its completion, and returns Actor's dataset items in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/acts/quiet-robots~itch-io-game-jam-calendar/runs": {
      "post": {
        "operationId": "runs-sync-quiet-robots-itch-io-game-jam-calendar",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor and returns information about the initiated run in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/runsResponseSchema"
                }
              }
            }
          }
        }
      }
    },
    "/acts/quiet-robots~itch-io-game-jam-calendar/run-sync": {
      "post": {
        "operationId": "run-sync-quiet-robots-itch-io-game-jam-calendar",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor, waits for completion, and returns the OUTPUT from Key-value store in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    }
  },
  "components": {
    "schemas": {
      "inputSchema": {
        "type": "object",
        "properties": {
          "statuses": {
            "title": "Which jams",
            "type": "array",
            "description": "Pick one or more. **Upcoming** jams have not started, **running** ones are open for entries, **in voting** ones are closed and being rated, **finished** ones are the recently ended jams itch.io still lists.",
            "items": {
              "type": "string",
              "enum": [
                "upcoming",
                "running",
                "voting",
                "finished"
              ],
              "enumTitles": [
                "Upcoming",
                "Running now",
                "In voting",
                "Finished"
              ]
            },
            "default": [
              "upcoming",
              "running"
            ]
          },
          "startsWithinDays": {
            "title": "Starting within",
            "minimum": 0,
            "type": "integer",
            "description": "Only jams that start in the next N days, for example 7 for \"this week's jams\". Jams that have already started are left out. Leave empty for no limit."
          },
          "minJoined": {
            "title": "Minimum joined",
            "minimum": 0,
            "type": "integer",
            "description": "Only jams that at least this many people have joined. About 70% of listed jams have 10 or more, about 1 in 6 has 100 or more.",
            "default": 0
          },
          "featuredOnly": {
            "title": "Featured jams only",
            "type": "boolean",
            "description": "Only the handful of jams itch.io itself features at the top of its calendar.",
            "default": false
          },
          "titleContains": {
            "title": "Title contains",
            "type": "array",
            "description": "Only jams whose title contains at least one of these words or phrases, for example `godot`, `horror`, `pixel`. Capital letters don't matter. itch.io's list has titles only, so a jam's theme or rules are not searched.",
            "items": {
              "type": "string"
            }
          },
          "titleExcludes": {
            "title": "Title does not contain",
            "type": "array",
            "description": "Leave out jams whose title contains any of these words or phrases, for example `ttrpg` or `bundle`.",
            "items": {
              "type": "string"
            }
          },
          "minLengthDays": {
            "title": "Shortest length",
            "minimum": 0,
            "type": "number",
            "description": "Only jams that last at least this long. Decimals work: 0.5 is 12 hours."
          },
          "maxLengthDays": {
            "title": "Longest length",
            "minimum": 0,
            "type": "number",
            "description": "Only jams that last at most this long, for example 3 for weekend jams or 31 to drop year-long ones."
          },
          "sortBy": {
            "title": "Sort by",
            "enum": [
              "next",
              "start",
              "end",
              "votingEnd",
              "length",
              "joined"
            ],
            "type": "string",
            "description": "The order of the rows, the digest and the top-N cut below. **What happens next** puts the nearest start, deadline or end of voting first.",
            "default": "next"
          },
          "sortDirection": {
            "title": "Direction",
            "enum": [
              "asc",
              "desc"
            ],
            "type": "string",
            "description": "Ascending is soonest, shortest or smallest first. Descending is the reverse: use it with \"Number joined\" to get the biggest jams first.",
            "default": "asc"
          },
          "maxItems": {
            "title": "Maximum jams",
            "minimum": 0,
            "type": "integer",
            "description": "Stop after this many jams, counted after filtering and sorting. You pay per jam returned, so this is also your price cap. 0 or empty means no limit (itch.io lists about 600 jams at a time)."
          },
          "timeZone": {
            "title": "Time zone",
            "type": "string",
            "description": "Used for the local-time columns and the digest, as an IANA name such as `Europe/Warsaw`, `America/New_York` or `Asia/Tokyo`. The main time columns are always UTC.",
            "default": "UTC"
          },
          "onlyNew": {
            "title": "Only jams new since the last run",
            "type": "boolean",
            "description": "Return only jams that earlier runs have not returned yet, so a scheduled run works as a new-jam alert. The first run returns everything that matches; later runs only what was added. When nothing is new the run returns no rows and you pay only for the calendar check.",
            "default": false
          },
          "memoryName": {
            "title": "Memory name",
            "type": "string",
            "description": "\"Only new\" remembers which jams it has returned under this name. Give each alert with different filters its own name (for example `godot-jams`, `big-jams`) so they don't hide jams from each other. Runs with the same name share one memory.",
            "default": "default"
          },
          "discordWebhookUrl": {
            "title": "Discord webhook URL",
            "type": "string",
            "description": "Optional. Posts the digest to a channel on your own Discord server. In Discord: channel settings > Integrations > Webhooks > New Webhook > Copy Webhook URL. Stored encrypted. Nothing is posted when no jams are found."
          }
        }
      },
      "runsResponseSchema": {
        "type": "object",
        "properties": {
          "data": {
            "type": "object",
            "properties": {
              "id": {
                "type": "string"
              },
              "actId": {
                "type": "string"
              },
              "userId": {
                "type": "string"
              },
              "startedAt": {
                "type": "string",
                "format": "date-time",
                "example": "2025-01-08T00:00:00.000Z"
              },
              "finishedAt": {
                "type": "string",
                "format": "date-time",
                "example": "2025-01-08T00:00:00.000Z"
              },
              "status": {
                "type": "string",
                "example": "READY"
              },
              "meta": {
                "type": "object",
                "properties": {
                  "origin": {
                    "type": "string",
                    "example": "API"
                  },
                  "userAgent": {
                    "type": "string"
                  }
                }
              },
              "stats": {
                "type": "object",
                "properties": {
                  "inputBodyLen": {
                    "type": "integer",
                    "example": 2000
                  },
                  "rebootCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "restartCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "resurrectCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "computeUnits": {
                    "type": "integer",
                    "example": 0
                  }
                }
              },
              "options": {
                "type": "object",
                "properties": {
                  "build": {
                    "type": "string",
                    "example": "latest"
                  },
                  "timeoutSecs": {
                    "type": "integer",
                    "example": 300
                  },
                  "memoryMbytes": {
                    "type": "integer",
                    "example": 1024
                  },
                  "diskMbytes": {
                    "type": "integer",
                    "example": 2048
                  }
                }
              },
              "buildId": {
                "type": "string"
              },
              "defaultKeyValueStoreId": {
                "type": "string"
              },
              "defaultDatasetId": {
                "type": "string"
              },
              "defaultRequestQueueId": {
                "type": "string"
              },
              "buildNumber": {
                "type": "string",
                "example": "1.0.0"
              },
              "containerUrl": {
                "type": "string"
              },
              "usage": {
                "type": "object",
                "properties": {
                  "ACTOR_COMPUTE_UNITS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_WRITES": {
                    "type": "integer",
                    "example": 1
                  },
                  "KEY_VALUE_STORE_LISTS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_INTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_EXTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_SERPS": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_UNBLOCKER_UNITS": {
                    "type": "integer",
                    "example": 0
                  }
                }
              },
              "usageTotalUsd": {
                "type": "number",
                "example": 0.00005
              },
              "usageUsd": {
                "type": "object",
                "properties": {
                  "ACTOR_COMPUTE_UNITS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_WRITES": {
                    "type": "number",
                    "example": 0.00005
                  },
                  "KEY_VALUE_STORE_LISTS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_INTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_EXTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_SERPS": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_UNBLOCKER_UNITS": {
                    "type": "integer",
                    "example": 0
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}