apiwren
Shopify Stores API · GET /contacts

Shopify leads and contacts search API

GET /contacts searches Shopify stores with the same filters as /stores and returns up to 25 stores a page with their contact details: up to three emails with a verification status, an MX flag, a phone number and social profile links. Two more filters apply: has_email filters on whether a store has an email, and email_status on the verification status of its first email. It needs the Ultra or Mega plan, and each call is one contact request.

Part of Shopify Stores API, sold on RapidAPI. Needs the Ultra or Mega plan. Paid plans are on the pricing page. Endpoint details checked 2026-11-20.

See the plans on RapidAPIAll 5 endpointsOpenAPI spec

What GET /contacts returns

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

NameRequiredValuesNotes
countrynomatches ^[A-Za-z]{2}$Two-letter country code, for example US. Not case sensitive. At least one of country, industry, niche, app and theme is required.
industrynostringIndustry name, 1 to 100 characters, for example Home & Garden.
nichenostringNiche name, 1 to 100 characters.
appnostringName of an installed Shopify app, 1 to 100 characters, as listed by /apps (case-insensitive). An unknown name returns 400 unknown_app.
themenostringTheme name, 1 to 100 characters, for example Dawn.
theme_pricingnoany, free, paid (default any)Only stores whose theme is free or paid. any (the default) does not filter.
revenuenoany, under_5k, 5k_25k, 25k_100k, 100k_500k, 500k_plus (default any)Estimated revenue band. any (the default) does not filter.
statusnoalive, dead, password_protected, error (default alive)Store status. Defaults to alive.
languagenomatches ^[A-Za-z]{2}$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.
new_storenoany, true, false (default any)Filter on the new-store flag. any (the default) does not filter.
created_afternostringOnly stores created on Shopify on or after this date, YYYY-MM-DD.
created_beforenostringOnly stores created on Shopify on or before this date, YYYY-MM-DD.
cursornomatches ^[0-9]{1,15}$The next_cursor value from the previous page. Leave out for the first page.
has_emailnoany, true, false (default any)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.
email_statusnoany, valid, accept_all, unknown (default any)Filter on the verification status of the first email. any (the default) does not filter.

Example request

Every parameter that has an example, with country set explicitly. Send your key in X-RapidAPI-Key.

curl --request GET \
  --url 'https://shopify-stores-api-search-apps-leads-contacts.p.rapidapi.com/contacts?country=US' \
  --header 'X-RapidAPI-Key: YOUR_RAPIDAPI_KEY' \
  --header 'X-RapidAPI-Host: shopify-stores-api-search-apps-leads-contacts.p.rapidapi.com'
import requests

resp = requests.get(
    "https://shopify-stores-api-search-apps-leads-contacts.p.rapidapi.com/contacts",
    params={"country": "US"},
    headers={
        "X-RapidAPI-Key": "YOUR_RAPIDAPI_KEY",
        "X-RapidAPI-Host": "shopify-stores-api-search-apps-leads-contacts.p.rapidapi.com",
    },
    timeout=30,
)
if not resp.ok:  # errors come as an HTTP status, with the reason in the body
    raise RuntimeError(f"{resp.status_code}: {resp.text[:300]}")
print(resp.json()["data"])
const url = new URL('https://shopify-stores-api-search-apps-leads-contacts.p.rapidapi.com/contacts');
url.search = new URLSearchParams({ country: 'US' });

const res = await fetch(url, {
  headers: {
    'X-RapidAPI-Key': process.env.RAPIDAPI_KEY,
    'X-RapidAPI-Host': 'shopify-stores-api-search-apps-leads-contacts.p.rapidapi.com',
  },
});
if (!res.ok) throw new Error(`${res.status}: ${await res.text()}`);
const { data } = await res.json();
console.log(data);

Example response

The example from the API’s OpenAPI file. The contact values are placeholders.

200 OK
{
  "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"
}

What people use it for

FAQ

How do I get only stores with a verified email?
Pass email_status=valid. It keeps the stores whose first email is verified as valid. Across the database, about 824,000 live stores have an email verified as valid.
How many stores come back per request?
Up to 25 a page. Pass next_cursor as cursor for the next page and stop when it is null.
Can I use the contacts search on the free plan?
No. It needs the Ultra or Mega plan. Basic and Pro receive HTTP 403 with plan_required.
How is a contacts search counted?
Each call is one request and one contact request, whatever the number of stores on the page. Ultra includes 1,000 contact requests a month and Mega 10,000.
What does has_email=false return?
Stores that have a contact record with a phone or social link but no email.

Related endpoints

See all 5 endpoints and the plan table on the Shopify Stores API page, or every parameter and error in the openapi spec.

Try GET /contacts. Needs the Ultra or Mega plan.

Get Shopify Stores API on RapidAPI
Free plan on every API

Give your app real data.

Every API has a free plan on RapidAPI, and one key works for all of them.