{
  "openapi": "3.0.1",
  "info": {
    "title": "Sherlock Username Search — OSINT on 480+ Sites",
    "description": "Search a username across Sherlock's catalog of 480+ sites in social, developer, gaming, forum, media and business categories, with optional NSFW sites. Returns public profile URLs with claimed, available or unknown status, per username or as one flat row per matched site. Flat price per username.",
    "version": "0.9",
    "x-build-id": "0MDfhSogD8lEfV6it"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/khadinakbar~username-osint-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-khadinakbar-username-osint-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/khadinakbar~username-osint-scraper/runs": {
      "post": {
        "operationId": "runs-sync-khadinakbar-username-osint-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/khadinakbar~username-osint-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-khadinakbar-username-osint-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",
        "required": [
          "usernames"
        ],
        "properties": {
          "usernames": {
            "title": "Usernames to scan",
            "minItems": 1,
            "maxItems": 100,
            "uniqueItems": true,
            "type": "array",
            "description": "Usernames to look up across Sherlock's 481-site catalog. Paste plain usernames, @handles, profile links (for example instagram.com/name, x.com/name, github.com/name, tiktok.com/@name, youtube.com/@name, linkedin.com/in/name) or email addresses. A link is turned into the handle in the link, and an email address is scanned by the part before the @ (the output row shows when that happened). Values with no readable username, such as links to a post or video, are skipped and listed with the reason in the run status and OUTPUT. Each username triggers one scan and one billable event. Example: [\"khadinakbar\", \"@gvanrossum\", \"https://github.com/torvalds\"].",
            "items": {
              "type": "string",
              "minLength": 1,
              "maxLength": 2048
            }
          },
          "includeAvailable": {
            "title": "Include AVAILABLE results",
            "type": "boolean",
            "description": "If true, the output includes platforms where the username is NOT registered (status: AVAILABLE) in addition to CLAIMED ones. WAF and UNKNOWN rows remain marked uncertain rather than being treated as available. Defaults to false for a compact OSINT result. Set to true for username-availability checks before registering on multiple platforms.",
            "default": false
          },
          "includeNSFW": {
            "title": "Include adult/NSFW sites",
            "type": "boolean",
            "description": "If true, adds the 19 adult-oriented platforms in the Sherlock site list to the 462 non-NSFW default set. Defaults to false. Set to true only for compliance, brand-protection, or fraud-investigation workflows where adult-site presence is part of the investigation.",
            "default": false
          },
          "categories": {
            "title": "Site categories to scan (empty = all)",
            "uniqueItems": true,
            "type": "array",
            "description": "Restrict the scan to specific categories of sites to reduce runtime and surface only relevant platforms. Empty array (default) scans all 462 non-NSFW entries, or all 481 entries when includeNSFW is true. The example input uses ['dev'] so automated health checks finish quickly.",
            "items": {
              "type": "string",
              "enum": [
                "social",
                "dev",
                "gaming",
                "forum",
                "media",
                "business",
                "other"
              ]
            },
            "default": []
          },
          "sites": {
            "title": "Only these sites (optional)",
            "maxItems": 500,
            "type": "array",
            "description": "Limit the scan to specific sites by catalog name (for example GitHub, Reddit, Instagram, TikTok, Steam) or by domain (github.com). Leave empty to scan every site in the selected categories. Unknown names are listed in the run warnings. Works together with categories: a site must match both.",
            "items": {
              "type": "string",
              "minLength": 1,
              "maxLength": 200
            }
          },
          "concurrency": {
            "title": "Concurrent requests",
            "minimum": 5,
            "maximum": 100,
            "type": "integer",
            "description": "Number of site checks running at the same time. Defaults to 60, which fits the default 512 MB memory. Raise to 100 for the fastest scans. Checks run in one shared pool across all usernames, so a few slow sites never hold up the rest.",
            "default": 60
          },
          "requestTimeoutSecs": {
            "title": "Per-request timeout (seconds)",
            "minimum": 5,
            "maximum": 60,
            "type": "integer",
            "description": "Maximum seconds to wait for any single site response before recording an uncertain result. Defaults to 15. The example input uses 8 seconds so automated health checks finish quickly. This is per request, not per username.",
            "default": 15
          },
          "outputMode": {
            "title": "Output mode",
            "enum": [
              "per-username",
              "per-hit"
            ],
            "type": "string",
            "description": "'per-username' (default) returns one dataset row per username with a nested platforms[] list. 'per-hit' returns one flat row per matched site with username, site, category, url, status and detection method, which is easier to open as CSV. Billing is identical: one username-scanned event per username in both modes; a username with no matches produces no per-hit row but is still one scanned username.",
            "default": "per-username"
          },
          "maxHitsPerUsername": {
            "title": "Stop after this many hits per username",
            "minimum": 0,
            "maximum": 500,
            "type": "integer",
            "description": "Optional cap for faster, cheaper checks. The scan of a username stops once this many sites report an account (0 = no limit, scan every site). The price stays one event per username. Some hits may later move to the uncertain list during the control check, so the final count can be lower.",
            "default": 0
          },
          "verifyHits": {
            "title": "Check hits with a random control name",
            "type": "boolean",
            "description": "If true (default), each hit is re-checked with a random made-up username. A site that also says an account exists for the made-up name cannot prove anything, so that hit moves to the uncertain list instead of the confirmed list. Confirmed hits carry verified=true. Turn off only if you want the raw single-pass result.",
            "default": true
          },
          "includeProfileDetails": {
            "title": "Add public profile details",
            "type": "boolean",
            "description": "If true, confirmed hits also get the public page title, description and image (profile.title, profile.description, profile.image) when the page shows them. Adds a few seconds per username. No extra fee.",
            "default": false
          },
          "proxyConfiguration": {
            "title": "Proxy configuration",
            "type": "object",
            "description": "Optional. Requests go directly to each site by default, which is fastest and cheapest. If you choose an Apify proxy here, it is used only to re-check sites that blocked the direct request (WAF or uncertain answers), so your proxy traffic stays small. Residential proxy traffic is billed to you as Apify platform usage.",
            "default": {
              "useApifyProxy": 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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}