{
  "openapi": "3.0.1",
  "info": {
    "title": "Modrinth Mods Scraper",
    "description": "Search the Modrinth catalog of Minecraft mods, modpacks, resource packs, shaders, plugins and data packs. Returns slugs, authors, downloads, follows, supported versions, mod loaders, license, gallery and more.",
    "version": "0.1",
    "x-build-id": "PHRimyULYIie0sSkO"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/parseforge~modrinth-mods-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-parseforge-modrinth-mods-scraper",
        "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/parseforge~modrinth-mods-scraper/runs": {
      "post": {
        "operationId": "runs-sync-parseforge-modrinth-mods-scraper",
        "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/parseforge~modrinth-mods-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-parseforge-modrinth-mods-scraper",
        "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": {
          "searchQuery": {
            "title": "Search Query",
            "type": "string",
            "description": "Free-text search across mod titles, descriptions and slugs (e.g. \"sodium\", \"jei\", \"create\"). Leave empty to browse all mods."
          },
          "maxItems": {
            "title": "Max Items",
            "minimum": 1,
            "maximum": 1000000,
            "type": "integer",
            "description": "Free users: Limited to 10 items (preview). Paid users: Optional, max 1,000,000."
          },
          "sortBy": {
            "title": "Sort By",
            "enum": [
              "relevance",
              "downloads",
              "follows",
              "newest",
              "updated"
            ],
            "type": "string",
            "description": "How to order results.",
            "default": "relevance"
          },
          "categories": {
            "title": "Categories",
            "uniqueItems": true,
            "type": "array",
            "description": "Filter by mod categories. Multiple values combine with AND.",
            "items": {
              "type": "string",
              "enum": [
                "adventure",
                "cursed",
                "decoration",
                "economy",
                "equipment",
                "food",
                "game-mechanics",
                "library",
                "magic",
                "management",
                "minigame",
                "mobs",
                "optimization",
                "social",
                "storage",
                "technology",
                "transportation",
                "utility",
                "worldgen"
              ],
              "enumTitles": [
                "Adventure",
                "Cursed",
                "Decoration",
                "Economy",
                "Equipment",
                "Food",
                "Game Mechanics",
                "Library",
                "Magic",
                "Management",
                "Minigame",
                "Mobs",
                "Optimization",
                "Social",
                "Storage",
                "Technology",
                "Transportation",
                "Utility",
                "World Generation"
              ]
            }
          },
          "loaders": {
            "title": "Mod Loaders",
            "uniqueItems": true,
            "type": "array",
            "description": "Filter by mod loader (Fabric, Forge, NeoForge, Quilt, etc.). Multiple values combine with OR.",
            "items": {
              "type": "string",
              "enum": [
                "babric",
                "bta-babric",
                "bukkit",
                "bungeecord",
                "datapack",
                "fabric",
                "folia",
                "forge",
                "geyser",
                "java-agent",
                "legacy-fabric",
                "liteloader",
                "modloader",
                "neoforge",
                "nilloader",
                "ornithe",
                "paper",
                "purpur",
                "quilt",
                "rift",
                "spigot",
                "sponge",
                "velocity",
                "waterfall"
              ],
              "enumTitles": [
                "Babric",
                "BTA-Babric",
                "Bukkit",
                "BungeeCord",
                "Datapack",
                "Fabric",
                "Folia",
                "Forge",
                "Geyser",
                "Java Agent",
                "Legacy Fabric",
                "LiteLoader",
                "ModLoader",
                "NeoForge",
                "NilLoader",
                "Ornithe",
                "Paper",
                "Purpur",
                "Quilt",
                "Rift",
                "Spigot",
                "Sponge",
                "Velocity",
                "Waterfall"
              ]
            }
          },
          "gameVersions": {
            "title": "Minecraft Versions",
            "uniqueItems": true,
            "type": "array",
            "description": "Filter by supported Minecraft release version (e.g. 1.21.4, 1.20.1). Multiple values combine with OR.",
            "items": {
              "type": "string",
              "enum": [
                "26.1.2",
                "26.1.1",
                "26.1",
                "1.21.11",
                "1.21.10",
                "1.21.9",
                "1.21.8",
                "1.21.7",
                "1.21.6",
                "1.21.5",
                "1.21.4",
                "1.21.3",
                "1.21.2",
                "1.21.1",
                "1.21",
                "1.20.6",
                "1.20.5",
                "1.20.4",
                "1.20.3",
                "1.20.2",
                "1.20.1",
                "1.20",
                "1.19.4",
                "1.19.3",
                "1.19.2",
                "1.19.1",
                "1.19",
                "1.18.2",
                "1.18.1",
                "1.18",
                "1.17.1",
                "1.17",
                "1.16.5",
                "1.16.4",
                "1.16.3",
                "1.16.2",
                "1.16.1",
                "1.16",
                "1.15.2",
                "1.15.1",
                "1.15",
                "1.14.4",
                "1.14.3",
                "1.14.2",
                "1.14.1",
                "1.14",
                "1.13.2",
                "1.13.1",
                "1.13",
                "1.12.2",
                "1.12.1",
                "1.12",
                "1.11.2",
                "1.11.1",
                "1.11",
                "1.10.2",
                "1.10.1",
                "1.10",
                "1.9.4",
                "1.9.3",
                "1.9.2",
                "1.9.1",
                "1.9",
                "1.8.9",
                "1.8.8",
                "1.8.7",
                "1.8.6",
                "1.8.5",
                "1.8.4",
                "1.8.3",
                "1.8.2",
                "1.8.1",
                "1.8",
                "1.7.10",
                "1.7.9",
                "1.7.8",
                "1.7.7",
                "1.7.6",
                "1.7.5",
                "1.7.4",
                "1.7.3",
                "1.7.2",
                "1.6.4",
                "1.6.2",
                "1.6.1",
                "1.5.2",
                "1.5.1",
                "1.4.7",
                "1.4.6",
                "1.4.5",
                "1.4.4",
                "1.4.2",
                "1.3.2",
                "1.3.1",
                "1.2.5",
                "1.2.4",
                "1.2.3",
                "1.2.2",
                "1.2.1",
                "1.1",
                "1.0"
              ]
            }
          }
        }
      },
      "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
                  }
                }
              },
              "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}