Walmart Intelligence ST
Walmart Category Market MCP
Find Walmart categories and review category market reports. Call the Walmart Category Market API via REST or MCP in your app or AI agent.
Walmart Category Market AI Prompts & Use Cases
After connecting this MCP tool to your AI assistant, you can ask the questions below. Replace bracketed placeholders with your own inputs and use the supported values in Arguments.
New to Nexscope MCP? Follow the connection guide, then use the prompts below. The Integration and Parameters & Response tabs contain the connection steps, call example, and technical reference.
1. Browse Walmart Categories
Prompt: Show the Walmart category tree so I can choose the category for my product research. Preserve parent-child relationships.
2. Find A Walmart Category
Prompt: Find Walmart categories matching [category name]. Show the returned category paths so I can select the correct one.
3. Review A Category Market Report
Prompt: Get the market report for Walmart category [category path from lookup]. Summarize the available category information without inferring missing sales figures.
What You Need to Provide
Replace bracketed inputs with your own values. Use only the documented marketplace, period and input formats.
Returned estimates and rankings describe the selected data and period; missing values are not zero and a page of results is not the full market.
Step 1 · Connect
Connect Your AI Assistant
Connect a compatible MCP client to Nexscope, then select this tool from your assistant. Use the connection settings in your client to complete authentication.
POST https://api.nexscope.ai/mcp
MCP-Protocol-Version: 2025-11-25
Content-Type: application/jsonAuthentication
Use OAuth 2.1 Authorization Code with PKCE and the mcp:tools scope. API keys remain supported as a compatibility option.
Authorization: Bearer nk-xxxxxxxxxxxxxxxxxUsing an API key? Get your key from API Access and include it in the Authorization header shown above.
Call this MCP tool
nexscope_walmart_category_markethttps://api.nexscope.ai/mcptools/callInitialize an MCP 2025-11-25 Streamable HTTP session at https://api.nexscope.ai/mcp, then use tools/call.
{
"jsonrpc": "2.0",
"id": "walmart-category-market-1",
"method": "tools/call",
"params": {
"name": "nexscope_walmart_category_market",
"arguments": {
"operation": "tree"
}
}
}MCP 2025-11-25 · Streamable HTTPProgress is delivered on the original POST SSE response. GET SSE carries notifications; reconnecting must query existing asynchronous work rather than submit again.
Arguments
operation: tree
| Name | Type | Required | Description |
|---|---|---|---|
operation | string | required | Operation: tree, searchByName, or marketReport Constant: tree |
operation: searchByName
| Name | Type | Required | Description |
|---|---|---|---|
name | string | required | Category name required by searchByName Minimum length: 1 |
operation | string | required | Operation: tree, searchByName, or marketReport Constant: searchByName |
operation: marketReport
| Name | Type | Required | Description |
|---|---|---|---|
nodePath | string | required | Underscore-separated category node path required by marketReport Pattern: ^\d+(?:_\d+)+$ |
operation | string | required | Operation: tree, searchByName, or marketReport Constant: marketReport |
Response fields
Treat structuredContent as the programmatic API response payload.
| Name | Type | Required | Description |
|---|---|---|---|
errcode | integer | optional | Gateway framework layer status code; `200` indicates that the request successfully entered the business response |
errmsg | string | optional | Gateway framework layer status message; typically `ok` on success |
code | integer | optional | `200` indicates success |
msg | string | optional | Response message; when there is no data, it may be "query successful, but no data" |
data | object | optional | Fixed response container; `data.value` retains ST primitive array, object, scalar or `null` by operation |
operation | string | optional | `tree`, `searchByName` or `marketReport` actually executed this time |
requestConsumed | integer | optional | This upstream consumption; when the upstream is missing or returns 0, it is completed according to the document consumption of the operation; when ST explicitly returns `Code=11` (no data), it remains 0 |
costTime | integer | optional | Time taken, unit is milliseconds |
costToken | integer / absent | optional | Production gateway response header `X-Cost-Token`; the entry script will be copied to this field, and this field is currently missing when parsing the JSON body directly. |
costCredit | integer / absent | optional | Production gateway response header `X-Cost-Credit`, which is the actual computing power deducted this time; the entry script will be copied to this field |
sourceType | string | optional | `st` |
tree | array<object> | optional | Complete category tree; array elements are category nodes |
searchByName | array<object> | optional | Related categories; maximum 3 items |
marketReport | array<object> | optional | Category product summary array; return the array directly without covering the `Products` layer |
Id | integer | optional | Category ID |
ParentId | integer | optional | Parent category ID; `0` represents the top level |
NodeId | string | optional | Walmart category node ID |
Name | string | optional | English category name |
CNName | string | optional | Chinese category name |
URL | string | optional | Category URL |
NodeId | string | optional | The complete category path separated by underscores can be used directly as `marketReport.nodePath` |
CategoryName | string | optional | Category display name |
Title | string | optional | Product title |
Photo | array<string> | optional | Product image URL array |
ListingSalesVolumeOfMonth | integer | optional | Estimated sales volume in the last 30 days in the Listing dimension, without distinguishing between variants |
ListingSalesOfMonth | integer | optional | Estimated sales in the past 30 days in the Listing dimension; the unit for the US site is cents |
ProductId | string | optional | Walmart ProductId |
ParentProductId | string | optional | Parent product ProductId |
Price | integer | optional | Selling price; the US site unit is cents, such as `1999` means `$19.99` |
Brand | string | optional | brand |
Seller | string | optional | Seller name at the time of collection |
Shipedby | string | optional | The delivery method at the time of collection; the field name is the original spelling of the upstream |
WFSFee | integer | optional | WFS fee; US site unit is cents |
Attribute | array<string> / null | optional | Product attributes, interleaved encoding according to `[attribute name, attribute value, ...]` |
FirstReviewsDate | string / null | optional | Date of first comment in the format `yyyy-MM-dd` |
ReviewsCount | integer | optional | Number of comments |
Ratings | number | optional | Rating, like `4.8` |
NodePath | array<string\|null> | optional | Category and ranking records are grouped and coded according to `[category name, NodeId, ranking date, ranking, ...]`; when the ranking on a certain day is missing, the corresponding position is `null` |
Label | array<string> | optional | Product tags, such as `pickup`, `savewith`, `bestsell` |
PopularPick | integer | optional | Popular Pick tag; `1` indicates existence |
Clearance | integer | optional | Clearance tag; `1` indicates existence |
ReducedPrice | integer | optional | Reduced Price tag; `1` indicates existence |
Rollback | integer | optional | Rollback token; `1` indicates existence |
FlashDeal | integer | optional | Flash Deal tag; `1` indicates existence |
Size | array<string> / null | optional | Outer packaging size `[longest side, second longest side, shortest side]`, unit is cm |
Weight | number | optional | Product weight in grams |
Variants | array<object> / null | optional | Variation list, fields are shown in the table below |
NumberOfStar | array<number\|string> / null | optional | The number of reviews for each star rating, according to `[star rating, number of reviews, ...]` staggered coding |
VariantId | string | optional | Variant ProductId |
Url | string | optional | Variant product URL |
Property | array<string> | optional | Variant attributes, encoded by `[attribute name, attribute value, ...]` |
PriceUpdate | string / null | optional | Price update time, usually `yyyy-MM-dd` |
DetailUpdate | string / null | optional | Details update time, usually `yyyy-MM-dd`; when there is no valid date, upstream placeholders such as `--` may be used |
Format Illustration
Illustrative example with fictional data, not a live tool call.
Illustrative Question
Show the Walmart category tree so I can choose a category for product research.
Illustrative Response Explanation
The illustrative result contains one top-level category, “Example electronics category”, with parent ID 0. Use a category path returned by a real lookup before requesting its market report.
About this sample: Illustrative category record, not a verified current Walmart taxonomy.
Published sample data is not available for this page. A format illustration or workflow guide is not a substitute for a published result.
View the MCP Request & Response Format
Examples
Illustrative example with fictional data, not a live tool call.
The JSON-RPC envelope below illustrates how the shown arguments and payload fit into MCP. It is not captured network traffic or proof of a successful call. Workflow-only examples do not include a result.
MCP Request
{
"jsonrpc": "2.0",
"id": "walmart-category-market-example",
"method": "tools/call",
"params": {
"name": "nexscope_walmart_category_market",
"arguments": {
"operation": "tree"
}
}
}MCP Response Format
{
"jsonrpc": "2.0",
"id": "walmart-category-market-example",
"result": {
"content": [
{
"type": "text",
"text": "{\"code\":0,\"msg\":null,\"data\":{\"operation\":\"tree\",\"data\":{\"value\":[{\"Id\":1,\"ParentId\":0,\"NodeId\":\"3944\",\"Name\":\"Example electronics category\"}]}}}"
}
],
"structuredContent": {
"code": 0,
"msg": null,
"data": {
"operation": "tree",
"data": {
"value": [
{
"Id": 1,
"ParentId": 0,
"NodeId": "3944",
"Name": "Example electronics category"
}
]
}
}
},
"isError": false
}
}