# Agent Gas Station MinFill Threshold Check

> Agent Gas Station MinFill Threshold Check is a paid API for AI agents from agent-gas-station.agent-gas-station.workers.dev, paid per call via x402, $0.01/call, status unknown (last checked 2026-10-31).

Validates whether a given output amount meets or exceeds a minimum fill floor, returning a pass or fail result.

## Facts

- Endpoint: POST https://agent-gas-station.agent-gas-station.workers.dev/v1/MinFill?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-31
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/agent-gas-station-minfill-threshold-check-20c5e2a6
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_Fbt3lzyMqIASngVHULrFk

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 agent-gas-station-minfill-threshold-check-20c5e2a6 -d '<json body>'
```

Example prompt: Before executing this swap, check if the amount_out of 98.5 passes the minimum fill floor of 97.0 — only proceed if it clears the threshold.

## When to prefer this

Use this endpoint when you need a lightweight, stateless check to determine if a computed output amount clears a minimum acceptable threshold before committing to a swap or payment. It is ideal for pre-trade validation in automated DeFi agent workflows where slippage protection or floor gating is required.

## Known failure modes

- Missing or malformed floor or amount_out fields returns an error
- Non-numeric string values for floor or amount_out may cause parse failures
- Network timeout or Cloudflare Worker downtime returns a 5xx error
- Payment not included or insufficient payment triggers a 402 response requiring $0.01 USDC

## How this service works

Pass or fail against a floor.

## Output

A pass or fail signal indicating whether the provided amount_out meets or exceeds the specified floor threshold. The agent can use this binary result to gate subsequent swap or payment actions.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "floor": {
   "type": "string"
  },
  "amount_out": {
   "type": "string"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/agent-gas-station-minfill-threshold-check-20c5e2a6/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from agent-gas-station.agent-gas-station.workers.dev](https://www.zero.xyz/host/agent-gas-station.agent-gas-station.workers.dev/llms.txt)
