Api Endpoint

Amazon FBA Unit Economics & Breakeven ACOS Calculator

Deterministic Amazon FBA unit economics calculator. Pass ?price_usd=29.99&cogs_usd=6.50&weight_oz=12&referral_pct=15. Returns size tier, referral fee, estimated FBA fulfillment + storage fee, net pre-ad contribution ($ and %), breakeven ACOS %, breakeven ROAS, and target ACOS for a 15% net margin.

Open interactive test console

Offering

Provider
x402-niche-briefs.fly.dev
Method
GET
Offering type
Api Endpoint
Transport type
http
Category
Other
Delivery
Not provided
Pricing model
Not provided
x402 version
2

Endpoint context

URL
https://x402-niche-briefs.fly.dev/v1/fba-fee-margin-calc
MIME type
application/json
First seen
2026-11-01T15:23:28.507Z
Last seen
Tags
amazon-fba, unit-economics, margin, acos, roas, calculator, ecommerce

Payment pricing

x402 payment terms are the authoritative price for calling this endpoint.

Payment option 1
0.01 USDC
Atomic price: 10000 · Network: eip155:8453 · Asset: USDC · Scheme: exact
Raw x402 terms
[
  {
    "scheme": "exact",
    "network": "eip155:8453",
    "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
    "amount": "10000",
    "payTo": "0x847f54ae8dDFD71ed7bC930C1f7a73576FAb03A9"
  }
]

Observed health

Status
Healthy
Latest latency
101 ms
Average latency
93 ms
HTTP status
402
Last checked
Reachability
100% over 2 checks

Latency is measured to the first response headers. A reachable result does not verify response accuracy or merchant identity.

Input schema

{
  "type": "object",
  "properties": {
    "type": {
      "type": "string",
      "const": "http"
    },
    "method": {
      "type": "string",
      "enum": [
        "GET"
      ]
    },
    "queryParams": {
      "type": "object",
      "properties": {
        "price_usd": {
          "type": "string",
          "description": "Retail sale price in USD"
        },
        "cogs_usd": {
          "type": "string",
          "description": "Landed cost of goods sold per unit in USD"
        },
        "weight_oz": {
          "type": "string",
          "description": "Packaged unit shipping weight in ounces"
        },
        "referral_pct": {
          "type": "string",
          "description": "Amazon category referral fee percentage (default 15)"
        }
      },
      "required": [
        "price_usd",
        "cogs_usd",
        "weight_oz"
      ]
    }
  },
  "required": [
    "type",
    "method"
  ],
  "additionalProperties": false
}

Output schema

{
  "type": "object",
  "properties": {
    "type": {
      "type": "string"
    },
    "example": {
      "type": "object",
      "$schema": "https://json-schema.org/draft/2020-12/schema",
      "properties": {
        "as_of": {
          "type": "string"
        },
        "inputs": {
          "type": "object",
          "properties": {
            "price_usd": {
              "type": "number"
            },
            "cogs_usd": {
              "type": "number"
            },
            "weight_oz": {
              "type": "number"
            },
            "referral_pct": {
              "type": "number"
            }
          },
          "required": [
            "price_usd",
            "cogs_usd",
            "weight_oz",
            "referral_pct"
          ]
        },
        "estimated_size_tier": {
          "type": "string"
        },
        "fee_breakdown_usd": {
          "type": "object",
          "properties": {
            "referral_fee_usd": {
              "type": "number"
            },
            "fba_fulfillment_fee_usd": {
              "type": "number"
            },
            "est_storage_and_inbound_placement_usd": {
              "type": "number"
            },
            "total_amazon_fees_usd": {
              "type": "number"
            }
          },
          "required": [
            "referral_fee_usd",
            "fba_fulfillment_fee_usd",
            "est_storage_and_inbound_placement_usd",
            "total_amazon_fees_usd"
          ]
        },
        "unit_economics": {
          "type": "object",
          "properties": {
            "net_pre_ad_contribution_usd": {
              "type": "number"
            },
            "net_pre_ad_margin_pct": {
              "type": "number"
            },
            "breakeven_acos_pct": {
              "type": "number"
            },
            "breakeven_roas": {
              "type": "number"
            },
            "target_acos_for_15pct_net_profit": {
              "type": "number"
            },
            "health_verdict": {
              "type": "string"
            }
          },
          "required": [
            "net_pre_ad_contribution_usd",
            "net_pre_ad_margin_pct",
            "breakeven_acos_pct",
            "breakeven_roas",
            "target_acos_for_15pct_net_profit",
            "health_verdict"
          ]
        },
        "disclaimer": {
          "type": "string"
        }
      },
      "required": [
        "as_of",
        "inputs",
        "estimated_size_tier",
        "fee_breakdown_usd",
        "unit_economics",
        "disclaimer"
      ]
    }
  },
  "required": [
    "type"
  ]
}