{
  "openapi": "3.0.3",
  "info": {
    "title": "Shopify Stores API: Search, Apps, Leads, Contacts",
    "version": "1.0.0",
    "description": "A database of about 3.5 million Shopify stores, about 2 million of them live, with technologies, apps, theme, industry, niche, revenue band, store score and contact details. The data is an export dated 2026-11-19 and is refreshed periodically; it is not live data. Only GET requests are supported."
  },
  "servers": [
    {
      "url": "https://shopify-stores-api-search-apps-leads-contacts.p.rapidapi.com"
    }
  ],
  "paths": {
    "/stores/{domain}": {
      "get": {
        "operationId": "getStore",
        "summary": "Get one store",
        "description": "Returns the full record of one store by domain. Contact details are not included; see the contact endpoints.",
        "parameters": [
          {
            "name": "domain",
            "in": "path",
            "required": true,
            "description": "Store domain, for example arka.com. A leading scheme, path, query and trailing dot are removed and the value is lowercased. The store is found whether the data holds its domain with or without www. and with or without a trailing dot; when both forms exist, the form you gave wins.",
            "schema": {
              "type": "string",
              "minLength": 1
            },
            "example": "arka.com"
          }
        ],
        "responses": {
          "200": {
            "description": "The store record.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "$ref": "#/components/schemas/Store"
                    }
                  }
                },
                "example": {
                  "data": {
                    "domain": "arka.com",
                    "countries": [
                      "US"
                    ],
                    "country": "US",
                    "languages": [
                      "en"
                    ],
                    "industry": "Business & Industrial",
                    "theme": "Dawn",
                    "theme_version": "6.0.0",
                    "theme_pricing": "free",
                    "products_count": null,
                    "collections_count": null,
                    "has_blog": false,
                    "articles_count": null,
                    "pages_count": null,
                    "password_protected": false,
                    "password_first_seen": null,
                    "technologies": [
                      "Cloudflare",
                      "core-js",
                      "Facebook Shopify Pixel",
                      "Google Font API",
                      "Google Shopify Pixel",
                      "Google Tag Manager",
                      "HTTP/3",
                      "HubSpot",
                      "Klaviyo",
                      "Marker",
                      "Microsoft Clarity",
                      "PostHog",
                      "Python",
                      "reCAPTCHA",
                      "Reddit",
                      "Searchanise",
                      "Shopify",
                      "Social Snowball Shopify App",
                      "TikTok Shopify Pixel"
                    ],
                    "technologies_count": 19,
                    "apps": [
                      "Facebook & Instagram",
                      "Google & YouTube",
                      "Klaviyo: Email Marketing & SMS",
                      "Pandectes GDPR Compliance",
                      "Snowball: Affiliate Marketing",
                      "TikTok"
                    ],
                    "apps_count": 6,
                    "new_store": false,
                    "ad_pixels": [
                      "facebook",
                      "tiktok",
                      "snapchat",
                      "google_ads",
                      "microsoft"
                    ],
                    "store_score": 36,
                    "store_issues": "Using free theme Dawn (5); 15 technologies detected including premium apps: Klaviyo (12); Store is alive, responding normally (10); Facebook, TikTok, Google, 2 other pixels; 4 social platforms: Facebook, Instagram, Linkedin, Tiktok (9); Limited store maturity indicators (0)",
                    "seo_score": 90,
                    "seo_issues": "Homepage has 13 links with query parameters (index bloat risk) (-5); Homepage has 23 third-party scripts (moderate performance risk) (-5)",
                    "store_name": "Arka",
                    "base_domain": "arka.com",
                    "tld": "com",
                    "meta_title": "Design Eco-Friendly Custom Packaging & Sustainable Boxes Online\n\n        –\n        Arka",
                    "meta_description": "Design custom boxes for Ecommerce with Arka! Use our integrations with Shopify, BigCommerce, Square & more! Order your sustainable custom boxes today.",
                    "company_identifiers": null,
                    "locale": "en",
                    "created_at": "2022-10-23",
                    "domain_created_at": "1995-12-27",
                    "domain_expires_at": "2026-12-26",
                    "first_seen": "2025-12-03",
                    "last_confirmed_live": "2026-11-13",
                    "died_at": null,
                    "status": "alive",
                    "previous_domains": null,
                    "domain_changed": null,
                    "industry_confidence": "high",
                    "niche": "Packaging & shipping supplies",
                    "country_source": "merchant",
                    "revenue": "100k_500k",
                    "search_traffic_status": "Estimated",
                    "search_traffic": 4251,
                    "search_traffic_change_3m": null,
                    "search_traffic_change_12m": null,
                    "search_scope": "worldwide",
                    "search_traffic_month": "2026-11",
                    "plus_clue": "Multipass",
                    "plus_first_seen": "2026-11-10",
                    "plus_last_confirmed": "2026-11-10",
                    "plus_evidence": "Multipass title: Invalid Multipass request; Multipass host: www.arka.com",
                    "apps_added": null
                  }
                }
              }
            }
          },
          "400": {
            "description": "Malformed domain.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                },
                "example": {
                  "error": {
                    "code": "bad_request",
                    "message": "Malformed domain"
                  }
                }
              }
            }
          },
          "401": {
            "description": "The proxy secret header is missing or wrong (requests that did not come through RapidAPI).",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                },
                "example": {
                  "error": {
                    "code": "unauthorized",
                    "message": "Missing or invalid proxy secret"
                  }
                }
              }
            }
          },
          "404": {
            "description": "No store with this domain.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                },
                "example": {
                  "error": {
                    "code": "store_not_found",
                    "message": "No store found for this domain"
                  }
                }
              }
            }
          },
          "500": {
            "description": "Unexpected server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                },
                "example": {
                  "error": {
                    "code": "internal_error",
                    "message": "Internal error"
                  }
                }
              }
            }
          },
          "503": {
            "description": "The database is temporarily busy. Wait the number of seconds in the Retry-After header (10) and send the same request again.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                },
                "example": {
                  "error": {
                    "code": "overloaded",
                    "message": "The database is busy; retry after a few seconds"
                  }
                }
              }
            },
            "headers": {
              "Retry-After": {
                "description": "Seconds to wait before retrying.",
                "schema": {
                  "type": "integer",
                  "example": 10
                }
              }
            }
          }
        }
      }
    },
    "/stores": {
      "get": {
        "operationId": "searchStores",
        "summary": "Search stores",
        "description": "Returns up to 50 stores matching the filters. Contact details are not included. At least one of country, industry, niche, app and theme is required. Results are paged with next_cursor: pass it as cursor to get the next page. A null next_cursor is the only signal that the results have ended. Each request keeps searching until its page is full, so pages are normally full. A page can still be shorter than the page size, or empty with a non-null next_cursor, when very narrow filters match few stores within a very large group (for example stores created in the last month within a whole country); keep following the cursor. There are no total counts.",
        "parameters": [
          {
            "name": "country",
            "in": "query",
            "required": false,
            "description": "Two-letter country code, for example US. Not case sensitive. At least one of country, industry, niche, app and theme is required.",
            "schema": {
              "type": "string",
              "pattern": "^[A-Za-z]{2}$"
            },
            "example": "US"
          },
          {
            "name": "industry",
            "in": "query",
            "required": false,
            "description": "Industry name, 1 to 100 characters, for example Home & Garden.",
            "schema": {
              "type": "string",
              "minLength": 1,
              "maxLength": 100
            }
          },
          {
            "name": "niche",
            "in": "query",
            "required": false,
            "description": "Niche name, 1 to 100 characters.",
            "schema": {
              "type": "string",
              "minLength": 1,
              "maxLength": 100
            }
          },
          {
            "name": "app",
            "in": "query",
            "required": false,
            "description": "Name of an installed Shopify app, 1 to 100 characters, as listed by /apps (case-insensitive). An unknown name returns 400 unknown_app.",
            "schema": {
              "type": "string",
              "minLength": 1,
              "maxLength": 100
            }
          },
          {
            "name": "theme",
            "in": "query",
            "required": false,
            "description": "Theme name, 1 to 100 characters, for example Dawn.",
            "schema": {
              "type": "string",
              "minLength": 1,
              "maxLength": 100
            }
          },
          {
            "name": "theme_pricing",
            "in": "query",
            "required": false,
            "description": "Only stores whose theme is free or paid. any (the default) does not filter.",
            "schema": {
              "type": "string",
              "enum": [
                "any",
                "free",
                "paid"
              ],
              "default": "any"
            }
          },
          {
            "name": "revenue",
            "in": "query",
            "required": false,
            "description": "Estimated revenue band. any (the default) does not filter.",
            "schema": {
              "type": "string",
              "enum": [
                "any",
                "under_5k",
                "5k_25k",
                "25k_100k",
                "100k_500k",
                "500k_plus"
              ],
              "default": "any"
            }
          },
          {
            "name": "status",
            "in": "query",
            "required": false,
            "description": "Store status. Defaults to alive.",
            "schema": {
              "type": "string",
              "enum": [
                "alive",
                "dead",
                "password_protected",
                "error"
              ],
              "default": "alive"
            }
          },
          {
            "name": "language",
            "in": "query",
            "required": false,
            "description": "Two-letter language code, for example en. Matches stores that offer that language. Not indexed, so it never counts as one of the required filters.",
            "schema": {
              "type": "string",
              "pattern": "^[A-Za-z]{2}$"
            }
          },
          {
            "name": "new_store",
            "in": "query",
            "required": false,
            "description": "Filter on the new-store flag. any (the default) does not filter.",
            "schema": {
              "type": "string",
              "enum": [
                "any",
                "true",
                "false"
              ],
              "default": "any"
            }
          },
          {
            "name": "created_after",
            "in": "query",
            "required": false,
            "description": "Only stores created on Shopify on or after this date, YYYY-MM-DD.",
            "schema": {
              "type": "string",
              "format": "date"
            }
          },
          {
            "name": "created_before",
            "in": "query",
            "required": false,
            "description": "Only stores created on Shopify on or before this date, YYYY-MM-DD.",
            "schema": {
              "type": "string",
              "format": "date"
            }
          },
          {
            "name": "cursor",
            "in": "query",
            "required": false,
            "description": "The next_cursor value from the previous page. Leave out for the first page.",
            "schema": {
              "type": "string",
              "pattern": "^[0-9]{1,15}$"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "A page of stores.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/StoreList"
                },
                "example": {
                  "data": [
                    {
                      "domain": "arka.com",
                      "countries": [
                        "US"
                      ],
                      "country": "US",
                      "languages": [
                        "en"
                      ],
                      "industry": "Business & Industrial",
                      "theme": "Dawn",
                      "theme_version": "6.0.0",
                      "theme_pricing": "free",
                      "products_count": null,
                      "collections_count": null,
                      "has_blog": false,
                      "articles_count": null,
                      "pages_count": null,
                      "password_protected": false,
                      "password_first_seen": null,
                      "technologies": [
                        "Cloudflare",
                        "core-js",
                        "Facebook Shopify Pixel",
                        "Google Font API",
                        "Google Shopify Pixel",
                        "Google Tag Manager",
                        "HTTP/3",
                        "HubSpot",
                        "Klaviyo",
                        "Marker",
                        "Microsoft Clarity",
                        "PostHog",
                        "Python",
                        "reCAPTCHA",
                        "Reddit",
                        "Searchanise",
                        "Shopify",
                        "Social Snowball Shopify App",
                        "TikTok Shopify Pixel"
                      ],
                      "technologies_count": 19,
                      "apps": [
                        "Facebook & Instagram",
                        "Google & YouTube",
                        "Klaviyo: Email Marketing & SMS",
                        "Pandectes GDPR Compliance",
                        "Snowball: Affiliate Marketing",
                        "TikTok"
                      ],
                      "apps_count": 6,
                      "new_store": false,
                      "ad_pixels": [
                        "facebook",
                        "tiktok",
                        "snapchat",
                        "google_ads",
                        "microsoft"
                      ],
                      "store_score": 36,
                      "store_issues": "Using free theme Dawn (5); 15 technologies detected including premium apps: Klaviyo (12); Store is alive, responding normally (10); Facebook, TikTok, Google, 2 other pixels; 4 social platforms: Facebook, Instagram, Linkedin, Tiktok (9); Limited store maturity indicators (0)",
                      "seo_score": 90,
                      "seo_issues": "Homepage has 13 links with query parameters (index bloat risk) (-5); Homepage has 23 third-party scripts (moderate performance risk) (-5)",
                      "store_name": "Arka",
                      "base_domain": "arka.com",
                      "tld": "com",
                      "meta_title": "Design Eco-Friendly Custom Packaging & Sustainable Boxes Online\n\n        –\n        Arka",
                      "meta_description": "Design custom boxes for Ecommerce with Arka! Use our integrations with Shopify, BigCommerce, Square & more! Order your sustainable custom boxes today.",
                      "company_identifiers": null,
                      "locale": "en",
                      "created_at": "2022-10-23",
                      "domain_created_at": "1995-12-27",
                      "domain_expires_at": "2026-12-26",
                      "first_seen": "2025-12-03",
                      "last_confirmed_live": "2026-11-13",
                      "died_at": null,
                      "status": "alive",
                      "previous_domains": null,
                      "domain_changed": null,
                      "industry_confidence": "high",
                      "niche": "Packaging & shipping supplies",
                      "country_source": "merchant",
                      "revenue": "100k_500k",
                      "search_traffic_status": "Estimated",
                      "search_traffic": 4251,
                      "search_traffic_change_3m": null,
                      "search_traffic_change_12m": null,
                      "search_scope": "worldwide",
                      "search_traffic_month": "2026-11",
                      "plus_clue": "Multipass",
                      "plus_first_seen": "2026-11-10",
                      "plus_last_confirmed": "2026-11-10",
                      "plus_evidence": "Multipass title: Invalid Multipass request; Multipass host: www.arka.com",
                      "apps_added": null
                    },
                    {
                      "domain": "zappysautowashes.com",
                      "countries": [
                        "US"
                      ],
                      "country": "US",
                      "languages": [
                        "en",
                        "fr"
                      ],
                      "industry": "Vehicles & Parts",
                      "theme": "Meka",
                      "theme_version": "5.0.6",
                      "theme_pricing": "paid",
                      "products_count": 478,
                      "collections_count": 16,
                      "has_blog": true,
                      "articles_count": 145,
                      "pages_count": 48,
                      "password_protected": false,
                      "password_first_seen": null,
                      "technologies": [
                        "Cloudflare",
                        "Facebook Shopify Pixel",
                        "Google Shopify Pixel",
                        "HTTP/3",
                        "Microsoft Clarity",
                        "reCAPTCHA",
                        "Shopify",
                        "TikTok Shopify Pixel"
                      ],
                      "technologies_count": 8,
                      "apps": [
                        "Facebook & Instagram",
                        "Google & YouTube",
                        "PageFly ✦ AI Page Builder",
                        "Shopify Forms",
                        "TikTok"
                      ],
                      "apps_count": 5,
                      "new_store": false,
                      "ad_pixels": [
                        "facebook",
                        "tiktok"
                      ],
                      "store_score": 52,
                      "store_issues": "Using premium theme Meka ($240) (25); 5 technologies detected (5); Store is alive, responding normally (10); Facebook, TikTok pixels; 5 social platforms: Twitter, Facebook, Instagram, Tiktok, Youtube (7); 478 products, 16 collections, blog with 145 articles (5)",
                      "seo_score": 95,
                      "seo_issues": "Homepage has 10 links with query parameters (index bloat risk) (-5)",
                      "store_name": "Zappy's Auto Washes",
                      "base_domain": "zappysautowashes.com",
                      "tld": "com",
                      "meta_title": "Zappy's Auto Washes",
                      "meta_description": "\"Where Cars Always Shine\" - The one stop shop for all your car care needs.",
                      "company_identifiers": null,
                      "locale": "en",
                      "created_at": "2017-09-17",
                      "domain_created_at": "2007-08-25",
                      "domain_expires_at": "2027-08-25",
                      "first_seen": "2025-12-03",
                      "last_confirmed_live": "2026-11-11",
                      "died_at": null,
                      "status": "alive",
                      "previous_domains": "zappysauto.com, zappysautowash.com, zwashes.com",
                      "domain_changed": "2026-04-02",
                      "industry_confidence": "high",
                      "niche": "Car care & detailing",
                      "country_source": "merchant",
                      "revenue": "100k_500k",
                      "search_traffic_status": "Estimated",
                      "search_traffic": 3253,
                      "search_traffic_change_3m": -7,
                      "search_traffic_change_12m": 57,
                      "search_scope": "worldwide",
                      "search_traffic_month": "2026-07",
                      "plus_clue": null,
                      "plus_first_seen": null,
                      "plus_last_confirmed": null,
                      "plus_evidence": null,
                      "apps_added": null
                    }
                  ],
                  "next_cursor": "4723"
                }
              }
            }
          },
          "400": {
            "description": "Invalid or missing parameter, unknown parameter name, or a parameter given more than once.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                },
                "example": {
                  "error": {
                    "code": "invalid_parameter",
                    "message": "country must be two letters"
                  }
                }
              }
            }
          },
          "401": {
            "description": "The proxy secret header is missing or wrong (requests that did not come through RapidAPI).",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                },
                "example": {
                  "error": {
                    "code": "unauthorized",
                    "message": "Missing or invalid proxy secret"
                  }
                }
              }
            }
          },
          "500": {
            "description": "Unexpected server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                },
                "example": {
                  "error": {
                    "code": "internal_error",
                    "message": "Internal error"
                  }
                }
              }
            }
          },
          "503": {
            "description": "The database is temporarily busy. Wait the number of seconds in the Retry-After header (10) and send the same request again.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                },
                "example": {
                  "error": {
                    "code": "overloaded",
                    "message": "The database is busy; retry after a few seconds"
                  }
                }
              }
            },
            "headers": {
              "Retry-After": {
                "description": "Seconds to wait before retrying.",
                "schema": {
                  "type": "integer",
                  "example": 10
                }
              }
            }
          }
        }
      }
    },
    "/apps": {
      "get": {
        "operationId": "listApps",
        "summary": "List app names",
        "description": "Returns every app name that can be used as the app filter, with the number of live stores using it, most used first. The current data has 3,264 apps.",
        "parameters": [],
        "responses": {
          "200": {
            "description": "All apps.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "items": {
                        "$ref": "#/components/schemas/App"
                      }
                    }
                  }
                },
                "example": {
                  "data": [
                    {
                      "name": "Facebook & Instagram",
                      "stores": 853921
                    },
                    {
                      "name": "Google & YouTube",
                      "stores": 740269
                    },
                    {
                      "name": "Judge.me Product Reviews App",
                      "stores": 388840
                    },
                    {
                      "name": "Klaviyo: Email Marketing & SMS",
                      "stores": 287566
                    }
                  ]
                }
              }
            }
          },
          "401": {
            "description": "The proxy secret header is missing or wrong (requests that did not come through RapidAPI).",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                },
                "example": {
                  "error": {
                    "code": "unauthorized",
                    "message": "Missing or invalid proxy secret"
                  }
                }
              }
            }
          },
          "500": {
            "description": "Unexpected server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                },
                "example": {
                  "error": {
                    "code": "internal_error",
                    "message": "Internal error"
                  }
                }
              }
            }
          },
          "503": {
            "description": "The database is temporarily busy. Wait the number of seconds in the Retry-After header (10) and send the same request again.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                },
                "example": {
                  "error": {
                    "code": "overloaded",
                    "message": "The database is busy; retry after a few seconds"
                  }
                }
              }
            },
            "headers": {
              "Retry-After": {
                "description": "Seconds to wait before retrying.",
                "schema": {
                  "type": "integer",
                  "example": 10
                }
              }
            }
          }
        }
      }
    },
    "/stores/{domain}/contacts": {
      "get": {
        "operationId": "getStoreContacts",
        "summary": "Get one store's contacts",
        "description": "Returns the emails, phone and social profiles of one store. Requires the Ultra or Mega plan; other plans receive 403 plan_required. Counts against the Contacts quota. The example response below uses placeholder contact values.",
        "parameters": [
          {
            "name": "domain",
            "in": "path",
            "required": true,
            "description": "Store domain, for example arka.com. A leading scheme, path, query and trailing dot are removed and the value is lowercased. The store is found whether the data holds its domain with or without www. and with or without a trailing dot; when both forms exist, the form you gave wins.",
            "schema": {
              "type": "string",
              "minLength": 1
            },
            "example": "arka.com"
          }
        ],
        "responses": {
          "200": {
            "description": "The store's contacts.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "$ref": "#/components/schemas/Contacts"
                    }
                  }
                },
                "example": {
                  "data": {
                    "domain": "example-store.com",
                    "store_name": "Example Store",
                    "emails": [
                      {
                        "email": "owner@example.com",
                        "valid": true,
                        "status": "valid"
                      },
                      {
                        "email": "support@example.com",
                        "valid": false,
                        "status": null
                      }
                    ],
                    "mx_valid": true,
                    "phone": "+1 555 0100",
                    "instagram": "https://instagram.com/example",
                    "facebook": "https://facebook.com/example",
                    "linkedin": "https://linkedin.com/company/example",
                    "twitter": null,
                    "youtube": null,
                    "tiktok": "https://tiktok.com/@example"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Malformed domain.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                },
                "example": {
                  "error": {
                    "code": "bad_request",
                    "message": "Malformed domain"
                  }
                }
              }
            }
          },
          "401": {
            "description": "The proxy secret header is missing or wrong (requests that did not come through RapidAPI).",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                },
                "example": {
                  "error": {
                    "code": "unauthorized",
                    "message": "Missing or invalid proxy secret"
                  }
                }
              }
            }
          },
          "403": {
            "description": "The plan does not include contacts.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                },
                "example": {
                  "error": {
                    "code": "plan_required",
                    "message": "Contact endpoints require the ULTRA or MEGA plan"
                  }
                }
              }
            }
          },
          "404": {
            "description": "No store with this domain.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                },
                "example": {
                  "error": {
                    "code": "store_not_found",
                    "message": "No store found for this domain"
                  }
                }
              }
            }
          },
          "500": {
            "description": "Unexpected server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                },
                "example": {
                  "error": {
                    "code": "internal_error",
                    "message": "Internal error"
                  }
                }
              }
            }
          },
          "503": {
            "description": "The database is temporarily busy. Wait the number of seconds in the Retry-After header (10) and send the same request again.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                },
                "example": {
                  "error": {
                    "code": "overloaded",
                    "message": "The database is busy; retry after a few seconds"
                  }
                }
              }
            },
            "headers": {
              "Retry-After": {
                "description": "Seconds to wait before retrying.",
                "schema": {
                  "type": "integer",
                  "example": 10
                }
              }
            }
          }
        }
      }
    },
    "/contacts": {
      "get": {
        "operationId": "searchContacts",
        "summary": "Search contacts",
        "description": "Returns up to 25 stores with their contacts, using the same filters as /stores plus has_email and email_status. Requires the Ultra or Mega plan; other plans receive 403 plan_required. Counts against the Contacts quota. At least one of country, industry, niche, app and theme is required. Results are paged with next_cursor: pass it as cursor to get the next page. A null next_cursor is the only signal that the results have ended. Each request keeps searching until its page is full, so pages are normally full. A page can still be shorter than the page size, or empty with a non-null next_cursor, when very narrow filters match few stores within a very large group (for example stores created in the last month within a whole country); keep following the cursor. There are no total counts. The example response below uses placeholder contact values.",
        "parameters": [
          {
            "name": "country",
            "in": "query",
            "required": false,
            "description": "Two-letter country code, for example US. Not case sensitive. At least one of country, industry, niche, app and theme is required.",
            "schema": {
              "type": "string",
              "pattern": "^[A-Za-z]{2}$"
            },
            "example": "US"
          },
          {
            "name": "industry",
            "in": "query",
            "required": false,
            "description": "Industry name, 1 to 100 characters, for example Home & Garden.",
            "schema": {
              "type": "string",
              "minLength": 1,
              "maxLength": 100
            }
          },
          {
            "name": "niche",
            "in": "query",
            "required": false,
            "description": "Niche name, 1 to 100 characters.",
            "schema": {
              "type": "string",
              "minLength": 1,
              "maxLength": 100
            }
          },
          {
            "name": "app",
            "in": "query",
            "required": false,
            "description": "Name of an installed Shopify app, 1 to 100 characters, as listed by /apps (case-insensitive). An unknown name returns 400 unknown_app.",
            "schema": {
              "type": "string",
              "minLength": 1,
              "maxLength": 100
            }
          },
          {
            "name": "theme",
            "in": "query",
            "required": false,
            "description": "Theme name, 1 to 100 characters, for example Dawn.",
            "schema": {
              "type": "string",
              "minLength": 1,
              "maxLength": 100
            }
          },
          {
            "name": "theme_pricing",
            "in": "query",
            "required": false,
            "description": "Only stores whose theme is free or paid. any (the default) does not filter.",
            "schema": {
              "type": "string",
              "enum": [
                "any",
                "free",
                "paid"
              ],
              "default": "any"
            }
          },
          {
            "name": "revenue",
            "in": "query",
            "required": false,
            "description": "Estimated revenue band. any (the default) does not filter.",
            "schema": {
              "type": "string",
              "enum": [
                "any",
                "under_5k",
                "5k_25k",
                "25k_100k",
                "100k_500k",
                "500k_plus"
              ],
              "default": "any"
            }
          },
          {
            "name": "status",
            "in": "query",
            "required": false,
            "description": "Store status. Defaults to alive.",
            "schema": {
              "type": "string",
              "enum": [
                "alive",
                "dead",
                "password_protected",
                "error"
              ],
              "default": "alive"
            }
          },
          {
            "name": "language",
            "in": "query",
            "required": false,
            "description": "Two-letter language code, for example en. Matches stores that offer that language. Not indexed, so it never counts as one of the required filters.",
            "schema": {
              "type": "string",
              "pattern": "^[A-Za-z]{2}$"
            }
          },
          {
            "name": "new_store",
            "in": "query",
            "required": false,
            "description": "Filter on the new-store flag. any (the default) does not filter.",
            "schema": {
              "type": "string",
              "enum": [
                "any",
                "true",
                "false"
              ],
              "default": "any"
            }
          },
          {
            "name": "created_after",
            "in": "query",
            "required": false,
            "description": "Only stores created on Shopify on or after this date, YYYY-MM-DD.",
            "schema": {
              "type": "string",
              "format": "date"
            }
          },
          {
            "name": "created_before",
            "in": "query",
            "required": false,
            "description": "Only stores created on Shopify on or before this date, YYYY-MM-DD.",
            "schema": {
              "type": "string",
              "format": "date"
            }
          },
          {
            "name": "cursor",
            "in": "query",
            "required": false,
            "description": "The next_cursor value from the previous page. Leave out for the first page.",
            "schema": {
              "type": "string",
              "pattern": "^[0-9]{1,15}$"
            }
          },
          {
            "name": "has_email",
            "in": "query",
            "required": false,
            "description": "true returns only stores with at least one email. false returns stores that have a contact record (a phone or social link) but no email. any (the default) does not filter.",
            "schema": {
              "type": "string",
              "enum": [
                "any",
                "true",
                "false"
              ],
              "default": "any"
            }
          },
          {
            "name": "email_status",
            "in": "query",
            "required": false,
            "description": "Filter on the verification status of the first email. any (the default) does not filter.",
            "schema": {
              "type": "string",
              "enum": [
                "any",
                "valid",
                "accept_all",
                "unknown"
              ],
              "default": "any"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "A page of contacts.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ContactList"
                },
                "example": {
                  "data": [
                    {
                      "domain": "example-store.com",
                      "store_name": "Example Store",
                      "emails": [
                        {
                          "email": "owner@example.com",
                          "valid": true,
                          "status": "valid"
                        },
                        {
                          "email": "support@example.com",
                          "valid": false,
                          "status": null
                        }
                      ],
                      "mx_valid": true,
                      "phone": "+1 555 0100",
                      "instagram": "https://instagram.com/example",
                      "facebook": "https://facebook.com/example",
                      "linkedin": "https://linkedin.com/company/example",
                      "twitter": null,
                      "youtube": null,
                      "tiktok": "https://tiktok.com/@example"
                    },
                    {
                      "domain": "example-shop.com",
                      "store_name": "Example Shop",
                      "emails": [
                        {
                          "email": "owner@example.com",
                          "valid": true,
                          "status": "valid"
                        }
                      ],
                      "mx_valid": true,
                      "phone": null,
                      "instagram": "https://instagram.com/example",
                      "facebook": null,
                      "linkedin": null,
                      "twitter": null,
                      "youtube": null,
                      "tiktok": null
                    }
                  ],
                  "next_cursor": "199"
                }
              }
            }
          },
          "400": {
            "description": "Invalid or missing parameter, unknown parameter name, or a parameter given more than once.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                },
                "example": {
                  "error": {
                    "code": "invalid_parameter",
                    "message": "country must be two letters"
                  }
                }
              }
            }
          },
          "401": {
            "description": "The proxy secret header is missing or wrong (requests that did not come through RapidAPI).",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                },
                "example": {
                  "error": {
                    "code": "unauthorized",
                    "message": "Missing or invalid proxy secret"
                  }
                }
              }
            }
          },
          "403": {
            "description": "The plan does not include contacts.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                },
                "example": {
                  "error": {
                    "code": "plan_required",
                    "message": "Contact endpoints require the ULTRA or MEGA plan"
                  }
                }
              }
            }
          },
          "500": {
            "description": "Unexpected server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                },
                "example": {
                  "error": {
                    "code": "internal_error",
                    "message": "Internal error"
                  }
                }
              }
            }
          },
          "503": {
            "description": "The database is temporarily busy. Wait the number of seconds in the Retry-After header (10) and send the same request again.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                },
                "example": {
                  "error": {
                    "code": "overloaded",
                    "message": "The database is busy; retry after a few seconds"
                  }
                }
              }
            },
            "headers": {
              "Retry-After": {
                "description": "Seconds to wait before retrying.",
                "schema": {
                  "type": "integer",
                  "example": 10
                }
              }
            }
          }
        }
      }
    }
  },
  "components": {
    "schemas": {
      "Store": {
        "type": "object",
        "description": "One store. Missing values are null; multi-value fields are arrays.",
        "properties": {
          "domain": {
            "type": "string",
            "description": "Store domain as held in the data, lowercase. Most domains are stored without www.; about 19,000 are stored with it, and a few end with a dot."
          },
          "countries": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "description": "Countries the store serves, ISO 3166-1 alpha-2 codes."
          },
          "country": {
            "type": "string",
            "nullable": true,
            "description": "Primary country, ISO 3166-1 alpha-2 code."
          },
          "languages": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "description": "Languages offered, lowercase ISO 639-1 codes."
          },
          "industry": {
            "type": "string",
            "nullable": true,
            "description": "Industry category."
          },
          "theme": {
            "type": "string",
            "nullable": true,
            "description": "Theme name."
          },
          "theme_version": {
            "type": "string",
            "nullable": true,
            "description": "Theme version."
          },
          "theme_pricing": {
            "type": "string",
            "nullable": true,
            "description": "free or paid.",
            "enum": [
              "free",
              "paid",
              null
            ]
          },
          "products_count": {
            "type": "integer",
            "nullable": true,
            "description": "Number of products."
          },
          "collections_count": {
            "type": "integer",
            "nullable": true,
            "description": "Number of collections."
          },
          "has_blog": {
            "type": "boolean",
            "nullable": true,
            "description": "Whether the store has a blog."
          },
          "articles_count": {
            "type": "integer",
            "nullable": true,
            "description": "Number of blog articles."
          },
          "pages_count": {
            "type": "integer",
            "nullable": true,
            "description": "Number of pages."
          },
          "password_protected": {
            "type": "boolean",
            "nullable": true,
            "description": "Whether the storefront is behind a password page."
          },
          "password_first_seen": {
            "type": "string",
            "nullable": true,
            "description": "Date the password page was first seen, YYYY-MM-DD."
          },
          "technologies": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "description": "Technologies detected on the store."
          },
          "technologies_count": {
            "type": "integer",
            "nullable": true,
            "description": "Number of technologies detected."
          },
          "apps": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "description": "Shopify apps detected on the store."
          },
          "apps_count": {
            "type": "integer",
            "nullable": true,
            "description": "Number of Shopify apps detected."
          },
          "new_store": {
            "type": "boolean",
            "nullable": true,
            "description": "Whether the store is flagged as new."
          },
          "ad_pixels": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "description": "Advertising pixels detected."
          },
          "store_score": {
            "type": "integer",
            "nullable": true,
            "description": "Store score."
          },
          "store_issues": {
            "type": "string",
            "nullable": true,
            "description": "Explanation of the store score."
          },
          "seo_score": {
            "type": "integer",
            "nullable": true,
            "description": "SEO score."
          },
          "seo_issues": {
            "type": "string",
            "nullable": true,
            "description": "Explanation of the SEO score."
          },
          "store_name": {
            "type": "string",
            "nullable": true,
            "description": "Store name."
          },
          "base_domain": {
            "type": "string",
            "nullable": true,
            "description": "Registrable base domain."
          },
          "tld": {
            "type": "string",
            "nullable": true,
            "description": "Top-level domain."
          },
          "meta_title": {
            "type": "string",
            "nullable": true,
            "description": "Homepage meta title."
          },
          "meta_description": {
            "type": "string",
            "nullable": true,
            "description": "Homepage meta description."
          },
          "company_identifiers": {
            "type": "string",
            "nullable": true,
            "description": "Company identifiers found on the site, as a JSON string."
          },
          "locale": {
            "type": "string",
            "nullable": true,
            "description": "Store locale."
          },
          "created_at": {
            "type": "string",
            "nullable": true,
            "description": "Date the store was created on Shopify, YYYY-MM-DD."
          },
          "domain_created_at": {
            "type": "string",
            "nullable": true,
            "description": "Domain registration date, YYYY-MM-DD."
          },
          "domain_expires_at": {
            "type": "string",
            "nullable": true,
            "description": "Domain expiry date, YYYY-MM-DD."
          },
          "first_seen": {
            "type": "string",
            "nullable": true,
            "description": "Date the store first appeared in the dataset, YYYY-MM-DD."
          },
          "last_confirmed_live": {
            "type": "string",
            "nullable": true,
            "description": "Date the store was last confirmed live, YYYY-MM-DD."
          },
          "died_at": {
            "type": "string",
            "nullable": true,
            "description": "Date the store was recorded as no longer live, YYYY-MM-DD."
          },
          "status": {
            "type": "string",
            "description": "Store status.",
            "enum": [
              "alive",
              "dead",
              "password_protected",
              "error"
            ]
          },
          "previous_domains": {
            "type": "string",
            "nullable": true,
            "description": "Previous domains of the store."
          },
          "domain_changed": {
            "type": "string",
            "nullable": true,
            "description": "Date the domain changed, YYYY-MM-DD."
          },
          "industry_confidence": {
            "type": "string",
            "nullable": true,
            "description": "Confidence of the industry label."
          },
          "niche": {
            "type": "string",
            "nullable": true,
            "description": "Niche within the industry."
          },
          "country_source": {
            "type": "string",
            "nullable": true,
            "description": "How the country was determined."
          },
          "revenue": {
            "type": "string",
            "nullable": true,
            "description": "Estimated revenue band.",
            "enum": [
              "under_5k",
              "5k_25k",
              "25k_100k",
              "100k_500k",
              "500k_plus",
              null
            ]
          },
          "search_traffic_status": {
            "type": "string",
            "nullable": true,
            "description": "Whether search traffic is estimated."
          },
          "search_traffic": {
            "type": "number",
            "nullable": true,
            "description": "Estimated monthly search traffic."
          },
          "search_traffic_change_3m": {
            "type": "number",
            "nullable": true,
            "description": "Search traffic change over 3 months, percent."
          },
          "search_traffic_change_12m": {
            "type": "number",
            "nullable": true,
            "description": "Search traffic change over 12 months, percent."
          },
          "search_scope": {
            "type": "string",
            "nullable": true,
            "description": "Scope of the search traffic estimate."
          },
          "search_traffic_month": {
            "type": "string",
            "nullable": true,
            "description": "Month of the traffic estimate, YYYY-MM."
          },
          "plus_clue": {
            "type": "string",
            "nullable": true,
            "description": "Shopify Plus signal found on the store."
          },
          "plus_first_seen": {
            "type": "string",
            "nullable": true,
            "description": "Date the Plus signal was first seen, YYYY-MM-DD."
          },
          "plus_last_confirmed": {
            "type": "string",
            "nullable": true,
            "description": "Date the Plus signal was last confirmed, YYYY-MM-DD."
          },
          "plus_evidence": {
            "type": "string",
            "nullable": true,
            "description": "Evidence for the Plus signal."
          },
          "apps_added": {
            "type": "string",
            "nullable": true,
            "description": "Recently added apps with dates."
          }
        }
      },
      "StoreList": {
        "type": "object",
        "properties": {
          "data": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Store"
            }
          },
          "next_cursor": {
            "type": "string",
            "nullable": true,
            "description": "Cursor for the next page, or null when the results have ended."
          }
        }
      },
      "Contacts": {
        "type": "object",
        "properties": {
          "domain": {
            "type": "string",
            "description": "Store domain."
          },
          "store_name": {
            "type": "string",
            "nullable": true,
            "description": "Store name."
          },
          "emails": {
            "type": "array",
            "description": "Up to three email addresses. valid is true only for addresses verified as valid; status is the verification status when one is recorded, otherwise null.",
            "items": {
              "type": "object",
              "properties": {
                "email": {
                  "type": "string",
                  "description": "Email address."
                },
                "valid": {
                  "type": "boolean"
                },
                "status": {
                  "type": "string",
                  "nullable": true,
                  "enum": [
                    "valid",
                    "accept_all",
                    "unknown",
                    null
                  ],
                  "description": "Verification status, or null when none is recorded."
                }
              }
            }
          },
          "mx_valid": {
            "type": "boolean",
            "nullable": true,
            "description": "Whether the email domain has valid MX records."
          },
          "phone": {
            "type": "string",
            "nullable": true,
            "description": "Phone number."
          },
          "instagram": {
            "type": "string",
            "nullable": true,
            "description": "Instagram URL."
          },
          "facebook": {
            "type": "string",
            "nullable": true,
            "description": "Facebook URL."
          },
          "linkedin": {
            "type": "string",
            "nullable": true,
            "description": "LinkedIn URL."
          },
          "twitter": {
            "type": "string",
            "nullable": true,
            "description": "Twitter URL."
          },
          "youtube": {
            "type": "string",
            "nullable": true,
            "description": "YouTube URL."
          },
          "tiktok": {
            "type": "string",
            "nullable": true,
            "description": "TikTok URL."
          }
        }
      },
      "ContactList": {
        "type": "object",
        "properties": {
          "data": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Contacts"
            }
          },
          "next_cursor": {
            "type": "string",
            "nullable": true,
            "description": "Cursor for the next page, or null when the results have ended."
          }
        }
      },
      "App": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string",
            "description": "App name, usable as the app filter."
          },
          "stores": {
            "type": "integer",
            "description": "Number of live stores using the app."
          }
        }
      },
      "Error": {
        "type": "object",
        "properties": {
          "error": {
            "type": "object",
            "properties": {
              "code": {
                "type": "string",
                "description": "Machine-readable code.",
                "enum": [
                  "unauthorized",
                  "method_not_allowed",
                  "plan_required",
                  "invalid_parameter",
                  "unknown_app",
                  "bad_request",
                  "store_not_found",
                  "not_found",
                  "overloaded",
                  "internal_error"
                ]
              },
              "message": {
                "type": "string",
                "description": "Human-readable message."
              }
            }
          }
        }
      }
    }
  }
}