How to check if a website uses Shopify

Checked on 2026-11-24.

Three things give a Shopify store away, and Shopify documents each of them: the DNS records that point a store's domain at Shopify, what its theme puts in the page (files under /cdn/shop/, a "Powered by Shopify" link, the window.Shopify object), and the Ajax API at /cart.js. A headless store, whose front end runs somewhere else, shows few of them. For a list of domains, one API request per domain answers with the store's facts, or with a 404 not_shopify that costs nothing.

1. In the browser

  • The footer. Shopify themes can show a "Powered by Shopify" link: the Liquid powered_by_link object writes it, pointing at shopify.com with utm_campaign=poweredby. Its absence proves nothing: the Help Center explains how merchants remove the message "when you don't want it displayed in your store".
  • The console. Shopify's Ajax API documentation says "the global value window.Shopify.routes.root is available" to theme code as the base of its addresses, and that it always ends in a /. Open the developer console and type Shopify.routes.root: where a Shopify theme defines it you get a path ending in /, elsewhere an error.
  • The page source. Theme files are served from Shopify's CDN. The Liquid reference shows asset_url turning cart.js into an address of the form //polinas-potent-potions.myshopify.com/cdn/shop/t/4/assets/cart.js. On a store's own domain the /cdn/shop/ path appears under that domain: the icon in our saved answer for www.allbirds.com sits under www.allbirds.com/cdn/shop/files/. A script block in the source also names the store's myshopify.com domain and its theme, as the theme and apps guide shows.

2. The domain's DNS records

A store that uses its own domain points it at Shopify. The Help Center's page on connecting a third-party domain gives the records: an A record to 23.227.38.65, an AAAA record to 2620:0127:f00f:5::, and a www CNAME record to shops.myshopify.com. It adds that the A record "can display an address with a different host ID", the last of the four numbers, depending on the region, and gives 23.227.38.32 as an example. With dnspython (2.9.2, Python 3.11 or later):

Python
# pip install dnspython
import dns.exception
import dns.resolver


def points_to_shopify(host):
    """True when host has one of the records Shopify's Help Center tells stores to set."""
    for rdtype in ("CNAME", "A"):
        try:
            answer = dns.resolver.resolve(host, rdtype)
        except dns.exception.DNSException:   # no such record, no such name, timeout
            continue
        for record in answer:
            if rdtype == "CNAME" and str(record.target).rstrip(".").lower() == "shops.myshopify.com":
                return True
            if rdtype == "A" and record.address.startswith("23.227.38."):
                return True
    return False


for host in ["allbirds.com", "www.allbirds.com"]:
    print(host, points_to_shopify(host))

Shopify also expects these records to be published as they are. Its Cloudflare page asks merchants to set every record that points to Shopify to "DNS only", and says "Cloudflare proxy setups, including Orange-to-Orange, aren't supported".

Where it stops: DNS tells you where a domain points, not what a visitor sees there; check the host the store is actually on, such as www or a shop. subdomain. A domain that is not connected to its store, or a headless front end hosted elsewhere, points somewhere else. And the addresses are the Help Center's of today: if Shopify changes them, the check has to change too.

3. In Python: the page and /cart.js

The Ajax API is "a suite of lightweight REST API endpoints for development of Shopify themes", and GET /{locale}/cart.js returns the cart as JSON, with fields such as token, item_count, items and currency. The documentation also says that it "can only be used by themes that are hosted by Shopify", that it is unauthenticated, and that it has "no hard rate limits" but is "still subject to Shopify's standard API abuse-prevention measures". One request to it, and one for the home page, give you four signs:

Python
# pip install requests
import requests


def shopify_signs(host):
    """The signs of a Shopify theme in a site's home page and its /cart.js."""
    signs = []
    session = requests.Session()
    try:
        page = session.get(f"https://{host}/", timeout=15).text
    except requests.exceptions.RequestException:
        return signs
    if "/cdn/shop/" in page:
        signs.append("theme files under /cdn/shop/")
    if ".myshopify.com" in page:
        signs.append("a myshopify.com address")
    if "utm_campaign=poweredby" in page:
        signs.append("the Powered by Shopify link")
    try:
        cart = session.get(f"https://{host}/cart.js", timeout=15).json()
        if isinstance(cart, dict) and "item_count" in cart and "items" in cart:
            signs.append("/cart.js answers with a cart")
    except (requests.exceptions.RequestException, requests.exceptions.JSONDecodeError):
        pass
    return signs


