# Marketplace Proceeds Target Gap Calculator

> Marketplace Proceeds Target Gap Calculator is a paid API for AI agents from market.datapackvibe.com, paid per call via x402, $0.01/call, status unknown (last checked 2026-10-18).

Calculates the gap between actual marketplace proceeds (after fees and refunds) and a specified target net proceeds figure, using supplied retail values.

## Facts

- Endpoint: POST https://market.datapackvibe.com/x402/assistant-sector-retail-marketplace-proceeds-target-gap?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-18
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/marketplace-proceeds-target-gap-calculator-f79033a8
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_wqdktNRVvax_DM7ZQPGao

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 marketplace-proceeds-target-gap-calculator-f79033a8 -d '<json body>'
```

Example prompt: I sold an item for $250 on a marketplace, they charge 12% plus a $1.50 fixed fee, I had $8 in refunds, and I want to know how far my net proceeds are from my $200 target — can you calculate that gap for me?

## When to prefer this

Use this endpoint when you need a fast, local calculation of the gap between expected net marketplace proceeds and a target figure, given known fee structures. Ideal for scenario analysis and planning without needing live platform fee lookups or account access. Not suitable if you need real-time fee rates, live inventory data, or actual order execution.

## Known failure modes

- Missing required fields (gross_sale, fee_percent, fixed_fee, refunds) returns a validation error
- Values exceeding maximum bounds (e.g. gross_sale > 1 trillion) are rejected
- Non-numeric inputs for numeric fields cause schema validation failure
- Negative values for refunds, fixed_fee, or gross_sale (below minimum 0) are rejected

## How this service works

Marketplace proceeds from supplied fees - Target gap calculation: Target gap calculation for Marketplace proceeds from supplied fees. Supplied retail figures only. Local calculation and scenario analysis; no live inventory, account access, platform fee lookup or order execution. One of 25 profiles or calculations across 20 shared operations in this sector. 0.01 USDC includes one bounded target gap calculation deliverable.

## Output

Returns a computed target gap value — the difference between the calculated net marketplace proceeds (gross sale minus percentage fee, fixed fee, and refunds) and the specified target amount, indicating a shortfall or surplus.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "target": {
   "type": "number",
   "default": 100,
   "maximum": 1000000000000000000,
   "minimum": -1000000000000000000
  },
  "values": {
   "type": "object",
   "default": {
    "refunds": 5,
    "fixed_fee": 1,
    "gross_sale": 100,
    "fee_percent": 10
   },
   "required": [
    "gross_sale",
    "fee_percent",
    "fixed_fee",
    "refunds"
   ],
   "properties": {
    "refunds": {
     "type": "number",
     "default": 5,
     "maximum": 1000000000000,
     "minimum": 0
    },
    "fixed_fee": {
     "type": "number",
     "default": 1,
     "maximum": 1000000000000,
     "minimum": 0
    },
    "gross_sale": {
     "type": "number",
     "default": 100,
     "maximum": 1000000000000,
     "minimum": 0
    },
    "fee_percent": {
     "type": "number",
     "default": 10,
     "maximum": 100,
     "minimum": 0
    }
   },
   "additionalProperties": false
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/marketplace-proceeds-target-gap-calculator-f79033a8/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from market.datapackvibe.com](https://www.zero.xyz/host/market.datapackvibe.com/llms.txt)
