BRAINIAC Ecommerce Seller Profitability

Paid Ecommerce Seller Profitability API via x402. Unpaid tool calls return 402.

Should I use this

Quality & Safety

B
Description quality
100%
Schema completeness
99%
Naming quality
30%
Poisoning risk
100%
Permission match
100%
Protocol compliance
100%

Findings (18)

  • LOWTool 'ecommerce-profitability_unit-economics' doesn't follow camelCase/snake_casein ecommerce-profitability_unit-economics
  • LOWTool 'ecommerce-profitability_unit-economics' name length outside 3-30 rangein ecommerce-profitability_unit-economics
  • LOWTool 'ecommerce-profitability_ppc-report-analyze' doesn't follow camelCase/snake_casein ecommerce-profitability_ppc-report-analyze
  • LOWTool 'ecommerce-profitability_ppc-report-analyze' name length outside 3-30 rangein ecommerce-profitability_ppc-report-analyze
  • LOWTool 'ecommerce-profitability_listing-keyword-coverage' doesn't follow camelCase/snake_casein ecommerce-profitability_listing-keyword-coverage
  • LOWTool 'ecommerce-profitability_listing-keyword-coverage' name length outside 3-30 rangein ecommerce-profitability_listing-keyword-coverage
  • LOWTool 'ecommerce-profitability_landed-cost-import' doesn't follow camelCase/snake_casein ecommerce-profitability_landed-cost-import
  • LOWTool 'ecommerce-profitability_landed-cost-import' name length outside 3-30 rangein ecommerce-profitability_landed-cost-import
  • LOWTool 'ecommerce-profitability_price-elasticity-estimate' doesn't follow camelCase/snake_casein ecommerce-profitability_price-elasticity-estimate
  • LOWTool 'ecommerce-profitability_price-elasticity-estimate' name length outside 3-30 rangein ecommerce-profitability_price-elasticity-estimate

Based on automated analysis of tool definitions and protocol compliance.

Context Cost

~8,597Tokens (tool definitions)
~9.3 KBTypical response size
Significant attention impact (6.72% of 128k context)

This is the approximate number of tokens consumed each time the server's tools are loaded into a model's context. Higher counts reduce the attention available for other tasks.

Install

One-Click Install

Add this to your `claude_desktop_config.json` file:

{
  "mcpServers": {
    "ecommerce-profitability": {
      "url": "https://www.brainiac.software/mcp/ecommerce-profitability"
    }
  }
}

Remote endpoints

https://www.brainiac.software/mcp/ecommerce-profitabilitystreamable-http

What it can do

Tool inventory

Tools (9)

🟢 Read-only🟡 Write🔴 Delete⚪ Unknown
🟢ecommerce-profitability_unit-economics(currency, pricePerUnit, costs, marketplaceFeeRate, returnRate, ...)

Compute landed cost, total cost per unit, contribution margin, ROI, break-even price and break-even ACoS from caller-supplied product costs and marketplace fees or fee rates. Docs: https://www.brainiac.software/api/ecommerce-profitability/unit-economics Keywords: currency, pricePerUnit, costs, returnRate, returnLossPerUnit, marketplaceFeeRate, salesTaxIncluded, landedCost, marketplaceFees, returnsAllowance, totalCostPerUnit, contributionMargin, marginPct, roi, breakEvenPrice.

Input Schema

{
  "type": "object",
  "properties": {
    "currency": {
      "type": "string",
      "minLength": 3,
      "maxLength": 3,
      "description": "currency, string, length 3 to 3. Required."
    },
    "pricePerUnit": {
      "type": "integer",
      "exclusiveMinimum": 0,
      "maximum": 9007199254740991,
      "description": "pricePerUnit, integer, from any to 9007199254740991. Required."
    },
    "costs": {
      "type": "object",
      "properties": {
        "product": {
          "type": "integer",
          "minimum": 0,
          "maximum": 9007199254740991,
          "description": "product, integer, from 0 to 9007199254740991. Required."
        },
        "inboundFreight": {
          "type": "integer",
          "minimum": 0,
          "maximum": 9007199254740991,
          "description": "product, integer, from 0 to 9007199254740991. Required."
        },
        "duty": {
          "type": "integer",
          "minimum": 0,
          "maximum": 9007199254740991,
          "description": "product, integer, from 0 to 9007199254740991. Required."
        },
        "packaging": {
          "type": "integer",
          "minimum": 0,
          "maximum": 9007199254740991,
          "description": "product, integer, from 0 to 9007199254740991. Required."
        },
        "marketplaceFees": {
          "description": "marketplaceFees, integer, from 0 to 9007199254740991. Optional.",
          "type": "integer",
          "minimum": 0,
          "maximum": 9007199254740991
        },
        "fulfilmentFees": {
          "type": "integer",
          "minimum": 0,
          "maximum": 9007199254740991,
          "description": "product, integer, from 0 to 9007199254740991. Required."
        },
        "storage": {
          "type": "integer",
          "minimum": 0,
          "maximum": 9007199254740991,
          "description": "product, integer, from 0 to 9007199254740991. Required."
        },
        "other": {
          "default": 0,
          "description": "other, integer, from 0 to 9007199254740991. Required.",
          "type": "integer",
          "minimum": 0,
          "maximum": 9007199254740991
        }
      },
      "required": [
        "product",
        "inboundFreight",
        "duty",
        "packaging",
        "fulfilmentFees",
        "storage"
      ],
      "description": "costs, object. Required."
    },
    "marketplaceFeeRate": {
      "description": "marketplaceFeeRate, number, from 0 to any. Optional.",
      "type": "number",
      "minimum": 0,
      "exclusiveMaximum": 1
    },
    "returnRate": {
      "type": "number",
      "minimum": 0,
      "maximum": 1,
      "description": "returnRate, number, from 0 to 1. Required."
    },
    "returnLossPerUnit": {
      "type": "integer",
      "minimum": 0,
      "maximum": 9007199254740991,
      "description": "product, integer, from 0 to 9007199254740991. Required."
    },
    "salesTaxIncluded": {
      "default": false,
      "description": "salesTaxIncluded, boolean. Required.",
      "type": "boolean"
    }
  },
  "required": [
    "currency",
    "pricePerUnit",
    "costs",
    "returnRate",
    "returnLossPerUnit"
  ],
  "$schema": "http://json-schema.org/draft-07/schema#"
}

