{
  "openapi": "3.0.1",
  "info": {
    "title": "gau - Get All URLs",
    "description": "Fetch known URLs from the Wayback Machine, Common Crawl, AlienVault OTX, and URLScan for any domain. A wrapper around the gau OSINT tool for attack-surface and data-pipeline use.",
    "version": "1.0",
    "x-build-id": "061W49x1sz05YEIhI"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/rl1987~gau-wrapper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-rl1987-gau-wrapper",
        "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/rl1987~gau-wrapper/runs": {
      "post": {
        "operationId": "runs-sync-rl1987-gau-wrapper",
        "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/rl1987~gau-wrapper/run-sync": {
      "post": {
        "operationId": "run-sync-rl1987-gau-wrapper",
        "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": [
          "domains"
        ],
        "properties": {
          "domains": {
            "title": "Domains",
            "type": "array",
            "description": "List of domains (or apex domains) to fetch known URLs for, e.g. `example.com`. Do not include a scheme (`https://`) or path.",
            "default": [
              "trickster.dev"
            ],
            "items": {
              "type": "string"
            }
          },
          "providers": {
            "title": "Providers",
            "type": "array",
            "description": "Which URL sources to query. Leave empty to use gau's defaults (wayback, commoncrawl, otx).",
            "items": {
              "type": "string",
              "enum": [
                "wayback",
                "commoncrawl",
                "otx",
                "urlscan"
              ],
              "enumTitles": [
                "Wayback Machine",
                "Common Crawl",
                "AlienVault OTX",
                "URLScan"
              ]
            },
            "default": [
              "wayback",
              "commoncrawl",
              "otx"
            ]
          },
          "includeSubdomains": {
            "title": "Include subdomains",
            "type": "boolean",
            "description": "Include URLs from subdomains of the target domain (gau `--subs`).",
            "default": true
          },
          "fromDate": {
            "title": "From date (YYYYMM)",
            "pattern": "^[0-9]{6}$",
            "type": "string",
            "description": "Only fetch URLs first seen on or after this month. Format: YYYYMM (e.g. `202101`)."
          },
          "toDate": {
            "title": "To date (YYYYMM)",
            "pattern": "^[0-9]{6}$",
            "type": "string",
            "description": "Only fetch URLs first seen on or before this month. Format: YYYYMM (e.g. `202412`)."
          },
          "blacklistExtensions": {
            "title": "Blacklist extensions",
            "type": "array",
            "description": "File extensions to skip, without the dot (gau `--blacklist`), e.g. `png`, `jpg`, `woff`.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "matchStatusCodes": {
            "title": "Match status codes",
            "type": "array",
            "description": "Only keep URLs whose archived HTTP status code is in this list (gau `--mc`), e.g. `200`, `301`.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "filterStatusCodes": {
            "title": "Filter status codes",
            "type": "array",
            "description": "Drop URLs whose archived HTTP status code is in this list (gau `--fc`), e.g. `404`, `302`.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "matchMimeTypes": {
            "title": "Match MIME types",
            "type": "array",
            "description": "Only keep URLs whose archived MIME type is in this list (gau `--mt`), e.g. `text/html`.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "filterMimeTypes": {
            "title": "Filter MIME types",
            "type": "array",
            "description": "Drop URLs whose archived MIME type is in this list (gau `--ft`), e.g. `text/plain`, `image/png`.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "removeDuplicateParams": {
            "title": "Collapse duplicate-parameter endpoints",
            "type": "boolean",
            "description": "Keep only one representative URL per endpoint that differs only in parameter values (gau `--fp`).",
            "default": false
          },
          "threads": {
            "title": "Threads",
            "minimum": 1,
            "maximum": 50,
            "type": "integer",
            "description": "Number of worker threads gau spawns.",
            "default": 5
          },
          "timeout": {
            "title": "HTTP timeout (seconds)",
            "minimum": 1,
            "maximum": 600,
            "type": "integer",
            "description": "Timeout for gau's HTTP client, in seconds.",
            "default": 45
          },
          "retries": {
            "title": "HTTP retries",
            "minimum": 0,
            "maximum": 20,
            "type": "integer",
            "description": "Number of retries for gau's HTTP client.",
            "default": 3
          },
          "maxResults": {
            "title": "Max results",
            "minimum": 0,
            "type": "integer",
            "description": "Stop after pushing this many URLs to the dataset. Set 0 for unlimited.",
            "default": 0
          },
          "proxyConfiguration": {
            "title": "Proxy configuration",
            "type": "object",
            "description": "Route gau's requests through an Apify or custom HTTP proxy. Useful when archive providers rate-limit your runs.",
            "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
                  }
                }
              },
              "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}