{
  "openapi": "3.0.1",
  "info": {
    "title": "Fortnite Creative Island Stats – Players, CCU & History",
    "description": "Fortnite Creative & UEFN island stats from the official public Fortnite Data API: peak CCU, plays, unique players, minutes played, favorites, retention and genre rank. Islands by code or top N per genre, with long-term history beyond 7 days.",
    "version": "1.0",
    "x-build-id": "6YMaWNfWcz8Wd3Hpg"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/benelux-signals~fortnite-creative-islands-stats/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-benelux-signals-fortnite-creative-islands-stats",
        "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/benelux-signals~fortnite-creative-islands-stats/runs": {
      "post": {
        "operationId": "runs-sync-benelux-signals-fortnite-creative-islands-stats",
        "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/benelux-signals~fortnite-creative-islands-stats/run-sync": {
      "post": {
        "operationId": "run-sync-benelux-signals-fortnite-creative-islands-stats",
        "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": {
          "islandCodes": {
            "title": "Island codes",
            "type": "array",
            "description": "Fortnite island codes (e.g. 3225-0366-8885) or island URLs. Combine with genres if you like.",
            "items": {
              "type": "string"
            }
          },
          "genres": {
            "title": "Top islands per genre",
            "type": "array",
            "description": "Take the top islands from Epic's official genre leaderboards.",
            "items": {
              "type": "string",
              "enum": [
                "survival",
                "strategy",
                "sports-racing",
                "simulation-tycoon",
                "shooter",
                "roleplaying-social",
                "roguelike",
                "party-mini-games",
                "music-rhythm",
                "horror",
                "deathrun-platformer",
                "battle-royale",
                "adventure-rpg"
              ]
            }
          },
          "topPerGenre": {
            "title": "Islands per genre",
            "minimum": 1,
            "maximum": 1000,
            "type": "integer",
            "description": "How many top-ranked islands to take from each selected genre.",
            "default": 25
          },
          "interval": {
            "title": "Metric interval",
            "enum": [
              "day",
              "hour",
              "minute"
            ],
            "type": "string",
            "description": "Bucket size of the metrics. 'Latest' values are the most recent bucket with data.",
            "default": "day"
          },
          "includeSeries": {
            "title": "Include full time series",
            "type": "boolean",
            "description": "Add the raw per-bucket series of every metric to each row.",
            "default": false
          },
          "includeRankings": {
            "title": "Include genre ranks",
            "type": "boolean",
            "description": "Add the island's current rank in each genre (one extra API call per island).",
            "default": true
          },
          "keepHistory": {
            "title": "Keep long-term history",
            "type": "boolean",
            "description": "Store daily metrics in a named key-value store so history grows beyond the API's 7-day window. Schedule the Actor daily or weekly.",
            "default": false
          },
          "historyKey": {
            "title": "History key",
            "type": "string",
            "description": "Name of your history set (letters, digits, - and _). Use different keys for different watchlists.",
            "default": "default"
          },
          "includeHistory": {
            "title": "Output stored history",
            "type": "boolean",
            "description": "Add the full stored daily history (up to 730 days) to each row. Requires 'Keep long-term history'.",
            "default": false
          },
          "skipEmpty": {
            "title": "Skip islands without data",
            "type": "boolean",
            "description": "Skip islands with fewer than 5 players (API returns no metrics). Skipped islands are not charged.",
            "default": false
          },
          "maxResults": {
            "title": "Max islands",
            "minimum": 1,
            "maximum": 20000,
            "type": "integer",
            "description": "Upper limit of islands per run.",
            "default": 200
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}