# UK Gallons to Barrels Volume Converter

> UK Gallons to Barrels Volume 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 (imperial) gallons to barrels

## Facts

- Endpoint: GET https://agent402.tools/api/convert/uk-gallons-to-barrels
- 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-barrels-volume-converter-82eb1bde
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_--Ur2fMIT75XKH2refOgt

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-barrels-volume-converter-82eb1bde
```

Example prompt: Convert 250 UK gallons to barrels for me.

## When to prefer this

Use this endpoint when you specifically need to convert UK imperial gallons (not US gallons) to barrels. Ideal for oil, brewing, or industrial volume calculations that use imperial British measurements.

## Known failure modes

- Missing or non-numeric value parameter returns an error
- Non-numeric string input may result in bad request or NaN
- Very large or very small floats may produce precision edge cases
- Payment of $0.001 USDC required per call; missing payment returns 402

## How this service works

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

## Output

Returns the converted volume value expressed in barrels, corresponding to the input numeric value provided in UK (imperial) gallons.

## Example request

```json
{
 "input": {
  "type": "http",
  "method": "GET",
  "queryParams": {
   "value": "100"
  }
 }
}
```

## 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-barrels-volume-converter-82eb1bde/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)
