# AGISHub UTC Offset Lookup

> AGISHub UTC Offset Lookup is a paid API for AI agents from api.agishub.com, paid per call via x402, $0.01/call, status unknown (last checked 2026-09-15).

Returns the exact DST-aware UTC offset (in minutes and formatted string) for any IANA timezone at a specified or current instant, including fractional offsets like India +05:30 and Nepal +05:45.

## Facts

- Endpoint: GET https://api.agishub.com/v1/time-offset
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/agishub-utc-offset-lookup-c8884ca8
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_F0hVsGiFTmED_NioahYI-

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 agishub-utc-offset-lookup-c8884ca8
```

Example prompt: What is the exact UTC offset for the Asia/Kolkata timezone right now, including whether DST is in effect?

## When to prefer this

Use this endpoint when you need a precise, DST-aware UTC offset for any IANA timezone at a specific past, present, or future instant — especially for fractional-hour timezones like India (+05:30) or Nepal (+05:45) where simple offset tables are error-prone. Prefer this over timezone conversion endpoints when you only need the raw offset, not a full datetime conversion.

## Known failure modes

- Invalid or unrecognized IANA timezone name returns an error
- Malformed ISO 8601 instant string causes a parsing error
- Missing required 'timezone' parameter returns a 400-level error
- Ambiguous natural language instant may be misinterpreted

## How this service works

Get the exact UTC offset of an IANA timezone at a given instant, DST-aware. Correctly handles fractional offsets such as India +05:30 and Nepal +05:45.

## Output

A JSON object containing the UTC offset for the requested IANA timezone at the given instant, expressed in minutes and as a formatted offset string (e.g. +05:30), along with DST status. Handles fractional offsets correctly.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input",
  "output"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method",
    "queryParams"
   ],
   "properties": {
    "type": {
     "enum": [
      "http"
     ],
     "type": "string"
    },
    "method": {
     "enum": [
      "GET"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "timezone"
     ],
     "properties": {
      "instant": {
       "type": "string",
       "description": "ISO 8601 or natural language. Defaults to now."
      },
      "timezone": {
       "type": "string",
       "description": "IANA timezone."
      }
     },
     "additionalProperties": false
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type",
    "example"
   ],
   "properties": {
    "type": {
     "enum": [
      "json"
     ],
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   },
   "additionalProperties": false
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "result": "Get the exact UTC offset of an IANA timezone at a given instant, DST-aware. Correctly handles fractional offsets such as"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/agishub-utc-offset-lookup-c8884ca8/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.agishub.com](https://www.zero.xyz/host/api.agishub.com/llms.txt)
