{
  "openapi": "3.0.1",
  "info": {
    "title": "Discord Profiles Scraper | Users, Badges and Server Tags",
    "description": "Discord profiles scraper: find the people behind public Discord servers from one keyword. Get username, display name, avatar, banner, badges, server tag, account creation date and the server they invite to, with its member count. 10 profiles in 26 seconds, 26 fields each. No Discord account needed.",
    "version": "1.0",
    "x-build-id": "bFmSEhOSaTDb0ZjAa"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/silentflow~discord-profiles-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-silentflow-discord-profiles-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/silentflow~discord-profiles-scraper/runs": {
      "post": {
        "operationId": "runs-sync-silentflow-discord-profiles-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/silentflow~discord-profiles-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-silentflow-discord-profiles-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": {
          "keywords": {
            "title": "🔎 Search keywords",
            "type": "array",
            "description": "Topics to find servers about: <code>minecraft</code>, <code>valorant</code>, <code>python</code>, <code>crypto</code>. Each keyword is searched in Discord's server directory, then in servers similar to the ones found whose name or description carries the word, and every person who created one of their invite links becomes a row. Big servers use a custom link that names nobody, so the rows lean towards small and mid-size communities.",
            "items": {
              "type": "string"
            }
          },
          "startUrls": {
            "title": "🔗 Invite links or server pages",
            "type": "array",
            "description": "Who created this invite? One row per invite link (<code>https://discord.gg/abc123</code>, <code>discord.com/invite/abc123</code>, or the bare code <code>abc123</code>), whoever made it, person or bot. Also accepts a server page from Discord's directory (<code>https://discord.com/servers/name-123456789012345678</code>) or from GuildSeek (<code>https://guildseek.com/server/name</code>, <code>https://guildseek.com/servers/programming/page/1</code>). A custom link such as <code>discord.gg/python</code> names no creator and an expired invite names nobody: both give no row and are counted in the run log.",
            "items": {
              "type": "string"
            }
          },
          "serverIds": {
            "title": "🆔 Server IDs",
            "type": "array",
            "description": "Discord server IDs (17 to 20 digits, <code>254530689225981953</code>): one row for the person who created the server's public invite link. A server that is not listed, or whose public link is a custom one or was made by a bot, gives no row.",
            "items": {
              "type": "string"
            }
          },
          "category": {
            "title": "📂 Category",
            "enum": [
              "",
              "ai",
              "anime",
              "art",
              "beliefs",
              "bot",
              "business",
              "community",
              "crypto",
              "dating",
              "design",
              "education",
              "emoji",
              "entertainment",
              "esports",
              "fashion",
              "financial",
              "fitness",
              "food",
              "furry",
              "gaming",
              "giveaways",
              "growth",
              "health",
              "hobbies",
              "investing",
              "kpop",
              "language",
              "lgbtq",
              "manga",
              "memes",
              "military",
              "movies",
              "music",
              "pc",
              "political",
              "programming",
              "roleplay",
              "science",
              "social",
              "streaming",
              "support",
              "technology",
              "tournaments",
              "trading",
              "travel",
              "writing",
              "youtuber"
            ],
            "type": "string",
            "description": "Read every listed server of one category, up to 480 servers, and return the people who created their invites. Pick <b>None</b> to only use keywords, links and IDs; with nothing else filled in, the run reads up to 480 listed servers of every category. Categories such as <b>Programming</b> or <b>Gaming</b> return a person for most servers; categories whose servers were added recently return fewer, as their links were created by a listing bot.",
            "default": ""
          },
          "maxItems": {
            "title": "🔢 Max profiles",
            "minimum": 1,
            "type": "integer",
            "description": "Stop after this many profiles. Each person is delivered once, even if they created invites for several servers. In our tests, 10 profiles came back in about 35 seconds and 100 in about four and a half minutes, as about half of the servers checked show an invite made by a person. Set it to what you need, the cost grows with it.",
            "default": 100
          },
          "debugMode": {
            "title": "🐞 Debug mode",
            "type": "boolean",
            "description": "Write detailed logs of every request and connection change.",
            "default": false
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}