Nexscope

Shopify Store Query

Find Shopify stores by country, product range, sales, and audience size. Call the Shopify Store Query API via REST or MCP from 25 credits per call.

CostRecent Avg. 62 · Range 10–75 credits / call
Try online
POST · https://api.nexscope.ai/api/skill-api/v1/skills/shopify-store-query/runMCP · nexscope_shopify_store_query
Shopify Commerce

What this API does

Find Shopify stores by country, product range, sales, and audience size. The request accepts searchKey, country, year, productNumMin, productNumMax. Its documented result includes dataSnapshotMonth, page, pageItemCount, pageSize, sourceTool, sourceType, storeNum, stores.adLink.

Shopify Store Query API use cases

Investigate a seller or store

To investigate a seller or store, a marketplace analyst submits searchKey and country to Shopify Store Query. The returned dataSnapshotMonth, page, pageItemCount help identify the store associated with a candidate product.

Compare storefront product evidence

A marketplace analyst uses Shopify Store Query with searchKey and country to compare storefront product evidence. The returned dataSnapshotMonth, page, pageItemCount help compare products or listings across shortlisted storefronts.

Shortlist stores for further research

For this workflow, a marketplace analyst calls Shopify Store Query with searchKey and country to shortlist stores for further research. The result helps choose stores for a supplier or competitor review.

Shopify Store Query API FAQ

What does the Shopify Store Query API return?

Find Shopify stores by country, product range, sales, and audience size. The documented output includes dataSnapshotMonth, page, pageItemCount, pageSize, sourceTool, sourceType, storeNum, stores.adLink. It corresponds to the supplied searchKey, country, year, productNumMin, productNumMax. Optional fields can be absent; a missing value should not be interpreted as a measured zero. Example values illustrate the response shape, rather than live account results.

How many credits does the Shopify Store Query API cost?

The current documented cost is Recent Avg. 62 · Range 10–75 credits / call. This is the same cost shown at the top of this page. If a range or estimate is displayed, the final charge depends on the request. Review your available credits and the pricing page before calling the API, and check API usage records for the actual charge.

How do I call the Shopify Store Query API from my app or an MCP client?

Send a POST request to https://api.nexscope.ai/api/skill-api/v1/skills/shopify-store-query/run with your API key as a Bearer token and the JSON inputs shown in API integration. In a compatible MCP client such as Claude or Cursor, connect Nexscope and call nexscope_shopify_store_query. The same documented request parameters apply; use Online test to review a request before adding it to your app.

View plans and creditsConnect this API with MCP

Try this API
Endpoint
https://api.nexscope.ai/api/skill-api/v1/skills/shopify-store-query/run
MCP method
nexscope_shopify_store_query

Step 1 of 3 · Authenticate

Authentication

All run endpoints require a user API key. Send it as a bearer token in the Authorization header.

Authorization: Bearer nk-xxxxxxxxxxxxxxxxx
Missing or invalid API keys return an authentication error. Manage keys from .

Step 2 of 3 · Send a request

POSThttps://api.nexscope.ai/api/skill-api/v1/skills/shopify-store-query/run

Run an API

Request parameters documented by ecommerce.shopify-store-query.

Example request

Replace YOUR_API_KEY, then run this command in your terminal.

curl -X POST 'https://api.nexscope.ai/api/skill-api/v1/skills/shopify-store-query/run' \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "page": 1,
  "pageSize": 20,
  "searchKey": "phone case"
}'

Step 3 of 3 · Inspect the result

Check the response

Read code for the request status and data for the result. Open the parameter and response reference for the full field definitions.

HTTP status codes

CodeDescription
200HTTP request completed. Check JSON code; only 0 indicates business success or acceptance.
400Request JSON or required API parameters are invalid.
401API key is missing, invalid, or cannot be matched to a user.
5xxAPI execution or upstream service failed.
All categories/ Shopify Commerce
POSThttps://api.nexscope.ai/api/skill-api/v1/skills/shopify-store-query/run

Run this API

Send a JSON request to execute this API and receive the documented response payload.

Endpoint

MethodPOST
Pathhttps://api.nexscope.ai/api/skill-api/v1/skills/shopify-store-query/run
AuthBearer API key
Content-Typeapplication/json

Request parameters

NameTypeRequiredDescription
searchKeystringoptional
Store name or domain keyword
countrystringoptional
Country code (e.g., US, CN)
yearintegeroptional
Store creation year: 1=Last 1 year, 2=1~2 years, 3=2~3 years, 4=3+ years
Example: 1
productNumMinintegeroptional
Product count range start
Example: 1
productNumMaxintegeroptional
Product count range end
Example: 1
advertiseCountMinintegeroptional
Ad count range start
Example: 1
advertiseCountMaxintegeroptional
Ad count range end
Example: 1
monthlyVisitMinintegeroptional
Monthly visits range start
Example: 1
monthlyVisitMaxintegeroptional
Monthly visits range end
Example: 1
monthOrderMinintegeroptional
Monthly orders range start
Example: 1
monthOrderMaxintegeroptional
Monthly orders range end
Example: 1
sortByintegeroptional
Sort field: 0=Product count, 1=Category count, 2=Monthly visits, 3=FB followers, 4=Ins followers, 5=Ad count, 6=Relevance, 7=Monthly orders (default)
Example: 7
orderBystringoptional
Sort direction: desc (default) / asc
Example: desc
pageintegeroptional
Page number (starting from 1)
Example: 1
pageSizeintegeroptional
Results per page, default 20, max 100
Example: 20