Output Schema

{
  "type": "object",
  "properties": {
    "currency": {
      "type": "string",
      "description": "currency. String."
    },
    "landedCost": {
      "type": "number",
      "description": "landedCost. Number."
    },
    "marketplaceFees": {
      "type": "number",
      "description": "marketplaceFees. Number."
    },
    "returnsAllowance": {
      "type": "number",
      "description": "returnsAllowance. Number."
    },
    "totalCostPerUnit": {
      "type": "number",
      "description": "totalCostPerUnit. Number."
    },
    "contributionMargin": {
      "type": "number",
      "description": "contributionMargin. Number."
    },
    "marginPct": {
      "type": "number",
      "description": "marginPct. Number."
    },
    "roi": {
      "type": "number",
      "description": "roi. Number."
    },
    "breakEvenPrice": {
      "type": "number",
      "description": "breakEvenPrice. Number."
    },
    "breakEvenAcos": {
      "type": "number",
      "description": "breakEvenAcos. Number."
    },
    "salesTaxIncluded": {
      "type": "boolean",
      "description": "salesTaxIncluded. Boolean."
    },
    "sources": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "source": {
            "type": "string",
            "description": "source. String."
          },
          "url": {
            "type": "string",
            "description": "url. String."
          },
          "retrievedAt": {
            "type": "string",
            "description": "retrievedAt. String."
          },
          "status": {
            "type": "string",
            "description": "status. String."
          }
        },
        "additionalProperties": {},
        "description": "item. Object."
      },
      "description": "sources. Array."
    },
    "limitations": {
      "type": "array",
      "items": {
        "type": "string",
        "description": "item. String."
      },
      "description": "limitations. Array."
    }
  },
  "$schema": "http://json-schema.org/draft-07/schema#",
  "additionalProperties": {}
}
🟢ecommerce-profitability_ppc-report-analyze(currency, rows, totalSales, rules)

Aggregate ACoS, ROAS, TACoS, CTR and CVR for a search-term report and flag negate, promote and insufficient-data candidates from caller rules. Docs: https://www.brainiac.software/api/ecommerce-profitability/ppc-report-analyze Keywords: currency, rows, totalSales, rules, totals, negate, promote, insufficientData, wastedSpend, Analyse a sponsored-ads search-term report, ppc report analyze.

Input Schema

{
  "type": "object",
  "properties": {
    "currency": {
      "type": "string",
      "minLength": 3,
      "maxLength": 3,
      "description": "currency, string, length 3 to 3. Required."
    },
    "rows": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "campaign": {
            "type": "string",
            "minLength": 1,
            "maxLength": 120,
            "description": "campaign, string, length 1 to 120. Required."
          },
          "adGroup": {
            "type": "string",
            "minLength": 1,
            "maxLength": 120,
            "description": "adGroup, string, length 1 to 120. Required."
          },
          "searchTerm": {
            "type": "string",
            "minLength": 1,
            "maxLength": 200,
            "description": "searchTerm, string, length 1 to 200. Required."
          },
          "matchType": {
            "type": "string",
            "minLength": 1,
            "maxLength": 40,
            "description": "matchType, string, length 1 to 40. Required."
          },
          "impressions": {
            "type": "integer",
            "minimum": 0,
            "maximum": 1000000000,
            "description": "impressions, integer, from 0 to 1000000000. Required."
          },
          "clicks": {
            "type": "integer",
            "minimum": 0,
            "maximum": 1000000000,
            "description": "clicks, integer, from 0 to 1000000000. Required."
          },
          "spend": {
            "type": "integer",
            "minimum": 0,
            "maximum": 9007199254740991,
            "description": "spend, integer, from 0 to 9007199254740991. Required."
          },
          "orders": {
            "type": "integer",
            "minimum": 0,
            "maximum": 1000000000,
            "description": "orders, integer, from 0 to 1000000000. Required."
          },
          "sales": {
            "type": "integer",
            "minimum": 0,
            "maximum": 9007199254740991,
            "description": "spend, integer, from 0 to 9007199254740991. Required."
          }
        },
        "required": [
          "campaign",
          "adGroup",
          "searchTerm",
          "matchType",
          "impressions",
          "clicks",
          "spend",
          "orders",
          "sales"
        ],
        "description": "item, object. Required."
      },
      "description": "rows, array. Required."
    },
    "totalSales": {
      "type": "integer",
      "minimum": 0,
      "maximum": 9007199254740991,
      "description": "spend, integer, from 0 to 9007199254740991. Required."
    },
    "rules": {
      "type": "object",
      "properties": {
        "targetAcos": {
          "type": "number",
          "minimum": 0,
          "maximum": 1,
          "description": "targetAcos, number, from 0 to 1. Required."
        },
        "minClicksNegate": {
          "type": "integer",
          "minimum": 0,
          "maximum": 1000000,
          "description": "minClicksNegate, integer, from 0 to 1000000. Required."
        },
        "minOrdersPromote": {
          "type": "integer",
          "minimum": 0,
          "maximum": 1000000,
          "description": "minOrdersPromote, integer, from 0 to 1000000. Required."
        }
      },
      "required": [
        "targetAcos",
        "minClicksNegate",
        "minOrdersPromote"
      ],
      "description": "rules, object. Required."
    }
  },
  "required": [
    "currency",
    "rows",
    "totalSales",
    "rules"
  ],
  "$schema": "http://json-schema.org/draft-07/schema#"
}

