# US Gallons to Teaspoons Volume Converter

> US Gallons to Teaspoons Volume Converter is a paid API for AI agents from agent402.tools, paid per call via x402, $0.001/call, status down (last checked 2026-09-15).

Converts a numeric volume value from US gallons to teaspoons via a simple query parameter GET request.

## Facts

- Endpoint: GET https://agent402.tools/api/convert/us-gallons-to-teaspoons
- Price: $0.001/call
- Payment: x402
- Status: down
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/us-gallons-to-teaspoons-volume-converter-3cedaa3b
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_IhFP-ygS62qzSU_UXe84B

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 us-gallons-to-teaspoons-volume-converter-3cedaa3b
```

Example prompt: How many teaspoons are in 2.5 US gallons?

## When to prefer this

Use this endpoint when you need a quick, programmatic US gallons to teaspoons conversion without implementing the math yourself, especially in automated workflows, recipe scaling tools, or unit-aware agents that need reliable volume conversions.

## Known failure modes

- Missing required 'value' query parameter returns an error
- Non-numeric or invalid 'value' parameter causes a bad request response
- Payment failure or missing x402 payment header blocks the request
- Extremely large or small numeric inputs may cause overflow or underflow

## How this service works

Convert us gallons to teaspoons (volume). Pass ?value=N.

## Output

A numeric value representing the input quantity converted from US gallons into teaspoons, returned for the provided value query parameter.

## 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/us-gallons-to-teaspoons-volume-converter-3cedaa3b/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)
