{
  "openapi": "3.0.1",
  "info": {
    "title": "Shopify Store Enricher: Apps, Theme & Contacts",
    "description": "Enrich a list of Shopify store domains with installed apps, theme, emails, phones, socials, location, categories, and average price. Beta keyword search included.",
    "version": "0.1",
    "x-build-id": "oztw7cki8HCAh2i4L"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/runtime~shopify-store-finder/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-runtime-shopify-store-finder",
        "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/runtime~shopify-store-finder/runs": {
      "post": {
        "operationId": "runs-sync-runtime-shopify-store-finder",
        "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/runtime~shopify-store-finder/run-sync": {
      "post": {
        "operationId": "run-sync-runtime-shopify-store-finder",
        "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": {
          "mode": {
            "title": "Mode",
            "enum": [
              "lookup",
              "search"
            ],
            "type": "string",
            "description": "Lookup enriches the domains you provide and is the most reliable mode. Search discovers candidate shops through web search and returns fewer results.",
            "default": "lookup"
          },
          "domains": {
            "title": "Domains",
            "type": "array",
            "description": "Domains to look up (lookup mode) or to add as seeds (search mode). Example: allbirds.com",
            "items": {
              "type": "string"
            }
          },
          "keyword": {
            "title": "Keyword",
            "type": "string",
            "description": "One keyword matched against store domain, name, description and categories. Example: coffee"
          },
          "categories": {
            "title": "Categories",
            "type": "array",
            "description": "Plain-English category words such as beauty, pet, or yoga. A store matches when any word is found.",
            "items": {
              "type": "string"
            }
          },
          "countries": {
            "title": "Countries",
            "type": "array",
            "description": "Two-letter country codes such as US, GB, FR. Country comes from shop data, JSON-LD address, TLD, or currency.",
            "items": {
              "type": "string"
            }
          },
          "statuses": {
            "title": "Store status",
            "type": "array",
            "description": "Keep stores with these statuses. Use password_protected to find pre-launch Shopify stores.",
            "items": {
              "type": "string",
              "enum": [
                "live",
                "password_protected"
              ]
            },
            "default": [
              "live"
            ]
          },
          "hasEmail": {
            "title": "Has email",
            "type": "boolean",
            "description": "Only stores with a public email.",
            "default": false
          },
          "hasPhone": {
            "title": "Has phone",
            "type": "boolean",
            "description": "Only stores with a public phone.",
            "default": false
          },
          "hasInstagram": {
            "title": "Has Instagram",
            "type": "boolean",
            "description": "Only stores linking an Instagram profile.",
            "default": false
          },
          "hasFacebook": {
            "title": "Has Facebook",
            "type": "boolean",
            "description": "Only stores linking a Facebook page.",
            "default": false
          },
          "hasTiktok": {
            "title": "Has TikTok",
            "type": "boolean",
            "description": "Only stores linking a TikTok profile.",
            "default": false
          },
          "hasYoutube": {
            "title": "Has YouTube",
            "type": "boolean",
            "description": "Only stores linking a YouTube channel.",
            "default": false
          },
          "hasPinterest": {
            "title": "Has Pinterest",
            "type": "boolean",
            "description": "Only stores linking a Pinterest profile.",
            "default": false
          },
          "hasTwitter": {
            "title": "Has X / Twitter",
            "type": "boolean",
            "description": "Only stores linking an X profile.",
            "default": false
          },
          "hasLinkedin": {
            "title": "Has LinkedIn",
            "type": "boolean",
            "description": "Only stores linking a LinkedIn page.",
            "default": false
          },
          "minAveragePrice": {
            "title": "Min average product price",
            "type": "number",
            "description": "In the store's own currency, from a sample of up to 30 products."
          },
          "maxAveragePrice": {
            "title": "Max average product price",
            "type": "number",
            "description": "In the store's own currency, from a sample of up to 30 products."
          },
          "maxResults": {
            "title": "Max stores",
            "minimum": 1,
            "maximum": 5000,
            "type": "integer",
            "description": "Maximum number of matching stores to save (and be charged for).",
            "default": 50
          },
          "includeContactPages": {
            "title": "Check contact pages",
            "type": "boolean",
            "description": "Also fetch up to two contact/about pages per store to find more emails and phones.",
            "default": true
          },
          "concurrency": {
            "title": "Concurrency",
            "minimum": 1,
            "maximum": 30,
            "type": "integer",
            "description": "Domains processed in parallel.",
            "default": 8
          },
          "requestTimeoutSecs": {
            "title": "Request timeout (seconds)",
            "minimum": 5,
            "maximum": 120,
            "type": "integer",
            "description": "Timeout for each HTTP request.",
            "default": 20
          },
          "failOnNoResults": {
            "title": "Fail when nothing matches",
            "type": "boolean",
            "description": "Mark the run as failed when no store matches the filters.",
            "default": false
          },
          "proxyConfiguration": {
            "title": "Proxy configuration",
            "type": "object",
            "description": "Optional. Datacenter proxies are enough for most stores; search discovery may need them on busy runs."
          },
          "apps": {
            "title": "Installed apps",
            "type": "array",
            "description": "Keep stores using any of these detected apps or tools, e.g. Klaviyo, Judge.me, Yotpo, Gorgias, Recharge, Afterpay.",
            "items": {
              "type": "string"
            }
          },
          "cookieBanner": {
            "title": "Cookie banner / CMP",
            "enum": [
              "any",
              "present",
              "absent"
            ],
            "type": "string",
            "description": "Filter on consent platform detection (Cookiebot, OneTrust, Axeptio, Didomi, iubenda...). 'absent' keeps stores with no banner detected, useful to find shops lacking one. Detection reads the static homepage HTML, so late-loaded banners can be missed.",
            "default": "any"
          },
          "useCache": {
            "title": "Use shared cache",
            "type": "boolean",
            "description": "Reuse results from earlier runs of your account instead of re-fetching each domain. Skips domains already known to be non-Shopify.",
            "default": true
          },
          "cacheMaxAgeDays": {
            "title": "Cache max age (days)",
            "minimum": 0,
            "maximum": 365,
            "type": "integer",
            "description": "Reuse a cached Shopify store for up to this many days; older entries are refreshed live. Non-Shopify results are cached for 30 days.",
            "default": 14
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}