{
  "openapi": "3.0.1",
  "info": {
    "title": "Maigret Username OSINT | $7/1K | Dossier + Deep Intel",
    "description": "Search a username across 3000+ sites (Maigret, MIT) and get more than a hit list: an identity dossier, exposure score (0-100), category breakdown, names/locations/emails and risk flags. Standard $7/1K; Deep tier ($15/1K) adds account timeline, phones, sites and follower reach.",
    "version": "1.0",
    "x-build-id": "03LqAg0gx7Uuqb5pR"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/apivault_labs~maigret-username-osint/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-apivault_labs-maigret-username-osint",
        "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/apivault_labs~maigret-username-osint/runs": {
      "post": {
        "operationId": "runs-sync-apivault_labs-maigret-username-osint",
        "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/apivault_labs~maigret-username-osint/run-sync": {
      "post": {
        "operationId": "run-sync-apivault_labs-maigret-username-osint",
        "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",
            "type": "array",
            "description": "One or more usernames to investigate (e.g. 'johndoe'). Each username gets its own dossier record. Keep batches small — every checked username runs hundreds of HTTP requests.",
            "items": {
              "type": "string"
            }
          },
          "topSites": {
            "title": "Number of sites to check",
            "minimum": 0,
            "maximum": 3000,
            "type": "integer",
            "description": "How many sites to scan, ranked by popularity. 100-300 = fast major-platform sweep, 500 = balanced (default), 0 = all 3000+ sites (slowest, most thorough).",
            "default": 500
          },
          "tags": {
            "title": "Include only these tags",
            "type": "array",
            "description": "Restrict the scan to site categories/countries (e.g. social, coding, photo, gaming, us, ru). Empty = no tag restriction.",
            "items": {
              "type": "string"
            }
          },
          "excludeTags": {
            "title": "Exclude these tags",
            "type": "array",
            "description": "Skip sites with these tags (e.g. nsfw, dating). Applied after the include filter.",
            "items": {
              "type": "string"
            }
          },
          "sites": {
            "title": "Specific site names only",
            "type": "array",
            "description": "Check only these exact site names (e.g. GitHub, Reddit, Instagram). Overrides the site-count / tag filters when set.",
            "items": {
              "type": "string"
            }
          },
          "extractData": {
            "title": "Extract profile data (names, bio, IDs)",
            "type": "boolean",
            "description": "Parse found profile pages with socid_extractor to pull full names, bios, locations, emails, avatars, and linked-account IDs. Powers the dossier. Slightly slower.",
            "default": true
          },
          "deepEnrichment": {
            "title": "Deep enrichment (premium tier — $15/1K)",
            "type": "boolean",
            "description": "Unlock the DEEP tier: in addition to the standard fields, extract account creation timeline (digital-footprint age), phone numbers, personal websites/domains, and cross-platform follower reach, plus a deepIntel block in the dossier. Found profiles are billed at the premium rate ($0.015 each) instead of the standard rate ($0.007). Off = standard tier.",
            "default": false
          },
          "recursiveSearch": {
            "title": "Recursive search on discovered identifiers",
            "type": "boolean",
            "description": "When profile parsing reveals other usernames/IDs, run a second sweep on the most promising one to widen the dossier. Adds one extra search pass. Off by default to keep runs cheap.",
            "default": false
          },
          "includeNotFound": {
            "title": "Include 'not found' sites in dataset",
            "type": "boolean",
            "description": "Also push per-site records for sites where the username was NOT found. Off by default (you are not charged for these, and they bloat the dataset).",
            "default": false
          },
          "perSiteRecords": {
            "title": "Also emit one record per found profile",
            "type": "boolean",
            "description": "In addition to the dossier, push one dataset record per found profile (the classic Maigret-style output). The dossier is always written regardless.",
            "default": true
          },
          "exportFormat": {
            "title": "Export format",
            "enum": [
              "default",
              "csv"
            ],
            "type": "string",
            "description": "default = rich JSON. csv = flat one-row-per-found-profile CSV ready for spreadsheets / case management.",
            "default": "default"
          },
          "timeout": {
            "title": "Per-request timeout (seconds)",
            "minimum": 5,
            "maximum": 120,
            "type": "integer",
            "description": "How long to wait for each individual site before giving up.",
            "default": 30
          },
          "maxConnections": {
            "title": "Max parallel connections",
            "minimum": 1,
            "maximum": 100,
            "type": "integer",
            "description": "How many sites to check in parallel. Higher = faster but heavier. 50 is a safe default.",
            "default": 50
          },
          "maxProfilesPerUsername": {
            "title": "Max billed profiles per username (0 = no limit)",
            "minimum": 0,
            "maximum": 3000,
            "type": "integer",
            "description": "Hard cap on how many found profiles are pushed AND billed per username. Default 0 = no limit (return every match). Set a positive number (e.g. 150) as a cost guard against runaway charges on very common usernames; extra hits beyond the cap are dropped, keeping the highest-ranked sites.",
            "default": 0
          },
          "runBudgetSecs": {
            "title": "Whole-run time budget (seconds)",
            "minimum": 60,
            "maximum": 3600,
            "type": "integer",
            "description": "Safety budget for the entire run. If reached, the Actor stops before starting the next username so it never burns compute indefinitely. Default 900 (15 min).",
            "default": 900
          },
          "proxyUrl": {
            "title": "Custom proxy URL (optional)",
            "type": "string",
            "description": "Route checks through an HTTP/SOCKS proxy (e.g. socks5://user:pass@host:port). Useful for WAF-protected sites that block datacenter IPs. Leave empty to go direct."
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}