Output Schema

{
  "type": "object",
  "properties": {
    "currency": {
      "type": "string",
      "description": "currency. String."
    },
    "totals": {
      "type": "object",
      "properties": {
        "spend": {
          "type": "number",
          "description": "spend. Number."
        },
        "sales": {
          "type": "number",
          "description": "sales. Number."
        },
        "acos": {
          "type": "number",
          "description": "acos. Number."
        },
        "roas": {
          "type": "number",
          "description": "roas. Number."
        },
        "tacos": {
          "type": "number",
          "description": "tacos. Number."
        },
        "ctr": {
          "type": "number",
          "description": "ctr. Number."
        },
        "cvr": {
          "type": "number",
          "description": "cvr. Number."
        }
      },
      "additionalProperties": {},
      "description": "totals. Object."
    },
    "negate": {
      "type": "array",
      "items": {
        "type": "string",
        "description": "Item. String."
      },
      "description": "negate. Array."
    },
    "promote": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "searchTerm": {
            "type": "string",
            "description": "searchTerm. String."
          },
          "reason": {
            "type": "string",
            "description": "reason. String."
          },
          "acos": {
            "type": "number",
            "description": "acos. Number."
          }
        },
        "additionalProperties": {},
        "description": "item. Object."
      },
      "description": "promote. Array."
    },
    "insufficientData": {
      "type": "array",
      "items": {
        "type": "string",
        "description": "Item. String."
      },
      "description": "insufficientData. Array."
    },
    "wastedSpend": {
      "type": "number",
      "description": "wastedSpend. Number."
    },
    "sources": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "source": {
            "type": "string",
            "description": "source. String."
          },
          "url": {
            "type": "string",
            "description": "url. String."
          },
          "retrievedAt": {
            "type": "string",
            "description": "retrievedAt. String."
          },
          "status": {
            "type": "string",
            "description": "status. String."
          }
        },
        "additionalProperties": {},
        "description": "item. Object."
      },
      "description": "sources. Array."
    },
    "limitations": {
      "type": "array",
      "items": {
        "type": "string",
        "description": "item. String."
      },
      "description": "limitations. Array."
    }
  },
  "$schema": "http://json-schema.org/draft-07/schema#",
  "additionalProperties": {}
}
🟢ecommerce-profitability_listing-keyword-coverage(title, bullets, description, backendTerms, keywords, ...)

Token-match caller keywords against title, bullets, description and backend terms, including simple plurals, and check caller-supplied title and backend length limits. Docs: https://www.brainiac.software/api/ecommerce-profitability/listing-keyword-coverage Keywords: title, keywords, limits, bullets, description, backendTerms, coverage, duplicatesInBackend, lengths, overLimit, Check listing keyword coverage and length limits, listing keyword coverage.

Input Schema

{
  "type": "object",
  "properties": {
    "title": {
      "type": "string",
      "maxLength": 2000,
      "description": "title, string, length 0 to 2000. Required."
    },
    "bullets": {
      "default": [],
      "description": "bullets, array. Required.",
      "type": "array",
      "items": {
        "type": "string",
        "maxLength": 2000,
        "description": "item, string, length 0 to 2000. Required."
      }
    },
    "description": {
      "default": "",
      "description": "description, string, length 0 to 20000. Required.",
      "type": "string",
      "maxLength": 20000
    },
    "backendTerms": {
      "default": "",
      "description": "backendTerms, string, length 0 to 2000. Required.",
      "type": "string",
      "maxLength": 2000
    },
    "keywords": {
      "type": "array",
      "items": {
        "type": "string",
        "minLength": 1,
        "maxLength": 200,
        "description": "item, string, length 1 to 200. Required."
      },
      "description": "keywords, array. Required."
    },
    "limits": {
      "type": "object",
      "properties": {
        "titleChars": {
          "type": "integer",
          "exclusiveMinimum": 0,
          "maximum": 10000,
          "description": "titleChars, integer, from any to 10000. Required."
        },
        "backendBytes": {
          "type": "integer",
          "exclusiveMinimum": 0,
          "maximum": 10000,
          "description": "backendBytes, integer, from any to 10000. Required."
        }
      },
      "required": [
        "titleChars",
        "backendBytes"
      ],
      "description": "limits, object. Required."
    }
  },
  "required": [
    "title",
    "keywords",
    "limits"
  ],
  "$schema": "http://json-schema.org/draft-07/schema#"
}

Output Schema

