# 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.054/call, status unknown (last checked 2026-09-15).

Calculates the marketplace fee for a given sale price on Amazon, eBay, Etsy, or Shopify, optionally filtered by product category.

## Facts

- Endpoint: GET https://api.strale.io/x402/v2/marketplace-fee-calculate
- Price: $0.054/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/strale-marketplace-fee-calculator-c496e9fa
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_zaiEJ9MqnCwx-lK0cqd4r

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 strale-marketplace-fee-calculator-c496e9fa
```

Example prompt: What's the marketplace fee if I sell something for $79.99 on Amazon in the electronics category?

## When to prefer this

Use this endpoint when you need a fast, reliable fee calculation for a specific marketplace (Amazon, eBay, Etsy, or Shopify) and optionally by product category. Prefer this over manual fee tables or scraped data when you need an up-to-date, auditable result — especially within agentic workflows that require a cryptographic audit trail. Best suited for pre-listing margin calculations, pricing automation, or real-time fee comparison.

## Known failure modes

- Missing required 'marketplace' or 'sale_price' query parameters returns a 400 error
- Unsupported marketplace value (not amazon/ebay/etsy/shopify) returns validation error
- Negative or zero sale_price may return a validation or computation error
- Payment not provided or insufficient USDC (x402 protocol) results in 402 Payment Required
- Network or service unavailability returns 5xx error

## How this service works

The trust layer for AI agents — 250+ independently tested data capabilities across 27 countries. Execute capabilities via REST, MCP, A2A, or x402 micropayments. Every call returns an audit record with cryptographic chain hashing.

## Output

Returns the calculated marketplace fee for the given sale price on the specified platform, including the fee amount (likely in currency) and potentially the fee rate or percentage. May include a cryptographic audit record per Strale's trust layer.

## 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/strale-marketplace-fee-calculator-c496e9fa/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)
