Seller Assistant API
HomeSeller AssistantHelp CenterAccount
HomeSeller AssistantHelp CenterAccount
Get API Keys
  1. Products
  • Introduction
  • Authentication
  • Throttling
  • Error Handling
  • Marketplace IDs and Categories
  • User Info
    • Get current user info
      GET
  • Products
    • Get product info
      GET
    • Get product statistics
      GET
    • Calculate product profit
      POST
  • UPC-EAN-ASIN converters
    • Get product ASINs based on identifiers (UPC or EAN)
      GET
    • Get product identifiers (UPC, EAN, etc.) based on ASIN
      GET
  • Restrictions
    • Check ASIN restrictions
      GET
  • Sales Estimation
    • Estimate sales by ASIN
      GET
    • Estimate sales by BSR and category
      POST
  • Keepa
    • Get Keepa product
      GET
  1. Products

Calculate product profit

POST
https://app.sellerassistant.app/api/v1/products/{asin}/calculate
Products
Calculate product profit. The limit is 60 requests per minute. Amazon seller account integration is required to make this request. You can do it here.

Request

Authorization
Add parameter in header
X-Api-Key
Example:
X-Api-Key: ********************
Path Params
asin
required
Amazon product ASIN.
Example:
B00U26V4VQ
Query Params
domain
optional
Amazon marketplace domain. Domain amazon.com is used by default if domain and marketplaceId are not provided. If both domain and marketplaceId are chosen, domain has bigger priority. Options: amazon.com, amazon.ca, amazon.co.uk, amazon.de, amazon.es, amazon.it, amazon.fr, amazon.in, amazon.com.mx, amazon.com.br.
Example:
amazon.com
marketplaceId
optional
Amazon marketplace id. Domain amazon.com is used by default if domain and marketplaceId are not provided. If both domain and marketplaceId are chosen, domain has bigger priority. See all options here.
Example:
ATVPDKIKX0DER
Body Params application/json
cog
string <decimal>
required
Cost of Goods. Please add taxes to COG if necessary.
Example:
29.99
fba3pl
string <decimal>
required
Third Party Logistics for FBA. Please add FBA inbound placement service fee to Third Party Logistics for FBA if necessary (https://www.sellerassistant.app/blog/amazon-inbound-placement-fees).
Example:
2.15
fbm3pl
string <decimal>
required
Third Party Logistics for FBM.
Example:
3.21
overridePrice
string <decimal> | null 
optional
Optional price that overrides the price from Amazon to calculate profit. If not provided, the price from Amazon is used.
Example:
null
Example
{
    "cog": "29.99",
    "fba3pl": "2.15",
    "fbm3pl": "3.21",
    "overridePrice": null
}

Request samples

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://app.sellerassistant.app/api/v1/products/B00U26V4VQ/calculate' \
--header 'Content-Type: application/json' \
--header 'X-Api-Key;' \
--data-raw '{
    "cog": "29.99",
    "fba3pl": "2.15",
    "fbm3pl": "3.21",
    "overridePrice": null
}'

Responses

🟢200OK
application/json
Calculate product profit response
Body
currency
object 
required
Currency information
code
string 
required
Currency code
Example:
USD
symbol
string 
required
Currency symbol
Example:
$
calculations
object 
required
Calculation details
fba
object 
required
FBA calculation details
fbm
object 
required
FBM calculation details
profit
object 
required
Profit details
fba
object 
required
FBA profit details
fbm
object 
required
FBM profit details
estimate
object 
required
Estimate details
sales
integer 
required
Estimated sales (pieces per month)
Example:
10000
revenue
string <decimal>
required
Estimated revenue is calculated as: = sales x price (per month).
Example:
439700.00
Example
{
    "currency": {
        "code": "USD",
        "symbol": "$"
    },
    "calculations": {
        "fba": {
            "price": "43.97",
            "cog": "29.99",
            "referralFee": "6.60",
            "fbaFee": "6.61",
            "storageFee": "0.49",
            "variableClosingFee": "0.00",
            "fba3pl": "2.15",
            "profit": "-1.87"
        },
        "fbm": {
            "price": "43.97",
            "cog": "29.99",
            "referralFee": "6.60",
            "variableClosingFee": "0.00",
            "fbm3pl": "3.21",
            "profit": "4.17"
        }
    },
    "profit": {
        "fba": {
            "amount": "-1.87",
            "breakEven": {
                "price": "46.16",
                "profit": "0.00"
            },
            "roi10": {
                "price": "49.95",
                "profit": "3.21"
            },
            "roi20": {
                "price": "53.73",
                "profit": "6.43"
            },
            "roi": -5.82,
            "margin": -4.25
        },
        "fbm": {
            "amount": "4.17",
            "breakEven": {
                "price": "39.06",
                "profit": "0.00"
            },
            "roi10": {
                "price": "42.96",
                "profit": "3.00"
            },
            "roi20": {
                "price": "46.87",
                "profit": "7.00"
            },
            "roi": 12.56,
            "margin": 9.48
        }
    },
    "estimate": {
        "sales": 10000,
        "revenue": "439700.00"
    }
}
🟠400Bad Request
🟠402402
🟠403Forbidden
🟠404Record Not Found
🟠422Parameter Error
🟠429429
🔴500Server Error
Previous
Get product statistics
Next
Get product ASINs based on identifiers (UPC or EAN)
Built with