{
  "type": "object",
  "properties": {
    "coverage": {
      "type": "number",
      "description": "coverage. Number."
    },
    "keywords": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "keyword": {
            "type": "string",
            "description": "keyword. String."
          },
          "found": {
            "type": "boolean",
            "description": "found. Boolean."
          },
          "fields": {
            "type": "array",
            "items": {
              "type": "string",
              "description": "item. String."
            },
            "description": "fields. Array."
          }
        },
        "additionalProperties": {},
        "description": "item. Object."
      },
      "description": "keywords. Array."
    },
    "duplicatesInBackend": {
      "type": "array",
      "items": {
        "type": "string",
        "description": "item. String."
      },
      "description": "duplicatesInBackend. Array."
    },
    "lengths": {
      "type": "object",
      "properties": {
        "titleChars": {
          "type": "number",
          "description": "titleChars. Number."
        },
        "backendBytes": {
          "type": "number",
          "description": "backendBytes. Number."
        }
      },
      "additionalProperties": {},
      "description": "lengths. Object."
    },
    "overLimit": {
      "type": "array",
      "items": {
        "type": "string",
        "description": "Item. String."
      },
      "description": "overLimit. Array."
    },
    "sources": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "source": {
            "type": "string",
            "description": "source. String."
          },
          "url": {
            "type": "string",
            "description": "url. String."
          },
          "retrievedAt": {
            "type": "string",
            "description": "retrievedAt. String."
          },
          "status": {
            "type": "string",
            "description": "status. String."
          }
        },
        "additionalProperties": {},
        "description": "item. Object."
      },
      "description": "sources. Array."
    },
    "limitations": {
      "type": "array",
      "items": {
        "type": "string",
        "description": "item. String."
      },
      "description": "limitations. Array."
    }
  },
  "$schema": "http://json-schema.org/draft-07/schema#",
  "additionalProperties": {}
}
🟢ecommerce-profitability_landed-cost-import(currency, lines, freight, insurance, allocation, ...)

Allocate shipment freight and insurance by value, weight or volume, compute CIF or FOB customs value, duty and import VAT from caller rates, and return per-unit landed cost. Docs: https://www.brainiac.software/api/ecommerce-profitability/landed-cost-import Keywords: currency, lines, freight, insurance, allocation, dutyBasis, importVatRate, vatRecoverable, totals, Allocate import costs to SKU landed cost, landed cost import.

Input Schema

{
  "type": "object",
  "properties": {
    "currency": {
      "type": "string",
      "minLength": 3,
      "maxLength": 3,
      "description": "currency, string, length 3 to 3. Required."
    },
    "lines": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "sku": {
            "type": "string",
            "minLength": 1,
            "maxLength": 80,
            "description": "sku, string, length 1 to 80. Required."
          },
          "units": {
            "type": "integer",
            "exclusiveMinimum": 0,
            "maximum": 10000000,
            "description": "units, integer, from any to 10000000. Required."
          },
          "unitCost": {
            "type": "integer",
            "minimum": 0,
            "maximum": 9007199254740991,
            "description": "unitCost, integer, from 0 to 9007199254740991. Required."
          },
          "weightKg": {
            "type": "number",
            "minimum": 0,
            "maximum": 1000000,
            "description": "weightKg, number, from 0 to 1000000. Required."
          },
          "volumeM3": {
            "type": "number",
            "minimum": 0,
            "maximum": 1000000,
            "description": "volumeM3, number, from 0 to 1000000. Required."
          },
          "dutyRate": {
            "type": "number",
            "minimum": 0,
            "maximum": 1,
            "description": "dutyRate, number, from 0 to 1. Required."
          }
        },
        "required": [
          "sku",
          "units",
          "unitCost",
          "weightKg",
          "volumeM3",
          "dutyRate"
        ],
        "description": "item, object. Required."
      },
      "description": "lines, array. Required."
    },
    "freight": {
      "type": "integer",
      "minimum": 0,
      "maximum": 9007199254740991,
      "description": "unitCost, integer, from 0 to 9007199254740991. Required."
    },
    "insurance": {
      "type": "integer",
      "minimum": 0,
      "maximum": 9007199254740991,
      "description": "unitCost, integer, from 0 to 9007199254740991. Required."
    },
    "allocation": {
      "type": "string",
      "enum": [
        "value",
        "weight",
        "volume"
      ],
      "description": "allocation, string, one of value, weight, volume. Required."
    },
    "dutyBasis": {
      "type": "string",
      "enum": [
        "CIF",
        "FOB"
      ],
      "description": "dutyBasis, string, one of CIF, FOB. Required."
    },
    "importVatRate": {
      "type": "number",
      "minimum": 0,
      "maximum": 1,
      "description": "dutyRate, number, from 0 to 1. Required."
    },
    "vatRecoverable": {
      "type": "boolean",
      "description": "vatRecoverable, boolean. Required."
    }
  },
  "required": [
    "currency",
    "lines",
    "freight",
    "insurance",
    "allocation",
    "dutyBasis",
    "importVatRate",
    "vatRecoverable"
  ],
  "$schema": "http://json-schema.org/draft-07/schema#"
}

Output Schema