print(shopify_signs("www.allbirds.com"))

Where it stops: the page tests are text matches. A blog post or an agency's site that writes about Shopify can contain a myshopify.com address, which is why one sign is weaker than two. A store can serve a script a different page than it serves a browser, or refuse the request. Keep the requests few: these are a store's pages, not an API meant for your crawler.

Headless stores

Shopify's headless documentation describes them: "Headless commerce separates your storefront's frontend from its backend", and "You choose the stack, framework, and hosting for your frontend." Shopify hosts one kind of them itself: Oxygen is "Shopify's hosting platform for Hydrogen storefronts". Such a store has no Shopify theme, so the theme files, the footer link and Shopify.routes.root are missing, and the Ajax documentation says "You can't use the Ajax API on a Shopify custom storefront". None of the outside checks above settles whether a headless site sells through Shopify.

4. One request per domain: the store endpoint

The Pipefetch Shopify store endpoint reads a site's home page and the public feeds a Shopify storefront keeps, and answers only when it finds a store's facts there: its myshopify.com domain, a theme with an id, products or collections. A site where it finds none answers 404 not_shopify, which costs nothing.

Python
import os
import requests


def shopify_check(domain):
    res = requests.get(
        "https://pipefetch.com/v1/shopify/store",
        params={"url": domain, "products": 1, "collections": 0},   # a small answer; the price is the same
        headers={"x-api-key": os.environ["PIPEFETCH_API_KEY"]},
        timeout=90,
    )
    if res.status_code == 404:
        return res.json()["error"]["code"]   # not_shopify or website_unreachable: not charged
    res.raise_for_status()
    store = res.json()["data"]["store"]
    return f"Shopify: {store['myshopifyDomain']} ({store['currency']}, {store['country']})"


for domain in ["www.allbirds.com"]:   # your list of domains
    print(domain, shopify_check(domain))

The same from Node.js:

JavaScript
const url = new URL('https://pipefetch.com/v1/shopify/store');
url.searchParams.set('url', 'www.allbirds.com');
url.searchParams.set('products', '1');
url.searchParams.set('collections', '0');

const res = await fetch(url, { headers: { 'x-api-key': process.env.PIPEFETCH_API_KEY } });
const body = await res.json();
if (res.status === 404) {
  console.log(body.error.code); // not_shopify or website_unreachable: not charged
} else {
  console.log(body.data.store.myshopifyDomain, body.data.theme);
}

For www.allbirds.com, our saved answer of November 19, 2026 has the store domain weareallbirds.myshopify.com, the currency USD and the country US. The full answer also has the theme, the apps and pixels found in the home page, products, collections and contact details; the reference lists every field. products=1 and collections=0 keep the answer small when you only want to know whether a site is a store.

Where it stops: it reads what a store serves to a plain HTTP request, without a browser. A headless store has no Shopify theme to state those facts, so it can come back as not_shopify. A site that does not exist, does not answer within 15 seconds or refuses the request answers 404 website_unreachable, which is free and tells you nothing either way. store.currency and store.country are those the store showed our request, so for a store that sells in several markets they are one market's. A store answer costs 1 credit, and most requests take 2 to 9 seconds. A new account has 100 free credits and needs no card. It is not an official Shopify API, and Pipefetch is not affiliated with Shopify or with the stores it reads.

If your list mixes platforms and you want each site's stack, not only a yes or no, the tech stack endpoint names a shop's store platform and payment providers along with its framework, hosting and email setup; the technology detection guide covers that question.

Which one should you use?

SituationUse
One site, right nowThe browser console: Shopify.routes.root, and the page source
Many domains, without loading any pageThe DNS check
Many domains, with a second opinion from the storefrontThe page and /cart.js check
A yes or no with the store's domain, theme and products, from a serverThe store endpoint

Try it with 100 free credits. No card needed. No scraper to build or maintain. Get an API key or read the docs.

Every source

YouTube

Instagram

Websites

TikTok

Facebook

Google

Threads

LinkedIn

App stores

Steam

X

Pinterest

Airbnb

Real estate

Keywords

Job boards

Eventbrite

Public tenders

All guides