# UK Gallons to Cups Converter

> UK Gallons to Cups Converter is a paid API for AI agents from agent402.tools, paid per call via x402, $0.001/call, status unknown (last checked 2026-09-14).

Converts a numeric volume value from UK gallons to cups via a simple GET request with a query parameter.

## Facts

- Endpoint: GET https://agent402.tools/api/convert/uk-gallons-to-cups
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/uk-gallons-to-cups-converter-8c128822
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_Dz3hv4QD8pvVFsVXFRQ27

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 uk-gallons-to-cups-converter-8c128822
```

Example prompt: How many cups are in 3 UK gallons? Can you convert that for me?

## When to prefer this

Use this endpoint when you specifically need to convert UK (imperial) gallons to cups and want a lightweight, single-purpose conversion without setting up a full unit-conversion library. Ideal for cooking, brewing, or recipe scaling contexts where UK imperial measurements need to be expressed as cups.

## Known failure modes

- Missing or non-numeric value parameter returns an error
- Negative or zero values may produce unexpected results
- Non-numeric string passed as value causes a bad request response
- Payment not provided or insufficient USDC balance results in 402 response

## How this service works

Convert uk gallons to cups (volume). Pass ?value=N.

## Output

Returns the converted volume value expressing the input UK gallons quantity as an equivalent number of cups.

## 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"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "value"
     ],
     "properties": {
      "value": {
       "type": "string",
       "description": "Numeric value to convert"
      }
     }
    }
   },
   "additionalProperties": false
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/uk-gallons-to-cups-converter-8c128822/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from agent402.tools](https://www.zero.xyz/host/agent402.tools/llms.txt)