{
  "type": "object",
  "properties": {
    "currency": {
      "type": "string",
      "description": "currency. String."
    },
    "lines": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "sku": {
            "type": "string",
            "description": "sku. String."
          },
          "goods": {
            "type": "number",
            "description": "goods. Number."
          },
          "freight": {
            "type": "number",
            "description": "freight. Number."
          },
          "insurance": {
            "type": "number",
            "description": "insurance. Number."
          },
          "customsValue": {
            "type": "number",
            "description": "customsValue. Number."
          },
          "duty": {
            "type": "number",
            "description": "duty. Number."
          },
          "importVat": {
            "type": "number",
            "description": "importVat. Number."
          },
          "landedTotal": {
            "type": "number",
            "description": "landedTotal. Number."
          },
          "landedPerUnit": {
            "type": "number",
            "description": "landedPerUnit. Number."
          }
        },
        "additionalProperties": {},
        "description": "item. Object."
      },
      "description": "lines. Array."
    },
    "totals": {
      "type": "object",
      "properties": {
        "goods": {
          "type": "number",
          "description": "goods. Number."
        },
        "freight": {
          "type": "number",
          "description": "freight. Number."
        },
        "insurance": {
          "type": "number",
          "description": "insurance. Number."
        },
        "duty": {
          "type": "number",
          "description": "duty. Number."
        },
        "importVat": {
          "type": "number",
          "description": "importVat. Number."
        },
        "landedTotal": {
          "type": "number",
          "description": "landedTotal. Number."
        }
      },
      "additionalProperties": {},
      "description": "totals. Object."
    },
    "sources": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "source": {
            "type": "string",
            "description": "source. String."
          },
          "url": {
            "type": "string",
            "description": "url. String."
          },
          "retrievedAt": {
            "type": "string",
            "description": "retrievedAt. String."
          },
          "status": {
            "type": "string",
            "description": "status. String."
          }
        },
        "additionalProperties": {},
        "description": "item. Object."
      },
      "description": "sources. Array."
    },
    "limitations": {
      "type": "array",
      "items": {
        "type": "string",
        "description": "item. String."
      },
      "description": "limitations. Array."
    }
  },
  "$schema": "http://json-schema.org/draft-07/schema#",
  "additionalProperties": {}
}
🟢ecommerce-profitability_price-elasticity-estimate(observations, seasonality, promoFlagField)

OLS of ln(units) on ln(price) with optional week or month seasonal dummies, classical standard errors and a 95% t interval from caller price/quantity history. Docs: https://www.brainiac.software/api/ecommerce-profitability/price-elasticity-estimate Keywords: observations, seasonality, promoFlagField, elasticity, stdError, ci95, droppedZeroUnits, priceVariationCv, warnings, Estimate own-price elasticity from history, price elasticity estimate.

Input Schema

{
  "type": "object",
  "properties": {
    "observations": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "date": {
            "type": "string",
            "format": "date",
            "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$",
            "description": "date, string, date. Required."
          },
          "price": {
            "type": "number",
            "exclusiveMinimum": 0,
            "description": "price, number. Required."
          },
          "units": {
            "type": "number",
            "minimum": 0,
            "description": "units, number, from 0 to any. Required."
          },
          "promo": {
            "description": "promo, boolean. Optional.",
            "type": "boolean"
          }
        },
        "required": [
          "date",
          "price",
          "units"
        ],
        "description": "item, object. Required."
      },
      "description": "observations, array. Required."
    },
    "seasonality": {
      "default": "none",
      "description": "seasonality, string, one of none, week_of_year, month. Required.",
      "type": "string",
      "enum": [
        "none",
        "week_of_year",
        "month"
      ]
    },
    "promoFlagField": {
      "description": "promoFlagField, value. Optional.",
      "anyOf": [
        {
          "type": "string",
          "const": "promo"
        },
        {
          "type": "null"
        }
      ]
    }
  },
  "required": [
    "observations"
  ],
  "$schema": "http://json-schema.org/draft-07/schema#"
}

Output Schema

{
  "type": "object",
  "properties": {
    "elasticity": {
      "type": "number",
      "description": "elasticity. Number."
    },
    "stdError": {
      "type": "number",
      "description": "stdError. Number."
    },
    "ci95": {
      "type": "array",
      "items": {
        "type": "number",
        "description": "item. Number."
      },
      "description": "ci95. Array."
    },
    "r2": {
      "type": "number",
      "description": "r2. Number."
    },
    "n": {
      "type": "number",
      "description": "n. Number."
    },
    "droppedZeroUnits": {
      "type": "number",
      "description": "droppedZeroUnits. Number."
    },
    "priceVariationCv": {
      "type": "number",
      "description": "priceVariationCv. Number."
    },
    "warnings": {
      "type": "array",
      "items": {
        "type": "string",
        "description": "Item. String."
      },
      "description": "warnings. Array."
    },
    "sources": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "source": {
            "type": "string",
            "description": "source. String."
          },
          "url": {
            "type": "string",
            "description": "url. String."
          },
          "retrievedAt": {
            "type": "string",
            "description": "retrievedAt. String."
          },
          "status": {
            "type": "string",
            "description": "status. String."
          }
        },
        "additionalProperties": {},
        "description": "item. Object."
      },
      "description": "sources. Array."
    },
    "limitations": {
      "type": "array",
      "items": {
        "type": "string",
        "description": "item. String."
      },
      "description": "limitations. Array."
    }
  },
  "$schema": "http://json-schema.org/draft-07/schema#",
  "additionalProperties": {}
}
🟢ecommerce-profitability_competitive-price-index(ourPrice, ourShipping, competitors)

