Price index and rank vs competitors
ecommerce-profitability_competitive-price-indexCompare our landed price (price + shipping) with in-stock competitor landed prices to return median index, min and rank. Price $0.02 USDC. POST /api/v1/ecommerce-profitability/competitive-price-index. An unpaid call returns the x402 payment terms and does not run.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"ourPrice": "<ourPrice>",
"competitors": "<competitors>"
},
"name": "ecommerce-profitability_competitive-price-index"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ourPrice | Yes | ourPrice, integer, from 0 to 9007199254740991. Required. | |
| competitors | Yes | competitors, array. Required. | |
| ourShipping | No | ourShipping, integer, from 0 to 9007199254740991. Required. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| of | No | of. Number. | |
| rank | No | rank. Number. | |
| index | No | index. Number. | |
| sources | No | sources. Array. | |
| ourLanded | No | ourLanded. Number. | |
| limitations | No | limitations. Array. | |
| competitorMin | No | competitorMin. Number. | |
| competitorMedian | No | competitorMedian. Number. | |
| excludedOutOfStock | No | excludedOutOfStock. Number. |