Code example

{
  "page": 1,
  "pageSize": 20,
  "searchKey": "phone case"
}

Response example

Platform response envelope. code 0 indicates success or acceptance; data contains the business result.

{
  "code": 0,
  "cost": "-1",
  "data": {
    "columns": [],
    "storeNum": 1,
    "stores": [
      {
        "facebookUrl": "https://example.com/image.jpg",
        "instagramUrl": "https://example.com/image.jpg",
        "shopId": "example-id",
        "storeId": "example-id"
      }
    ],
    "total": 1
  },
  "msg": null,
  "time": "2026-01-01 00:00:00",
  "traceId": null,
  "ts": "0"
}

Response fields

NameTypeRequiredDescription
codeintegerrequired
0 means accepted or successful; nonzero is a platform error.
coststringrequired
Elapsed milliseconds, never credits; -1 outside web requests.
dataanyrequired
Data value used by this API operation.
msgstring | nullrequired
Msg value used by this API operation.
timestringrequired
Server local time: yyyy-MM-dd HH:mm:ss.
traceIdstring | nullrequired
Trace id value used by this API operation.
tsstringrequired
Epoch milliseconds.

Any of option 1

NameTypeRequiredDescription
dataobjectrequired
Data value used by this API operation.
data.columnsanyoptional
Columns value used by this API operation.
data.costTimeanyoptional
Cost time value used by this API operation.
data.costTokenanyoptional
Cost token value used by this API operation.
data.dataSnapshotMonthanyoptional
Data snapshot month value used by this API operation.
data.pageanyoptional
Page value used by this API operation.
data.pageItemCountanyoptional
Page item count value used by this API operation.
data.pageSizeanyoptional
Page size value used by this API operation.
data.sourceToolanyoptional
Source tool value used by this API operation.
data.sourceTypeanyoptional
Source type value used by this API operation.
data.storeNumanyoptional
Store num value used by this API operation.
data.storesanyoptional
Stores value used by this API operation.
data.titleanyoptional
Title value used by this API operation.
data.totalanyoptional
Total value used by this API operation.
data.totalPageanyoptional
Total page value used by this API operation.
data.typeanyoptional
Type value used by this API operation.

Any of option 1

NameTypeRequiredDescription
data.columnsarrayoptional
Columns for rendering
Example: []

Any of option 2

NameTypeRequiredDescription
data.columnsnulloptional
Columns value used by this API operation.

Any of option 1

NameTypeRequiredDescription
data.costTimeintegeroptional
Execution time reported by the upstream provider.
Example: null

Any of option 2

NameTypeRequiredDescription
data.costTimenulloptional
Cost time value used by this API operation.

Any of option 1

NameTypeRequiredDescription
data.costTokenintegeroptional
Token cost reported by the upstream provider.
Example: null

Any of option 2

NameTypeRequiredDescription
data.costTokennulloptional
Cost token value used by this API operation.

Any of option 1

NameTypeRequiredDescription
data.dataSnapshotMonthstringoptional
Data snapshot month returned by the upstream provider.
Example: null

Any of option 2

NameTypeRequiredDescription
data.dataSnapshotMonthnulloptional
Data snapshot month value used by this API operation.

Any of option 1

NameTypeRequiredDescription
data.pageintegeroptional
Current page returned by the upstream provider.
Example: null

Any of option 2

NameTypeRequiredDescription
data.pagenulloptional
Page value used by this API operation.

Any of option 1

NameTypeRequiredDescription
data.pageItemCountintegeroptional
Item count on the current page returned by the upstream provider.
Example: null

Any of option 2

NameTypeRequiredDescription
data.pageItemCountnulloptional
Page item count value used by this API operation.

Any of option 1

NameTypeRequiredDescription
data.pageSizeintegeroptional
Page size returned by the upstream provider.
Example: null

Any of option 2

NameTypeRequiredDescription
data.pageSizenulloptional
Page size value used by this API operation.

Any of option 1

NameTypeRequiredDescription
data.sourceToolstringoptional
Tool type: ehunt
Example: null

Any of option 2

NameTypeRequiredDescription
data.sourceToolnulloptional
Source tool value used by this API operation.

Any of option 1

NameTypeRequiredDescription
data.sourceTypestringoptional
Source type: shopify
Example: null

Any of option 2

NameTypeRequiredDescription
data.sourceTypenulloptional
Source type value used by this API operation.

Any of option 1

NameTypeRequiredDescription
data.storeNumintegeroptional
Total number of matching stores (upstream store_num)
Example: 1

Any of option 2

NameTypeRequiredDescription
data.storeNumnulloptional
Store num value used by this API operation.

Any of option 1