Compare our landed price (price + shipping) with in-stock competitor landed prices to return median index, min and rank. Docs: https://www.brainiac.software/api/ecommerce-profitability/competitive-price-index Keywords: ourPrice, competitors, ourShipping, ourLanded, competitorMedian, competitorMin, index, rank, excludedOutOfStock, Price index and rank vs competitors, competitive price index.

Input Schema

{
  "type": "object",
  "properties": {
    "ourPrice": {
      "type": "integer",
      "minimum": 0,
      "maximum": 9007199254740991,
      "description": "ourPrice, integer, from 0 to 9007199254740991. Required."
    },
    "ourShipping": {
      "default": 0,
      "description": "ourShipping, integer, from 0 to 9007199254740991. Required.",
      "type": "integer",
      "minimum": 0,
      "maximum": 9007199254740991
    },
    "competitors": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string",
            "minLength": 1,
            "maxLength": 120,
            "description": "name, string, length 1 to 120. Required."
          },
          "price": {
            "type": "integer",
            "minimum": 0,
            "maximum": 9007199254740991,
            "description": "ourPrice, integer, from 0 to 9007199254740991. Required."
          },
          "shipping": {
            "default": 0,
            "description": "shipping, integer, from 0 to 9007199254740991. Required.",
            "type": "integer",
            "minimum": 0,
            "maximum": 9007199254740991
          },
          "inStock": {
            "type": "boolean",
            "description": "inStock, boolean. Required."
          }
        },
        "required": [
          "name",
          "price",
          "inStock"
        ],
        "description": "item, object. Required."
      },
      "description": "competitors, array. Required."
    }
  },
  "required": [
    "ourPrice",
    "competitors"
  ],
  "$schema": "http://json-schema.org/draft-07/schema#"
}

Output Schema

{
  "type": "object",
  "properties": {
    "ourLanded": {
      "type": "number",
      "description": "ourLanded. Number."
    },
    "competitorMedian": {
      "type": "number",
      "description": "competitorMedian. Number."
    },
    "competitorMin": {
      "type": "number",
      "description": "competitorMin. Number."
    },
    "index": {
      "type": "number",
      "description": "index. Number."
    },
    "rank": {
      "type": "number",
      "description": "rank. Number."
    },
    "of": {
      "type": "number",
      "description": "of. Number."
    },
    "excludedOutOfStock": {
      "type": "number",
      "description": "excludedOutOfStock. Number."
    },
    "sources": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "source": {
            "type": "string",
            "description": "source. String."
          },
          "url": {
            "type": "string",
            "description": "url. String."
          },
          "retrievedAt": {
            "type": "string",
            "description": "retrievedAt. String."
          },
          "status": {
            "type": "string",
            "description": "status. String."
          }
        },
        "additionalProperties": {},
        "description": "item. Object."
      },
      "description": "sources. Array."
    },
    "limitations": {
      "type": "array",
      "items": {
        "type": "string",
        "description": "item. String."
      },
      "description": "limitations. Array."
    }
  },
  "$schema": "http://json-schema.org/draft-07/schema#",
  "additionalProperties": {}
}
🟢ecommerce-profitability_bundle-pricing(components, bundle)

Compute separate and bundle margins, discount depth, margin delta and the break-even bundle price from caller component and bundle fees. Docs: https://www.brainiac.software/api/ecommerce-profitability/bundle-pricing Keywords: components, bundle, separate, discountDepth, marginDelta, breakEvenBundlePrice, Compare bundle margin with separate sales, bundle pricing.

Input Schema

{
  "type": "object",
  "properties": {
    "components": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "sku": {
            "type": "string",
            "minLength": 1,
            "maxLength": 80,
            "description": "sku, string, length 1 to 80. Required."
          },
          "price": {
            "type": "integer",
            "exclusiveMinimum": 0,
            "maximum": 9007199254740991,
            "description": "price, integer, from any to 9007199254740991. Required."
          },
          "unitCost": {
            "type": "integer",
            "minimum": 0,
            "maximum": 9007199254740991,
            "description": "unitCost, integer, from 0 to 9007199254740991. Required."
          },
          "feeRate": {
            "type": "number",
            "minimum": 0,
            "maximum": 1,
            "description": "feeRate, number, from 0 to 1. Required."
          },
          "fulfilmentFee": {
            "type": "integer",
            "minimum": 0,
            "maximum": 9007199254740991,
            "description": "unitCost, integer, from 0 to 9007199254740991. Required."
          }
        },
        "required": [
          "sku",
          "price",
          "unitCost",
          "feeRate",
          "fulfilmentFee"
        ],
        "description": "item, object. Required."
      },
      "description": "components, array. Required."
    },
    "bundle": {
      "type": "object",
      "properties": {
        "price": {
          "type": "integer",
          "exclusiveMinimum": 0,
          "maximum": 9007199254740991,
          "description": "price, integer, from any to 9007199254740991. Required."
        },
        "feeRate": {
          "type": "number",
          "minimum": 0,
          "exclusiveMaximum": 1,
          "description": "feeRate, number, from 0 to any. Required."
        },
        "fulfilmentFee": {
          "type": "integer",
          "minimum": 0,
          "maximum": 9007199254740991,
          "description": "unitCost, integer, from 0 to 9007199254740991. Required."
        }
      },
      "required": [
        "price",
        "feeRate",
        "fulfilmentFee"
      ],
      "description": "bundle, object. Required."
    }
  },
  "required": [
    "components",
    "bundle"
  ],
  "$schema": "http://json-schema.org/draft-07/schema#"
}

