https://api.nexscope.ai/st/walmart/categoryMarketEjecutar esta API
Envía una solicitud JSON para ejecutar esta API y recibir los datos de respuesta documentados.
Endpoint
| Método | POST |
| Ruta | https://api.nexscope.ai/st/walmart/categoryMarket |
| Autenticación | Bearer API key |
| Content-Type | application/json |
Parámetros de la solicitud
Respuesta de ejemplo
Estructura de respuesta de la plataforma. code 0 indica éxito o aceptación; data contiene el resultado de negocio.
No hay un ejemplo de respuesta publicado para esta API. Consulta los campos de respuesta siguientes.
Campos de respuesta
Referencia de campos de respuesta (53 campos)
| Nombre | Tipo | Obligatorio | Descripción |
|---|---|---|---|
errcode | integer | opcional | Gateway framework layer status code; `200` indicates that the request successfully entered the business response |
errmsg | string | opcional | Gateway framework layer status message; typically `ok` on success |
code | integer | opcional | `200` indicates success |
msg | string | opcional | Response message; when there is no data, it may be "query successful, but no data" |
data | object | opcional | Fixed response container; `data.value` retains ST primitive array, object, scalar or `null` by operation |
operation | string | opcional | `tree`, `searchByName` or `marketReport` actually executed this time |
requestConsumed | integer | opcional | 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 | opcional | Time taken, unit is milliseconds |
costToken | integer / absent | opcional | 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 | opcional | 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 | opcional | `st` |
tree | array<object> | opcional | Complete category tree; array elements are category nodes |
searchByName | array<object> | opcional | Related categories; maximum 3 items |
marketReport | array<object> | opcional | Category product summary array; return the array directly without covering the `Products` layer |
Id | integer | opcional | Category ID |
ParentId | integer | opcional | Parent category ID; `0` represents the top level |
NodeId | string | opcional | Walmart category node ID |
Name | string | opcional | English category name |
CNName | string | opcional | Chinese category name |
URL | string | opcional | Category URL |
NodeId | string | opcional | The complete category path separated by underscores can be used directly as `marketReport.nodePath` |
CategoryName | string | opcional | Category display name |
Title | string | opcional | Título del producto |
Photo | array<string> | opcional | Product image URL array |
ListingSalesVolumeOfMonth | integer | opcional | Estimated sales volume in the last 30 days in the Listing dimension, without distinguishing between variants |
ListingSalesOfMonth | integer | opcional | Estimated sales in the past 30 days in the Listing dimension; the unit for the US site is cents |
ProductId | string | opcional | Walmart ProductId |
ParentProductId | string | opcional | Parent product ProductId |
Price | integer | opcional | Selling price; the US site unit is cents, such as `1999` means `$19.99` |
Brand | string | opcional | brand |
Seller | string | opcional | Seller name at the time of collection |
Shipedby | string | opcional | The delivery method at the time of collection; the field name is the original spelling of the upstream |
WFSFee | integer | opcional | WFS fee; US site unit is cents |
Attribute | array<string> / null | opcional | Product attributes, interleaved encoding according to `[attribute name, attribute value, ...]` |
FirstReviewsDate | string / null | opcional | Date of first comment in the format `yyyy-MM-dd` |
ReviewsCount | integer | opcional | Number of comments |
Ratings | number | opcional | Rating, like `4.8` |
NodePath | array<string\|null> | opcional | 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> | opcional | Product tags, such as `pickup`, `savewith`, `bestsell` |
PopularPick | integer | opcional | Popular Pick tag; `1` indicates existence |
Clearance | integer | opcional | Clearance tag; `1` indicates existence |
ReducedPrice | integer | opcional | Reduced Price tag; `1` indicates existence |
Rollback | integer | opcional | Rollback token; `1` indicates existence |
FlashDeal | integer | opcional | Flash Deal tag; `1` indicates existence |
Size | array<string> / null | opcional | Outer packaging size `[longest side, second longest side, shortest side]`, unit is cm |
Weight | number | opcional | Product weight in grams |
Variants | array<object> / null | opcional | Variation list, fields are shown in the table below |
NumberOfStar | array<number\|string> / null | opcional | The number of reviews for each star rating, according to `[star rating, number of reviews, ...]` staggered coding |
VariantId | string | opcional | Variant ProductId |
Url | string | opcional | Variant product URL |
Property | array<string> | opcional | Variant attributes, encoded by `[attribute name, attribute value, ...]` |
PriceUpdate | string / null | opcional | Price update time, usually `yyyy-MM-dd` |
DetailUpdate | string / null | opcional | Details update time, usually `yyyy-MM-dd`; when there is no valid date, upstream placeholders such as `--` may be used |
Respuestas
| Código | Descripción |
|---|---|
| 200 | Respuesta HTTP predeterminada tanto para el éxito como para muchos errores de negocio. Solo el código JSON externo 0 indica éxito o aceptación asíncrona; consulta data para obtener el resultado. |
| 429 | Límite de admisión de ejecuciones; respeta Retry-After cuando esté presente. |
| 503 | La admisión de ejecuciones no está disponible temporalmente; respeta Retry-After cuando esté presente. |
| Opcional | X-Nexscope-Http-Status: semantic asigna estados HTTP a los errores de negocio gestionados por el controlador en las rutas de ejecución y tareas. Los fallos previos a la autenticación, como la ausencia de una clave API (code 11209), pueden seguir devolviendo HTTP 200 antes de esta asignación. Comprueba siempre el código JSON externo; las solicitudes malformadas y los fallos de infraestructura también pueden devolver respuestas HTTP distintas de 200. |
Fuente de datos, vigencia y limitaciones
La fuente, la vigencia, la cobertura, los límites de frecuencia y las notas de estimación no se especifican en esta definición de API salvo que aparezcan en la documentación de campos de solicitud o respuesta anterior. No supongas datos oficiales del mercado ni actualización en tiempo real cuando no estén documentados explícitamente.