# agent402.tools Hours to Days Converter

> agent402.tools Hours to Days 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-04).

Converts a numeric value in hours to its equivalent in days via a simple GET request with a query parameter.

## Facts

- Endpoint: GET https://agent402.tools/api/convert/hours-to-days
- Price: $0.001/call
- Payment: x402
- Status: down
- Last checked: 2026-09-04
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/agent402-tools-hours-to-days-converter-272f0eae
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_G3W-HpVE8Y6FsggmNj60a

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 agent402-tools-hours-to-days-converter-272f0eae
```

Example prompt: How many days is 240 hours? Convert that for me.

## When to prefer this

Use this endpoint when you need a quick, programmatic hours-to-days conversion without implementing the math yourself, especially in automated workflows or agent pipelines that pay per-call via x402 micropayments.

## Known failure modes

- Missing 'value' query parameter returns an error
- Non-numeric or malformed value causes a bad request response
- Very large numbers may return unexpected floating point results
- Network timeout if service is temporarily unavailable

## How this service works

Convert hours to days (time). Pass ?value=N.

## Output

Returns the numeric equivalent of the input hours value expressed in days (e.g., 24 hours → 1 day, 48 hours → 2 days).

## Example request

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

## 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/agent402-tools-hours-to-days-converter-272f0eae/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)