Output Schema

{
  "type": "object",
  "properties": {
    "separate": {
      "type": "object",
      "properties": {
        "revenue": {
          "type": "number",
          "description": "revenue. Number."
        },
        "margin": {
          "type": "number",
          "description": "margin. Number."
        },
        "items": {
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "sku": {
                "type": "string",
                "description": "sku. String."
              },
              "revenue": {
                "type": "number",
                "description": "revenue. Number."
              },
              "margin": {
                "type": "number",
                "description": "margin. Number."
              }
            },
            "additionalProperties": {},
            "description": "item. Object."
          },
          "description": "items. Array."
        }
      },
      "additionalProperties": {},
      "description": "separate. Object."
    },
    "bundle": {
      "type": "object",
      "properties": {
        "revenue": {
          "type": "number",
          "description": "revenue. Number."
        },
        "margin": {
          "type": "number",
          "description": "margin. Number."
        }
      },
      "additionalProperties": {},
      "description": "bundle. Object."
    },
    "discountDepth": {
      "type": "number",
      "description": "discountDepth. Number."
    },
    "marginDelta": {
      "type": "number",
      "description": "marginDelta. Number."
    },
    "breakEvenBundlePrice": {
      "type": "number",
      "description": "breakEvenBundlePrice. Number."
    },
    "sources": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "source": {
            "type": "string",
            "description": "source. String."
          },
          "url": {
            "type": "string",
            "description": "url. String."
          },
          "retrievedAt": {
            "type": "string",
            "description": "retrievedAt. String."
          },
          "status": {
            "type": "string",
            "description": "status. String."
          }
        },
        "additionalProperties": {},
        "description": "item. Object."
      },
      "description": "sources. Array."
    },
    "limitations": {
      "type": "array",
      "items": {
        "type": "string",
        "description": "item. String."
      },
      "description": "limitations. Array."
    }
  },
  "$schema": "http://json-schema.org/draft-07/schema#",
  "additionalProperties": {}
}
🟢ecommerce-profitability_packaging-optimize(items, boxes, paddingCm, dimDivisor, objective)

Try caller boxes and orientations with padding, compute dimensional and billable weight from a caller divisor, and pick the best by billable weight or box cost. Docs: https://www.brainiac.software/api/ecommerce-profitability/packaging-optimize Keywords: items, boxes, dimDivisor, paddingCm, objective, best, rejected, Pick the box that minimises billable weight, packaging optimize.

Input Schema

{
  "type": "object",
  "properties": {
    "items": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "l": {
            "type": "number",
            "exclusiveMinimum": 0,
            "description": "l, number. Required."
          },
          "w": {
            "type": "number",
            "exclusiveMinimum": 0,
            "description": "w, number. Required."
          },
          "h": {
            "type": "number",
            "exclusiveMinimum": 0,
            "description": "h, number. Required."
          },
          "weightG": {
            "type": "number",
            "exclusiveMinimum": 0,
            "description": "weightG, number. Required."
          },
          "qty": {
            "default": 1,
            "description": "qty, integer, from any to 1000. Required.",
            "type": "integer",
            "exclusiveMinimum": 0,
            "maximum": 1000
          }
        },
        "required": [
          "l",
          "w",
          "h",
          "weightG"
        ],
        "description": "item, object. Required."
      },
      "description": "items, array. Required."
    },
    "boxes": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "minLength": 1,
            "maxLength": 40,
            "description": "id, string, length 1 to 40. Required."
          },
          "l": {
            "type": "number",
            "exclusiveMinimum": 0,
            "description": "l, number. Required."
          },
          "w": {
            "type": "number",
            "exclusiveMinimum": 0,
            "description": "w, number. Required."
          },
          "h": {
            "type": "number",
            "exclusiveMinimum": 0,
            "description": "h, number. Required."
          },
          "tareG": {
            "type": "number",
            "minimum": 0,
            "description": "tareG, number, from 0 to any. Required."
          },
          "cost": {
            "default": 0,
            "description": "cost, integer, from 0 to 9007199254740991. Required.",
            "type": "integer",
            "minimum": 0,
            "maximum": 9007199254740991
          }
        },
        "required": [
          "id",
          "l",
          "w",
          "h",
          "tareG"
        ],
        "description": "item, object. Required."
      },
      "description": "boxes, array. Required."
    },
    "paddingCm": {
      "default": 0,
      "description": "paddingCm, number, from 0 to 100. Required.",
      "type": "number",
      "minimum": 0,
      "maximum": 100
    },
    "dimDivisor": {
      "type": "number",
      "exclusiveMinimum": 0,
      "description": "dimDivisor, number. Required."
    },
    "objective": {
      "default": "billable_weight",
      "description": "objective, string, one of billable_weight, box_cost. Required.",
      "type": "string",
      "enum": [
        "billable_weight",
        "box_cost"
      ]
    }
  },
  "required": [
    "items",
    "boxes",
    "dimDivisor"
  ],
  "$schema": "http://json-schema.org/draft-07/schema#"
}

Output Schema

