# Strale Marketplace Fee Calculator

> Strale Marketplace Fee Calculator is a paid API for AI agents from api.strale.io, paid per call via x402, $0.054001/call, status unknown (last checked 2026-09-14).

Calculates seller fees and net revenue breakdown for Amazon, eBay, Etsy, and Shopify given a sale price and optional product category.

## Facts

- Endpoint: GET https://api.strale.io/x402/marketplace-fee-calculate
- Price: $0.054001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/api-strale-io-a24ab401
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap__OXte9VfBnsA8rOKzNDwP

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability api-strale-io-a24ab401
```

Example prompt: What are the Amazon seller fees on a $79.99 electronics item — break down the total fees and what I'd actually net?

## When to prefer this

Use this endpoint when you need fast, structured fee calculations for one of the four supported marketplaces (Amazon, eBay, Etsy, Shopify) and want a breakdown of net revenue vs fees. Prefer this over manual calculation or scraping marketplace help pages for consistent, programmatic results.

## Known failure modes

- Missing required 'marketplace' or 'sale_price' query parameters returns 400 error
- Invalid marketplace value (not amazon/ebay/etsy/shopify) returns error or unexpected result
- Negative or zero sale_price may return error
- Payment not included results in 402 Payment Required

## How this service works

Calculate seller fees for Amazon, eBay, Etsy, Shopify. Returns total fees, net revenue, fee breakdown.

## Output

Returns total marketplace fees charged, net revenue the seller receives, and a detailed fee breakdown for the specified marketplace and sale price combination.

## Example request

```json
{
 "category": "electronics",
 "sale_price": 79.99,
 "marketplace": "amazon"
}
```

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET",
      "HEAD",
      "DELETE"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "marketplace",
      "sale_price"
     ],
     "properties": {
      "category": {
       "type": "string"
      },
      "sale_price": {
       "type": "number"
      },
      "marketplace": {
       "type": "string",
       "description": "amazon/ebay/etsy/shopify"
      }
     }
    }
   },
   "additionalProperties": false
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/api-strale-io-a24ab401/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.strale.io](https://www.zero.xyz/host/api.strale.io/llms.txt)
