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": 3.91,
        "referralFee": 0,
        "storageFeePeak": 0.0971,
        "storageFeeNonPeak": 0.03156,
        "totalCost": 3.91,
        "currency": "USD"
      },
      "MFN": {
        "referralFee": 0,
        "totalCost": 0,
        "currency": "USD"
      }
    },
    "product": {
      "asin": "B07FZ8S74R",
      "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": 3.91,
                "currency": "USD"
              }
            },
            "ReferralFee": {
              "total": {
                "amount": 0,
                "currency": "USD"
              }
            }
          }
        },
        "MFN#1": {
          "otherFeeInfoMap": {
            "ReferralFee": {
              "total": {
                "amount": 0,
                "currency": "USD"
              }
            }
          }
        }
      }
    }
  }
}

积点消耗说明

5个/次

Authorizations

Authorization
string
header
required

Bearer token authentication

Body

application/json

收益计算器请求参数

The body is of type object.

Response

200 - application/json

成功返回示例

The response is of type object.