https://api.nexscope.ai/ss/market/statisticsEjecutar 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/ss/market/statistics |
| Autenticación | Bearer API key |
| Content-Type | application/json |
Parámetros de la solicitud
| Nombre | Tipo | Obligatorio | Descripción |
|---|---|---|---|
marketplace | string | obligatorio | Codificación del sitio Ejemplo: US |
nodeIdPath | string | obligatorio | Cadena de ruta de identificación del nodo, por ejemplo `1064954:1069242:1069784:1069820:1069838:1069828` |
month | string | opcional | `nearly` o `yyyyMM` |
topN | integer | opcional | Número de listados de cabeceras, utilizados para el calibre de indicador relacionado con la cabeza Ejemplo: 10 |
newProduct | integer | opcional | Nueva definición de producto (mes) Ejemplo: 6 |
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 (49 campos)
| Nombre | Tipo | Obligatorio | Descripción |
|---|---|---|---|
total | integer | opcional | Total number of items |
marketplace | string | opcional | Site encoding |
data | array | opcional | List of statistical results (corresponding to third-party `data`) |
columns | array | opcional | Rendered columns |
costToken | integer | opcional | Consume token |
type | string | opcional | rendering style |
nodeIdPath | string | opcional | Node ID path |
nodeLabelPath | string | opcional | Node name path |
nodeLabelLocale | string | opcional | Node name translation |
nodeLabelPathLocale | string | opcional | Node name path translation |
marketplace | string | opcional | market sign |
countryCode | string | opcional | Country 2 short code |
currency | string | opcional | The currency type of this market |
totalProducts | integer | opcional | Total number of items |
products | integer | opcional | Number of sample items |
sellers | integer | opcional | Number of sellers |
brands | integer | opcional | Number of brands |
avgSellers | number | opcional | Average number of sellers |
hlProducts | integer | opcional | Number of samples of the top N products in the header Listing |
avgUnits | integer | opcional | average monthly sales |
avgRevenue | number | opcional | average monthly sales |
avgPrice | number | opcional | average price |
avgRating | number | opcional | average star rating |
avgRatings | integer | opcional | average rating |
avgRatingsCv | integer | opcional | Average number of comments per month |
avgBsr | integer | opcional | Average BSR |
avgProfit | number | opcional | average profit margin |
avgWeight | number | opcional | Average weight (pound) |
baseAvgWeight | number | opcional | Average weight (g) |
avgVolume | number | opcional | Average volume (in³) |
baseAvgVolume | number | opcional | Average volume (cm³) |
hlAvgUnits | integer | opcional | The average monthly sales volume of the top N products in the header Listing |
hlAvgRevenue | number | opcional | Average monthly sales of the top N products in the header Listing |
hlAvgPrice | number | opcional | The average price of the top N items in the header Listing |
hlAvgRating | number | opcional | Head Listing Average star rating of the top N products |
hlAvgRatings | integer | opcional | Average number of reviews for the top N products in the head Listing |
hlAvgRatingsCv | integer | opcional | The average number of monthly reviews of the top N products in the head Listing |
hlAvgBsr | integer | opcional | Average BSR of the top N products in the head Listing |
newProducts | integer | opcional | New product quantity |
newProductProportion | number | opcional | New product quantity proportion |
newAvgUnits | integer | opcional | Average monthly sales of new products |
newAvgRevenue | number | opcional | Average monthly sales of new products |
newAvgPrice | number | opcional | Average new product price |
newAvgRating | number | opcional | Average star rating of new products |
newAvgRatings | integer | opcional | Average rating of new products |
minNewRatings | integer | opcional | Lowest new product rating |
maxNewRatings | integer | opcional | Highest new product rating |
firstShelfDate | string | opcional | Product first put on shelves date |
lastShelfDate | string | opcional | Product latest shelf date |
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.