{
  "openapi": "3.0.1",
  "info": {
    "title": "E-commerce Store & GMC Compliance Audit MCP",
    "description": "Read-only MCP storefront health & GMC pre-flight audit for Shopify, WooCommerce & generic stores: robots.txt, sitemap, 404 products, JSON-LD Product/Offer, SKU/GTIN, pricing & broken images. Zero PII, SSRF-hardened, PPE ($0.02/store, $0 on invalid/blocked).",
    "version": "0.1",
    "x-build-id": "fhrJuIgxL88SHhshI"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/signalnodes~ecommerce-store-audit-mcp/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-signalnodes-ecommerce-store-audit-mcp",
        "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/signalnodes~ecommerce-store-audit-mcp/runs": {
      "post": {
        "operationId": "runs-sync-signalnodes-ecommerce-store-audit-mcp",
        "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/signalnodes~ecommerce-store-audit-mcp/run-sync": {
      "post": {
        "operationId": "run-sync-signalnodes-ecommerce-store-audit-mcp",
        "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": [
          "storeUrls"
        ],
        "properties": {
          "storeUrls": {
            "title": "Storefront URLs",
            "minItems": 1,
            "maxItems": 10,
            "uniqueItems": true,
            "type": "array",
            "description": "REQUIRED array of 1 to 10 public e-commerce storefront URLs (hard limits: min 1, max 10 items per run; duplicates disallowed). Allowed schemes: http:// or https:// only. SSRF & security restrictions: URLs with credentials (user:pass@), localhost, *.local, *.internal, loopback, private RFC1918, link-local/cloud metadata (169.254.169.254), CGNAT (100.64.0.0/10), multicast/reserved, or IPv6-mapped private IPs (including after DNS resolution or HTTP redirects) are strictly blocked. Zero-charge guarantee: if empty, >10 URLs, or any URL is invalid/non-public, the entire run fails immediately with VALIDATION_ERROR, zero HTTP calls, and $0.00 charged.",
            "items": {
              "type": "string",
              "pattern": "^https?://"
            }
          },
          "mode": {
            "title": "Audit Mode",
            "enum": [
              "quick",
              "standard"
            ],
            "type": "string",
            "description": "Audit depth mode. Allowed enum values ONLY: \"quick\" or \"standard\" (default: \"standard\"). \"quick\" limits sitemap-index expansion to 1 sub-sitemap and skips homepage product-link fallback unless sitemap/Shopify yield no candidates; \"standard\" expands up to 2 sub-sitemaps and always includes homepage product-link fallback. Both modes run Shopify /products.json deep enrichment whenever permitted by robots.txt. Hard rule: any value other than \"quick\" or \"standard\" fails immediately with VALIDATION_ERROR, zero HTTP calls, and $0.00 charged.",
            "default": "standard"
          },
          "maxProductSamples": {
            "title": "Max Product Samples per Store",
            "minimum": 1,
            "maximum": 10,
            "type": "integer",
            "description": "Maximum number of public product pages sampled per store from sitemap/catalog. Must be a strict integer (booleans/floats/strings rejected) within hard range: min 1, max 10 (default: 3). Hard cap: values <1 or >10 trigger immediate VALIDATION_ERROR with zero HTTP calls and $0.00 charged.",
            "default": 3
          },
          "maxImageSamples": {
            "title": "Max Image Samples per Store",
            "minimum": 0,
            "maximum": 15,
            "type": "integer",
            "description": "Maximum number of storefront/product image URLs verified via HTTP HEAD per store. Must be a strict integer (booleans/floats/strings rejected) within hard range: min 0 (skip image checks), max 15 (default: 6). SSRF rule: external image hosts are also public-IP validated before any HEAD request. Values <0 or >15 trigger immediate VALIDATION_ERROR with zero HTTP calls and $0.00 charged.",
            "default": 6
          },
          "timeoutSec": {
            "title": "HTTP Timeout (Seconds)",
            "minimum": 5,
            "maximum": 45,
            "type": "integer",
            "description": "Per-request HTTP timeout in seconds. Must be a strict integer (booleans/floats/strings rejected) within hard range: min 5, max 45 (default: 25). Values <5 or >45 trigger immediate VALIDATION_ERROR with zero HTTP calls and $0.00 charged. Stores that time out or are unreachable incur $0.00 charge.",
            "default": 25
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}