{
  "openapi": "3.0.1",
  "info": {
    "title": "Billing & Payment Stack Detector — Stripe, Paddle, Chargebee",
    "description": "Payment provider detector: find the payment gateway, subscription-billing platform and merchant of record behind any company website: Stripe, Paddle, Chargebee, Recurly, Shopify and 20+ more. Evidence and confidence per domain, from public pages only. Pay only for sites where a stack was found.",
    "version": "1.0",
    "x-build-id": "wk2flCbb4vyZOYOQ3"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/tiger19935~billing-stack-detector/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-tiger19935-billing-stack-detector",
        "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/tiger19935~billing-stack-detector/runs": {
      "post": {
        "operationId": "runs-sync-tiger19935-billing-stack-detector",
        "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/tiger19935~billing-stack-detector/run-sync": {
      "post": {
        "operationId": "run-sync-tiger19935-billing-stack-detector",
        "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": {
          "domains": {
            "title": "Domains or URLs",
            "maxItems": 5000,
            "type": "array",
            "description": "Company domains or URLs to check, e.g. \"example.com\" or \"https://example.com/pricing\". Duplicates (also www vs. non-www) are removed. Up to 5,000 per run. You can also (or instead) use \"Dataset ID\" below.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "datasetId": {
            "title": "Dataset ID (optional)",
            "type": "string",
            "description": "ID or name of an Apify dataset produced by another Actor (e.g. a Google Maps or Crunchbase scraper). Its website column is added to the domains above."
          },
          "urlField": {
            "title": "Website field in the dataset",
            "type": "string",
            "description": "Name of the field that holds the website in each dataset item. Use a dot path for nested fields, e.g. \"contact.website\".",
            "default": "website"
          },
          "maxPagesPerSite": {
            "title": "Max pages per site",
            "minimum": 1,
            "maximum": 8,
            "type": "integer",
            "description": "Homepage plus pricing/plans/checkout/billing/signup pages linked from it, at most this many pages per site (1-8). More pages find more stacks but take longer.",
            "default": 4
          },
          "minConfidence": {
            "title": "Minimum confidence",
            "minimum": 0.3,
            "maximum": 1,
            "type": "number",
            "description": "Only vendors with at least this confidence (0.3-1) are reported and charged. 0.6 needs a clear technical signal such as a vendor script; lower values also accept weak hints.",
            "default": 0.6
          },
          "onlyVendors": {
            "title": "Only these vendors",
            "type": "array",
            "description": "Report and charge only for these vendors (e.g. Paddle and Chargebee). Leave empty for all supported vendors.",
            "items": {
              "type": "string",
              "enum": [
                "adyen",
                "authorizenet",
                "avalara",
                "braintree",
                "chargebee",
                "chargify",
                "checkoutcom",
                "fastspring",
                "gocardless",
                "gumroad",
                "klarna",
                "lemonsqueezy",
                "mollie",
                "paddle",
                "paypal",
                "paystack",
                "polar",
                "quaderno",
                "razorpay",
                "recurly",
                "shopify",
                "square",
                "stripe",
                "taxjar",
                "twocheckout",
                "zuora"
              ],
              "enumTitles": [
                "Adyen",
                "Authorize.net",
                "Avalara",
                "Braintree",
                "Chargebee",
                "Chargify / Maxio",
                "Checkout.com",
                "FastSpring",
                "GoCardless",
                "Gumroad",
                "Klarna",
                "Lemon Squeezy",
                "Mollie",
                "Paddle",
                "PayPal",
                "Paystack",
                "Polar",
                "Quaderno",
                "Razorpay",
                "Recurly",
                "Shopify",
                "Square",
                "Stripe",
                "TaxJar",
                "2Checkout / Verifone",
                "Zuora"
              ]
            },
            "default": []
          },
          "includeEmpty": {
            "title": "Include sites with no stack found",
            "type": "boolean",
            "description": "Also output a free row for sites where nothing was found or that could not be checked (status, reason). Turn off to receive only sites with a detected stack.",
            "default": true
          },
          "respectRobots": {
            "title": "Respect robots.txt",
            "type": "boolean",
            "description": "Skip pages that the site's robots.txt disallows for this crawler (BillingStackDetector). Recommended.",
            "default": true
          },
          "concurrency": {
            "title": "Parallel sites",
            "minimum": 1,
            "maximum": 20,
            "type": "integer",
            "description": "How many sites are checked at the same time (1-20). Requests to one site are always sequential with a short pause.",
            "default": 10
          },
          "proxy": {
            "title": "Proxy configuration",
            "type": "object",
            "description": "Used only as a fallback when a site blocks the direct request (HTTP 403/429 or a bot challenge). Without a setting, Apify Proxy is tried automatically on the platform.",
            "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}