# gateway.apiosk.com Trust-Checks Calculate

> gateway.apiosk.com Trust-Checks Calculate is a paid API for AI agents from gateway.apiosk.com, paid per call via x402, $0.07/call, status unknown (last checked 2026-09-14).

Calculates trust-check fees, net, and gross amounts for a set of line items and a fee structure, returning a validated breakdown of fixed and percentage fees.

## Facts

- Endpoint: POST https://gateway.apiosk.com/trust-checks/calculate
- Price: $0.07/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/gateway-apiosk-com-trust-checks-calculate-868546a8
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_eTodPU03Rg11nNG8J_uZ1

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 gateway-apiosk-com-trust-checks-calculate-868546a8 -d '<json body>'
```

Example prompt: Can you calculate the trust-check fees and net payout for these line items — a $30 gross order — using a $0.50 fixed fee plus 2% percentage fee, and confirm whether the fee structure is valid?

## When to prefer this

Use this endpoint when you need to compute and validate fee breakdowns — including fixed and percentage components — for a set of line items, and want a server-side authoritative calculation of net and gross amounts rather than doing the math client-side.

## Known failure modes

- Missing or malformed fees object returns validation error
- Empty or invalid line_items array causes computation failure
- Fee structure that doesn't add up to gross returns valid:false
- Network timeout or gateway error returns non-200 response
- Malformed JSON body returns parse error

## How this service works

Independently re-compute order/invoice math from line items and optional fees, returning gross, fee and net so an agent's own totals can be verified against a trusted calculation.

## Output

Returns a JSON object with ok status, total fee amount, net amount after fees, gross amount, validity flag, the endpoint name, and a breakdown of fixed and percentage fee components.

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/gateway-apiosk-com-trust-checks-calculate-868546a8/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from gateway.apiosk.com](https://www.zero.xyz/host/gateway.apiosk.com/llms.txt)