{
  "type": "object",
  "properties": {
    "best": {
      "type": "object",
      "properties": {
        "boxId": {
          "type": "string",
          "description": "boxId. String."
        },
        "orientation": {
          "type": "array",
          "items": {
            "type": "number",
            "description": "item. Number."
          },
          "description": "orientation. Array."
        },
        "actualG": {
          "type": "number",
          "description": "actualG. Number."
        },
        "dimWeightG": {
          "type": "number",
          "description": "dimWeightG. Number."
        },
        "billableG": {
          "type": "number",
          "description": "billableG. Number."
        }
      },
      "additionalProperties": {},
      "description": "best. Object."
    },
    "rejected": {
      "type": "array",
      "items": {
        "type": "string",
        "description": "Item. String."
      },
      "description": "rejected. Array."
    },
    "sources": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "source": {
            "type": "string",
            "description": "source. String."
          },
          "url": {
            "type": "string",
            "description": "url. String."
          },
          "retrievedAt": {
            "type": "string",
            "description": "retrievedAt. String."
          },
          "status": {
            "type": "string",
            "description": "status. String."
          }
        },
        "additionalProperties": {},
        "description": "item. Object."
      },
      "description": "sources. Array."
    },
    "limitations": {
      "type": "array",
      "items": {
        "type": "string",
        "description": "item. String."
      },
      "description": "limitations. Array."
    }
  },
  "$schema": "http://json-schema.org/draft-07/schema#",
  "additionalProperties": {}
}
🟢ecommerce-profitability_settlement-tax-reconcile(orders, settlementLines, tolerance)

Match order tax charged to settlement tax, marketplace-facilitator tax and refund lines within a tolerance and total seller vs marketplace collected tax. Docs: https://www.brainiac.software/api/ecommerce-profitability/settlement-tax-reconcile Keywords: orders, settlementLines, tolerance, matched, matchedOrderIds, mismatches, missingInSettlement, unknownOrders, totals, Reconcile marketplace settlement tax lines, settlement tax reconcile.

Input Schema

{
  "type": "object",
  "properties": {
    "orders": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "orderId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 80,
            "description": "orderId, string, length 1 to 80. Required."
          },
          "taxCharged": {
            "type": "integer",
            "minimum": -9007199254740991,
            "maximum": 9007199254740991,
            "description": "taxCharged, integer, from -9007199254740991 to 9007199254740991. Required."
          },
          "jurisdiction": {
            "description": "jurisdiction, string, length 1 to 40. Optional.",
            "type": "string",
            "minLength": 1,
            "maxLength": 40
          }
        },
        "required": [
          "orderId",
          "taxCharged"
        ],
        "description": "item, object. Required."
      },
      "description": "orders, array. Required."
    },
    "settlementLines": {
      "default": [],
      "description": "settlementLines, array. Required.",
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "orderId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 80,
            "description": "orderId, string, length 1 to 80. Required."
          },
          "type": {
            "type": "string",
            "enum": [
              "tax",
              "marketplace_facilitator_tax",
              "refund_tax"
            ],
            "description": "type, string, one of tax, marketplace_facilitator_tax, refund_tax. Required."
          },
          "amount": {
            "type": "integer",
            "minimum": -9007199254740991,
            "maximum": 9007199254740991,
            "description": "taxCharged, integer, from -9007199254740991 to 9007199254740991. Required."
          }
        },
        "required": [
          "orderId",
          "type",
          "amount"
        ],
        "description": "item, object. Required."
      }
    },
    "tolerance": {
      "default": 0,
      "description": "tolerance, integer, from 0 to 9007199254740991. Required.",
      "type": "integer",
      "minimum": 0,
      "maximum": 9007199254740991
    }
  },
  "required": [
    "orders"
  ],
  "$schema": "http://json-schema.org/draft-07/schema#"
}

Output Schema

{
  "type": "object",
  "properties": {
    "matched": {
      "type": "number",
      "description": "matched. Number."
    },
    "matchedOrderIds": {
      "type": "array",
      "items": {
        "type": "string",
        "description": "item. String."
      },
      "description": "matchedOrderIds. Array."
    },
    "mismatches": {
      "type": "array",
      "items": {
        "type": "string",
        "description": "Item. String."
      },
      "description": "mismatches. Array."
    },
    "missingInSettlement": {
      "type": "array",
      "items": {
        "type": "string",
        "description": "Item. String."
      },
      "description": "missingInSettlement. Array."
    },
    "unknownOrders": {
      "type": "array",
      "items": {
        "type": "string",
        "description": "Item. String."
      },
      "description": "unknownOrders. Array."
    },
    "totals": {
      "type": "object",
      "properties": {
        "sellerCollected": {
          "type": "number",
          "description": "sellerCollected. Number."
        },
        "marketplaceCollected": {
          "type": "number",
          "description": "marketplaceCollected. Number."
        },
        "refunded": {
          "type": "number",
          "description": "refunded. Number."
        }
      },
      "additionalProperties": {},
      "description": "totals. Object."
    },
    "sources": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "source": {
            "type": "string",
            "description": "source. String."
          },
          "url": {
            "type": "string",
            "description": "url. String."
          },
          "retrievedAt": {
            "type": "string",
            "description": "retrievedAt. String."
          },
          "status": {
            "type": "string",
            "description": "status. String."
          }
        },
        "additionalProperties": {},
        "description": "item. Object."
      },
      "description": "sources. Array."
    },
    "limitations": {
      "type": "array",
      "items": {
        "type": "string",
        "description": "item. String."
      },
      "description": "limitations. Array."
    }
  },
  "$schema": "http://json-schema.org/draft-07/schema#",
  "additionalProperties": {}
}

Community

Rate this Server

Evidence

Recent observations

verifiedversion not recorded9 tools