NameTypeRequiredDescription
data.storesarrayoptional
Shopify store list
Example: []
data.stores[]objectrequired
Item in data stores.
data.stores[].adLinkstringoptional
Ad library link
Example: null
data.stores[].advertiseCountstringoptional
Ad count
Example: null
data.stores[].availableStatusstringoptional
Whether active: 1=Active
Example: null
data.stores[].categoriesarrayoptional
Category list (elements contain id and name)
Example: null
data.stores[].categoryNumstringoptional
Category count
Example: null
data.stores[].countrystringoptional
Country
Example: null
data.stores[].createdTimestringoptional
Creation time
Example: null
data.stores[].emailstringoptional
Contact email
Example: null
data.stores[].facebookUrlstringoptional
Facebook page
Example: https://example.com/image.jpg
data.stores[].fbFollowersstringoptional
Facebook followers
Example: null
data.stores[].globalRankstringoptional
Global rank
Example: null
data.stores[].insFollowersstringoptional
Instagram followers
Example: null
data.stores[].instagramUrlstringoptional
Instagram page
Example: https://example.com/image.jpg
data.stores[].logostringoptional
Store logo URL
Example: null
data.stores[].monthOrderNumstringoptional
Monthly orders (formatted)
Example: null
data.stores[].monthlyVisitstringoptional
Monthly visits (formatted)
Example: null
data.stores[].productNumstringoptional
Product count
Example: null
data.stores[].shopIdstringoptional
Shopify shop ID
Example: example-id
data.stores[].socialLinksobjectoptional
Social media links (Map)
Example: null
data.stores[].storeDomainstringoptional
Store domain
Example: null
data.stores[].storeIdstringoptional
Store ID
Example: example-id
data.stores[].storeLinkstringoptional
Store link
Example: null
data.stores[].storeNamestringoptional
Store name
Example: null

Any of option 2

NameTypeRequiredDescription
data.storesnulloptional
Stores value used by this API operation.

Any of option 1

NameTypeRequiredDescription
data.titlestringoptional
Title (Shopify Store Query)
Example: null

Any of option 2

NameTypeRequiredDescription
data.titlenulloptional
Title value used by this API operation.

Any of option 1

NameTypeRequiredDescription
data.totalintegeroptional
Number of results returned on this page
Example: 1

Any of option 2

NameTypeRequiredDescription
data.totalnulloptional
Total value used by this API operation.

Any of option 1

NameTypeRequiredDescription
data.totalPageintegeroptional
Total page count returned by the upstream provider.
Example: null

Any of option 2

NameTypeRequiredDescription
data.totalPagenulloptional
Total page value used by this API operation.

Any of option 1

NameTypeRequiredDescription
data.typestringoptional
Render style: tableListWorkbenches
Example: null

Any of option 2

NameTypeRequiredDescription
data.typenulloptional
Type value used by this API operation.

Any of option 2

NameTypeRequiredDescription
datanullrequired
Data value used by this API operation.

Responses

CodeDescription
200HTTP request completed. Check JSON code; only 0 indicates business success or acceptance.
400Request JSON or required API parameters are invalid.
401API key is missing, invalid, or cannot be matched to a user.
5xxAPI execution or upstream service failed.

Data source, freshness, and limitations

Source, freshness, coverage, rate limits, and estimation notes are not specified in this API definition unless they appear in the request or response field documentation above. Do not assume official marketplace data or real-time freshness when it is not explicitly documented.

Step 1 of 2 · Connect your MCP client

MCP

V2 recommended

Connect remote agents through the standard MCP 2025-11-25 Streamable HTTP endpoint. Use OAuth 2.1 Authorization Code with PKCE, or an API key for compatibility.

POST https://api.nexscope.ai/api/skill-api/v2/mcp
MCP-Protocol-Version: 2025-11-25
Content-Type: application/json
Authentication

OAuth clients request the mcp:tools scope. The endpoint's 401 response advertises protected-resource metadata for authorization discovery.

Step 2 of 2 · Call the tool

Call a tool

{
  "jsonrpc": "2.0",
  "id": "tool-call-1",
  "method": "tools/call",
  "params": {
    "name": "nexscope_shopify_store_query",
    "arguments": {
      "page": 1,
      "pageSize": 20,
      "searchKey": "phone case"
    }
  }
}

Legacy MCP v1

Existing API-key clients can continue using the compatibility endpoint. New integrations should use MCP v2.

GET / POST /api/skill-api/v1/mcp

Online test

Execute the current API with your API key and JSON payload. Online tests use this site's configured API environment; the Endpoint and copyable examples use the public integration address.

25 credits / callAPI usage records

Try it

Send a real request with the same contract shown in the reference.

Endpoint
https://api.nexscope.ai/api/skill-api/v1/skills/shopify-store-query/run
MCP method
nexscope_shopify_store_query
cURL
curl -X POST \
  https://api.nexscope.ai/api/skill-api/v1/skills/shopify-store-query/run \
  -H "Authorization: Bearer nk-..." \
  -H "Content-Type: application/json" \
  -d '{ "page": 1, "pageSize": 20, "searchKey": "phone case" }'
Response
No response yet. Run the request to see the response here.

Related APIs