POST
/
revenue-calculator
curl --request POST \
  --url https://scrapeapi.pangolinfo.com/api/v1/revenue-calculator \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "asin": "B07FZ8S74R",
  "country": "US",
  "fbaPrice": 123,
  "mfnPrice": 123,
  "mfnShippingPrice": 123,
  "packageLength": 123,
  "packageWidth": 123,
  "packageHeight": 123,
  "dimensionUnit": "inches",
  "packageWeight": 123,
  "weightUnit": "pounds",
  "programs": [
    "FBA"
  ]
}'
{
  "code": 0,
  "message": "ok",
  "data": {
    "summary": {
      "FBA": {
        "fulfillmentFee": 5.62,
        "referralFee": 7.5,
        "referralFeeBase": 7.5,
        "referralFeePromotion": 0,
        "fixedClosingFee": 1.8,
        "amazonFeeTotal": 9.3,
        "storageFeePeak": 0.78,
        "storageFeeNonPeak": 0.39,
        "totalCost": 14.92,
        "profit": 34.68,
        "profitRate": 69.37,
        "currency": "USD"
      },
      "MFN": {
        "referralFee": 7.5,
        "referralFeeBase": 7.5,
        "referralFeePromotion": 0,
        "fixedClosingFee": 1.8,
        "amazonFeeTotal": 9.3,
        "totalCost": 9.3,
        "profit": 40.69,
        "profitRate": 81.4,
        "currency": "USD"
      }
    },
    "product": {
      "asin": "B07FZ8S74R",
      "price": 49.99,
      "title": "Echo Dot (3rd Gen, 2018 release) - Smart speaker with Alexa - Charcoal",
      "imageUrl": "https://m.media-amazon.com/images/I/41CRnvYqmqL._SL120_.jpg",
      "glProductGroupName": "gl_digital_products_3",
      "salesRank": null,
      "dimension": {
        "length": 0,
        "width": 0,
        "height": 0,
        "unit": "inches"
      },
      "weight": {
        "value": 0,
        "unit": "pounds"
      }
    },
    "raw": {
      "countryCode": "US",
      "asin": "B07FZ8S74R",
      "programFeeResultMap": {
        "Core#0": {
          "otherFeeInfoMap": {
            "FulfillmentFee": {
              "total": {
                "amount": 5.62,
                "currency": "USD"
              }
            },
            "ReferralFee": {
              "total": {
                "amount": 7.5,
                "currency": "USD"
              }
            }
          }
        },
        "MFN#1": {
          "otherFeeInfoMap": {
            "ReferralFee": {
              "total": {
                "amount": 7.5,
                "currency": "USD"
              }
            }
          }
        }
      }
    }
  }
}

Credit Consumption

5 Credit/Per Request

Authorizations

Authorization
string
header
required

Bearer token authentication

Body

application/json

Revenue Calculator request parameters

The body is of type object.

Response

200 - application/json

Successful response example

The response is of type object.