Nexscope logo

Shopify Product Query API

REST API and MCP service documentation generated from server-side API definitions. Responses shown here are the direct payload returned by each API execution.

API selector
Shopify Commerce

API overview

Filter Shopify standalone store products by multiple dimensions (keyword/URL, price, weekly sales, listing date, Facebook ads, competitiveness, supplier availability, shipping country, etc.).

Try this API
Endpoint
https://claw-callback.nexscope.ai/api/skill-api/v1/skills/shopify-product-query/run
MCP method
nexscope_shopify_product_query

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 .
POSThttps://claw-callback.nexscope.ai/api/skill-api/v1/skills/shopify-product-query/run

Run an API

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

Slugshopify-product-query
HeadersAuthorization: Bearer nk_...
Content-Type: application/json
Request bodyAPI-specific JSON object.
Response bodyDirect API response payload. No data/result wrapper is added.

Status codes

CodeDescription
200API executed successfully. Body is the direct response payload.
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.

Example request

curl -X POST https://api.nexscope.ai/api/skill-api/v1/skills/shopify-product-query/run \
  -H "Authorization: Bearer nk_xxxxxxxxxxxxxxxxx" \
  -H "Content-Type: application/json" \
  -d '{   "keyword": "phone case",   "pageSize": 10,   "page": 1 }'
All categories/ Shopify Commerce
POSThttps://claw-callback.nexscope.ai/api/skill-api/v1/skills/shopify-product-query/run

Run this API

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

Open tester

Endpoint

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

Request body

NameTypeRequiredDescription
searchKeystringoptional
Keyword or Shopify product/store URL
priceMinnumberoptional
Price range start (USD), combined with priceMax to form upstream price
Example: 1
priceMaxnumberoptional
Price range end (USD)
Example: 1
salesWeeklyMinintegeroptional
Weekly sales range start
Example: 1
salesWeeklyMaxintegeroptional
Weekly sales range end
Example: 1
publishedTimeBeginstringoptional
Listing date range start
publishedTimeEndstringoptional
Listing date range end
facebookAdintegeroptional
Has Facebook ad: 1=Yes
Example: 1
competitionMinintegeroptional
Competition (number of stores selling) range start
Example: 1
competitionMaxintegeroptional
Competition (number of stores selling) range end
Example: 1
hasSupplierintegeroptional
Has supplier: 1=Yes, 0=No
Example: 1
showDeletedintegeroptional
Show delisted products: 1=Yes, 0=No
Example: 1
countrystringoptional
Shipping country (two-letter country code, e.g., US)
sortByintegeroptional
Sort field (default 14=Weekly sales descending; also includes price/ad count/competition/revenue etc. values, see enumeration below)
Example: 1
pageintegeroptional
Page number (starting from 1)
Example: 1
pageSizeintegeroptional
Results per page, max 100, recommended not to exceed 50
Example: 1

Request example

{
  "keyword": "phone case",
  "pageSize": 10,
  "page": 1
}

Response body

Returns the documented upstream API response directly without an additional wrapper.

NameTypeRequiredDescription
totalintegeroptional
Number of results returned on this page
Example: 1
productNumintegeroptional
Total number of matching products (upstream product_num)
Example: 1
productsarrayoptional
Shopify product list
Example: []
columnsarrayoptional
Columns for rendering
Example: []
titlestringoptional
Title (Shopify Product Query)
sourceTypestringoptional
Source type: shopify
sourceToolstringoptional
Tool type: ehunt
typestringoptional
Render style: tableListWorkbenches
products[].productIdstringoptional
Product ID
Example: example-id
products[].titlestringoptional
Product title
products[].productLinkstringoptional
Product link
products[].previewImageUrlstringoptional
Main image URL
Example: https://example.com/image.jpg
products[].countrystringoptional
Shipping country
products[].minPricestringoptional
Minimum price
products[].maxPricestringoptional
Maximum price
products[].storeIdstringoptional
Store ID
Example: example-id
products[].shopIdstringoptional
Shopify shop ID
Example: example-id
products[].storeLinkstringoptional
Store link
products[].storeRankstringoptional
Store rank
products[].competitorCountstringoptional
Competition (number of stores selling)
products[].facebookAdCountstringoptional
Facebook ad count
products[].weekOrderCountstringoptional
Weekly order count (string)
products[].weekRevenueCountstringoptional
Weekly revenue
products[].weekRevenueGrowthstringoptional
Weekly revenue growth rate (%)
products[].shelfTimestringoptional
Listing time
products[].isDeletedstringoptional
Whether delisted: 0=Listed, 1=Delisted
products[].isFavouritestringoptional
Whether favorited
errcodeintegeroptional
Upstream status code returned by the provider.
errmsgstringoptional
Upstream status message returned by the provider.
codestringoptional
Provider-specific status code.
msgstringoptional
Provider-specific status message.
messagestringoptional
Provider-specific message.
costTokenintegeroptional
Token cost reported by the upstream provider.
costTimeintegeroptional
Execution time reported by the upstream provider.
pageintegeroptional
Current page returned by the upstream provider.
pageSizeintegeroptional
Page size returned by the upstream provider.
pageItemCountintegeroptional
Item count on the current page returned by the upstream provider.
totalPageintegeroptional
Total page count returned by the upstream provider.
dataSnapshotMonthstringoptional
Data snapshot month returned by the upstream provider.

Response example

Direct response payload. No extra wrapper is added.

{
  "total": 1,
  "productNum": 1,
  "products": [
    {
      "productId": "example-id",
      "previewImageUrl": "https://example.com/image.jpg",
      "storeId": "example-id",
      "shopId": "example-id"
    }
  ],
  "columns": []
}

Responses

CodeDescription
200API executed successfully. Body is the direct response payload.
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.

Related APIs

MCP

Use the MCP endpoint when an agent needs to discover and call API tools with JSON-RPC.

GET /api/skill-api/v1/mcp
POST /api/skill-api/v1/mcp
Authorization: Bearer nk_xxxxxxxxxxxxxxxxx
Content-Type: application/json

Call a tool

{
  "jsonrpc": "2.0",
  "id": "tool-call-1",
  "method": "tools/call",
  "params": {
    "name": "nexscope_shopify_product_query",
    "arguments": {
      "keyword": "phone case",
      "pageSize": 10,
      "page": 1
    }
  }
}

Online test

Execute the current API with your API key and JSON payload.

Try it

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

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