{
  "openapi": "3.0.1",
  "info": {
    "title": "Wolfpack | Armored Stealth Scraper for AI Agents",
    "description": "The web fights back. Send the pack. Super Stealth retrieval meets Armored inspection: browser rendering, HTTP tarpit limits, maze pruning, token-bloat cleanup and injection quarantine. Web data with source hashes and retrieval telemetry for AI agents and RAG. API and MCP ready.",
    "version": "0.3",
    "x-build-id": "rUOLc5fnDFknLmcSW"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/apricot_blackberry~wolfpack/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-apricot_blackberry-wolfpack",
        "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/apricot_blackberry~wolfpack/runs": {
      "post": {
        "operationId": "runs-sync-apricot_blackberry-wolfpack",
        "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/apricot_blackberry~wolfpack/run-sync": {
      "post": {
        "operationId": "run-sync-apricot_blackberry-wolfpack",
        "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": {
          "url": {
            "title": "Single URL",
            "type": "string",
            "description": "One public HTTP(S) URL. Merged with urls and startUrls."
          },
          "startUrls": {
            "title": "Start URLs",
            "type": "array",
            "description": "1-100 public HTTP(S) URLs. URL objects only; no credentials, uploaded URL lists or request queues.",
            "items": {
              "type": "object",
              "required": [
                "url"
              ],
              "properties": {
                "url": {
                  "type": "string",
                  "title": "URL of a web page",
                  "format": "uri"
                }
              }
            }
          },
          "mode": {
            "title": "Retrieval mode",
            "enum": [
              "auto",
              "http",
              "browser"
            ],
            "type": "string",
            "description": "Auto tries Impit first, then a browser for blocked or JavaScript-only pages.",
            "default": "auto"
          },
          "maxPages": {
            "title": "Maximum attempted pages",
            "minimum": 1,
            "maximum": 100,
            "type": "integer",
            "description": "Maximum attempted pages. See README for boundary behavior.",
            "default": 20
          },
          "maxDepth": {
            "title": "Maximum crawl depth",
            "minimum": 0,
            "maximum": 10,
            "type": "integer",
            "description": "Maximum crawl depth. See README for boundary behavior.",
            "default": 2
          },
          "requestTimeoutSecs": {
            "title": "Absolute page request timeout (seconds)",
            "minimum": 0.2,
            "maximum": 60,
            "type": "number",
            "description": "Total deadline per page across all retrieval attempts, including browser startup. Use 45–60 seconds for difficult rendered pages.",
            "default": 20
          },
          "maxRunSecs": {
            "title": "Crawl time budget (seconds)",
            "minimum": 1,
            "maximum": 300,
            "type": "number",
            "description": "Crawl time budget (seconds). See README for boundary behavior.",
            "default": 120
          },
          "proxyMode": {
            "title": "Proxy tier",
            "enum": [
              "direct",
              "datacenter",
              "residential",
              "auto"
            ],
            "type": "string",
            "description": "Direct uses the Actor connection; datacenter and residential use Apify Proxy. Auto may escalate to residential. Premium tiers change the delivered-page price; standard platform and selected proxy usage are included in that price.",
            "default": "direct"
          },
          "engine": {
            "title": "Browser engine",
            "enum": [
              "auto",
              "chrome",
              "camoufox"
            ],
            "type": "string",
            "description": "Auto tries Patchright Chrome then Camoufox within the attempt budget.",
            "default": "auto"
          },
          "maxBrowserAttempts": {
            "title": "Maximum browser attempts",
            "minimum": 1,
            "maximum": 4,
            "type": "integer",
            "description": "Maximum browser engine/tier attempts per URL. With proxyMode auto, 4 permits both datacenter engines and both residential engines.",
            "default": 2
          },
          "country": {
            "title": "Proxy country",
            "type": "string",
            "description": "Two-letter country code for Apify Proxy when configured.",
            "default": "US"
          },
          "onSuspectedInjection": {
            "title": "Suspected instruction policy",
            "enum": [
              "quarantine",
              "report"
            ],
            "type": "string",
            "description": "Quarantine withholds recognized unquoted instructions. Quoted HTML examples are redacted with telemetry. Report allows flagged unquoted text. All text remains untrusted; detection is heuristic.",
            "default": "quarantine"
          },
          "respectRobotsTxt": {
            "title": "Respect robots.txt",
            "type": "boolean",
            "description": "Read once per origin; 404 permits crawling, 401/403 deny, other failures produce diagnostic records.",
            "default": true
          },
          "maxOutputChars": {
            "title": "Maximum text characters per record",
            "minimum": 1,
            "maximum": 200000,
            "type": "integer",
            "description": "Maximum text characters per record. See README for boundary behavior.",
            "default": 40000
          },
          "maxResponseBytes": {
            "title": "Maximum decoded response or rendered DOM bytes",
            "minimum": 1024,
            "maximum": 2097152,
            "type": "integer",
            "description": "Maximum decoded HTTP response or serialized rendered DOM bytes.",
            "default": 2097152
          },
          "maxNetworkBytes": {
            "title": "Maximum aggregate network bytes per retrieval attempt",
            "minimum": 65536,
            "maximum": 33554432,
            "type": "integer",
            "description": "Per-attempt cap on aggregate gateway ingress, including subresources, headers and TLS traffic.",
            "default": 8388608
          },
          "maxLinksPerPage": {
            "title": "Maximum links considered per page",
            "minimum": 0,
            "maximum": 100,
            "type": "integer",
            "description": "Maximum links considered per page. See README for boundary behavior.",
            "default": 50
          },
          "minBytesPerSecond": {
            "title": "Minimum stream bytes per second",
            "minimum": 0,
            "maximum": 1048576,
            "type": "number",
            "description": "Minimum stream bytes per second. See README for boundary behavior.",
            "default": 32
          },
          "gracePeriodSecs": {
            "title": "Initial stream grace period (seconds)",
            "minimum": 0.1,
            "maximum": 10,
            "type": "number",
            "description": "Initial stream grace period (seconds). See README for boundary behavior.",
            "default": 2
          },
          "throughputWindowSecs": {
            "title": "Throughput window (seconds)",
            "minimum": 0.1,
            "maximum": 10,
            "type": "number",
            "description": "Throughput window (seconds). See README for boundary behavior.",
            "default": 2
          },
          "tokenEncoding": {
            "title": "Tokenizer encoding",
            "enum": [
              "cl100k_base",
              "o200k_base"
            ],
            "type": "string",
            "description": "Counts are exact for this encoding and the documented extracted text, not universal model billing.",
            "default": "cl100k_base"
          },
          "stripJoiners": {
            "title": "Strip all Unicode joiners",
            "type": "boolean",
            "description": "False preserves contextual language and emoji joiners; ASCII obfuscation and long runs are still removed. True may alter natural-language text.",
            "default": false
          },
          "inputTokenUsdPerMillion": {
            "title": "Your input-token price (USD per million)",
            "minimum": 0,
            "maximum": 1000,
            "type": "number",
            "description": "Optional caller-supplied price. Without it, dollar savings are null. Only normalization reductions are credited."
          },
          "urls": {
            "title": "URL strings",
            "type": "array",
            "description": "Public HTTP(S) URL strings, merged and deduplicated with other inputs.",
            "items": {
              "type": "string"
            }
          },
          "browserWaitSecs": {
            "title": "Browser readiness wait (seconds)",
            "minimum": 1,
            "maximum": 30,
            "type": "number",
            "description": "Maximum observation window after navigation, within the shared request deadline. Waits for nonloading, stable text; BROWSER_NOT_READY withholds stalled pages.",
            "default": 8
          },
          "maxOutputTokens": {
            "title": "Maximum output tokens per record",
            "minimum": 1,
            "maximum": 50000,
            "type": "integer",
            "description": "Hard token cap for the selected tokenizer, in addition to the character cap. Truncation is reported and excluded from normalization savings.",
            "default": 8192
          },
          "waitForSelector": {
            "title": "Ready content CSS selector",
            "maxLength": 512,
            "type": "string",
            "description": "Optional visible, nonempty element required before browser output. Example: main .product-card. Increase browserWaitSecs and requestTimeoutSecs for slow sites."
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}