https://api.nexscope.ai/kp/productSearchEjecutar 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/kp/productSearch |
| Autenticación | Bearer API key |
| Content-Type | application/json |
Parámetros de la solicitud
| Nombre | Tipo | Obligatorio | Descripción |
|---|---|---|---|
brand | array | opcional | Brand, OR match. |
brand[] | string | obligatorio | Marca, o partido. |
buyBoxIsAmazon | boolean | opcional | Whether the Buy Box seller is Amazon. |
buyBoxIsFBA | boolean | opcional | Whether the Buy Box is FBA. |
categoriesExclude | array | opcional | Subcategory IDs to exclude, up to 50. Cantidad máxima de elementos: 50 |
categoriesExclude[] | integer | obligatorio | Subcategoría IDs a excluir, hasta 50. |
categoriesExcludeNames | array | opcional | Names of subcategories to be excluded, up to 50; used when `categoriesExclude` is empty, supporting full category paths. Cantidad máxima de elementos: 50 |
categoriesExcludeNames[] | string | obligatorio | Nombres de las subcategorías que deben excluirse, hasta 50; utilizados cuando `categoriesExclude` está vacía, soporta rutas de categoría completas. |
categoriesInclude | array | opcional | Subcategory IDs to include, up to 50; only include products listed directly in these subcategories. Cantidad máxima de elementos: 50 |
categoriesInclude[] | integer | obligatorio | ID de subcategorías que deben incluir, hasta 50; solamente incluyen productos listados directamente en estas subcategorías. |
categoriesIncludeNames | array | opcional | Subcategory names to include, up to 50; used when `categoriesInclude` is empty, supports full category paths separated by `:` or `›`. Cantidad máxima de elementos: 50 |
categoriesIncludeNames[] | string | obligatorio | Nombres de subcategorías que deben incluir, hasta 50; utilizados cuando `categoriesInclude` está vacío, soporta rutas de categoría completas separadas por `:` o `›`. |
color | array | opcional | Color, OR match. |
color[] | string | obligatorio | Color, o partido. |
domain | string | obligatorio | Amazon domain name ID: `1`=USA, `2`=UK, `3`=Germany, `4`=France, `5`=Japan, `6`=Canada, `8`=Italy, `9`=Spain, `10`=India, `11`=Mexico. |
history | integer | opcional | Whether the return value contains historical data/historical sales volume: `1`=obtain, `0`=not obtain. Predeterminado: 0 |
isHazMat | boolean | opcional | Whether it is dangerous goods. |
keyword | string | opcional | Title keyword; case-insensitive, spaces represent word segmentation AND, when the keyword itself contains spaces, it should be wrapped in double quotes, and the prefix `-` is supported for exclusion; `&` will be replaced by spaces, with a maximum of 50 keywords and a maximum of 1000 characters. |
page | integer | opcional | Page number, starting from 1. Predeterminado: 1 |
perPage | integer | opcional | The maximum number of results returned per page, minimum 50, maximum 100. Predeterminado: 50 |
productType | array | opcional | Product Types: `0`=Standard Product, `1`=Downloadable Product, `2`=Ebook, `5`=Variant Parent ASIN. Predeterminado: [0,1,2] |
productType[] | integer | obligatorio | Tipos de productos: `0`= Producto estándar, `1`= Producto descargable, `2`=Ebook, `5`=Variante Padre ASIN. |
rating | integer | opcional | Whether to obtain rating information: `1`=obtain, `0`=not obtain. Predeterminado: 1 |
rootCategory | array | opcional | Root category ID, up to 50. Cantidad máxima de elementos: 50 |
rootCategory[] | integer | obligatorio | Identificación de categoría raíz, hasta 50. |
rootCategoryNames | array | opcional | Root category name, up to 50; used when `rootCategory` is empty, the system automatically searches for the corresponding category ID. Cantidad máxima de elementos: 50 |
rootCategoryNames[] | string | obligatorio | Nombre de la categoría raíz, hasta 50; utilizado cuando `rootCategory` está vacío, el sistema busca automáticamente el ID de categoría correspondiente. |
singleVariation | boolean | opcional | Only one variant is returned; when set to `true`, only one variant is returned for multi-variant products. |
size | array | opcional | Size, OR match. |
size[] | string | obligatorio | Tamaño, o partido. |
sort | array | opcional | Maximum of 3 collations; each contains `{"fieldName":"...","sortDirection":"asc\|desc"}`. Sortable fields: `availableDate`, `currentSales`, `monthlySold`, `currentRating`, `currentCountReviews`, `currentBuyBoxShipping`, `currentNew`. Cantidad máxima de elementos: 3 |
sort[] | object | obligatorio | Máximo de 3 collates; cada uno contiene `{"fieldName":"...","sortDirection":"asc\|desc"}`. Campos clasificables: `availableDate`, `currentSales`, `monthlySold`, `currentRating`, `currentCountReviews`, `currentBuyBoxShipping`, `currentNew`. |
srAvgMonth | string | opcional | Historical sales ranking month, format `YYYYMM`, within the last 36 months. |
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 (64 campos)
| Nombre | Tipo | Obligatorio | Descripción |
|---|---|---|---|
total | integer | opcional | Total number of rows. |
perPage | integer | opcional | Quantity per page. |
currentPage | integer | opcional | Current page number. |
totalCount | integer | opcional | Total quantity. |
sourceType | string | opcional | Source type: `kp`. |
type | string | opcional | Rendering style. |
columns | array | opcional | Rendered columns. |
costToken | integer | opcional | Consume token. |
products | array | opcional | Product list, element fields are shown in the table below. |
asin | string | opcional | ASIN。 |
title | string | opcional | Título del producto |
brand | string | opcional | brand. |
manufacturer | string | opcional | manufacturer. |
model | string | opcional | model. |
price | number | opcional | Current price in local currency. |
primePrice | number | opcional | Prime Price. |
currency | string | opcional | Currency. |
salesRank | integer | opcional | Sales ranking. |
salesRank30 | integer | opcional | Average sales rank over the past 30 days. |
salesRank90 | integer | opcional | Average sales rank over the last 90 days. |
salesRank180 | integer | opcional | Average sales rank over the last 180 days. |
monthlySalesUnits | integer | opcional | Monthly sales volume. |
monthlySalesRevenue | number | opcional | Monthly sales. |
rating | number | opcional | Current rating (0.0-5.0). |
ratings | integer | opcional | Number of ratings. |
reviewCount | integer | opcional | Number of comments. |
availableDate | string | opcional | Shelf time (`yyyy-MM-dd HH:mm:ss`). |
lastUpdate | string | opcional | Last updated time (`yyyy-MM-dd HH:mm:ss`). |
imageUrl | string | opcional | Image URL (request address). |
productImageUrls | array | opcional | List of product images. |
asinUrl | string | opcional | Amazon ASIN details URL. |
categoryTree | string | opcional | Category tree. |
categoryTreeId | string | opcional | Category tree ID. |
rootCategory | integer | opcional | Root category ID. |
subcategories | array | opcional | Subcategory list, including `code` (category ID), `rank` (ranking), `label` (category name). |
fulfillment | string | opcional | Delivery method: `AMZ`, `FBA`, `FBM`. |
buyBoxSellerId | string | opcional | Buy button seller ID. |
sellerNum | integer | opcional | Number of sellers. |
parentAsin | string | opcional | Parent ASIN. |
variationNum | integer | opcional | Number of variants. |
color | string | opcional | color. |
dimension | string | opcional | size. |
dimensionsType | string | opcional | Size type. |
material | string | opcional | The material of a product refers to the main materials used in its construction. |
weight | string | opcional | Weight (grams). |
packageWeight | string | opcional | Packing weight (grams). |
packageLength | integer | opcional | Package length (mm). |
packageWidth | integer | opcional | Package width (mm). |
packageHeight | integer | opcional | Package height (mm). |
packageDimensions | string | opcional | Packaging size. |
packageQuantity | integer | opcional | The quantity of the item in the package, or 0 or -1 if not available. |
itemLength | integer | opcional | Product length in millimeters, 0 or -1 if not available. |
itemWidth | integer | opcional | Product width (mm), 0 or -1 if not available. |
itemHeight | integer | opcional | Product height in millimeters, 0 or -1 if not available. |
isAdultProduct | boolean | opcional | Whether it is an adult product. |
isHazmat | boolean | opcional | Whether it is dangerous goods. |
referralFeePercentage | number | opcional | Referral fee percentage. |
fbaFees | number | opcional | FBA fulfillment fee in local currency. |
profit | number | opcional | Profit margin (percentage, such as 25.5 for 25.5%). |
urlSlug | string | opcional | URL Slug。 |
sourceType | string | opcional | Source type: `kp`. |
code | — | opcional | Category ID; element type shall be subject to the source file or upstream official documentation. |
rank | — | opcional | Ranking; element type shall be based on the source file or upstream official documentation. |
label | — | opcional | Category name; element type shall be subject to the source file or upstream official documentation. |
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 una clave API ausente o no válida (code 11209, incluida una copia incompleta o dañada) o una sesión web caducada (code 12001), 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.