# timeanddate time zone and clock changes for a place API

Get timeanddate Clock Changes data via REST or OpenAny MCP—with pay-per-use pricing and no subscription. Powered by Apish, pass parameters such as output, place, raw, and retrieve structured data including resolved source place path, current source UTC offset, transition year, previous zone abbreviation, and following zone abbreviation for calendar context, and follow-up calculations.

Documentation: https://openany.si/timeanddate/timeanddate-time-zone-and-clock-changes-for-a-place-api/cf999b07-709d-44fe-8765-76d46dca9f2e/
API ID: cf999b07-709d-44fe-8765-76d46dca9f2e
Provider: apish
Contract revision: 3
Method: GET
Endpoint: https://api.openany.si/v1/agent-apis/apish/timeanddate/v1/timezone
Page update time: 2026-12-03T02:45:13.756Z
Access: OpenAny REST
OpenAny MCP: availability is not supplied by this REST contract. Check get_api on the configured OpenAny MCP server before execution.
Request content type: none
Execution mode: sync
Authentication: Authorization: Bearer $OPENANY_API_KEY

## Billing
Price: $0.002 / billing credit
API-key calls use your shared balance. Review the published billing rules before making a paid request.
Price source: OpenAny public API contract.
Contract update time: 2026-12-03T02:45:12.703Z. This is not a price-change timestamp.
```json
{
  "currency": "USD",
  "mode": "rules",
  "parameters": [],
  "policy_version": 2,
  "sale": {
    "addons": [],
    "base_price_micro_usd": "0",
    "max_cost_micro_usd": "2000",
    "quantities": [
      {
        "id": "upstream_credits",
        "label": "Actual API.SH credits used",
        "max_quantity": "1",
        "measure": "value",
        "pointer": "/credits_used",
        "price_micro_usd": "2000",
        "quantity_scale": 0,
        "source": "response",
        "unit": "credit",
        "unit_quantity": "1"
      }
    ],
    "rounding": "ceil",
    "variants": []
  }
}
```

## Usage and limits
## timeanddate Clock Changes API

Use place or q to resolve the location. start\_year selects a year within the decade to list, not a per-day timestamp conversion. changes preserves year, date\_time, from/to abbreviations and the offset after each transition; current and next\_change are separate source context.

## What You Can Build

- **Calendar context**: Retain the requested date range and returned source context when displaying calendar information.
- **Follow-up calculations**: Use explicit source conventions and the returned identifiers or dates when planning a follow-up calculation.

## Returned Data

| Field | Meaning |
| --- | --- |
| `place` | Resolved source place path |
| `current_offset_hours` | Current source UTC offset |
| `changes[].year` | Transition year |
| `changes[].from` | Previous zone abbreviation |
| `changes[].to` | Following zone abbreviation |
| `changes[].utc_offset_after_hours` | UTC offset after the transition |

## Request parameters
```json
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "timeanddate time zone and clock changes for a place API request inputs",
  "$comment": "Declared input types grouped by HTTP location. Path, query and header values describe decoded inputs and are serialized as text on the wire; body is the payload. This is not an exhaustive provider contract or a schema for the raw HTTP request.",
  "type": "object",
  "properties": {
    "path": {
      "type": "object",
      "properties": {}
    },
    "query": {
      "type": "object",
      "properties": {
        "place": {
          "type": "string",
          "description": "timeanddate place path (e.g. usa/new-york) or a place link."
        },
        "q": {
          "type": "string",
          "description": "Or a place name."
        },
        "start_year": {
          "type": "integer",
          "description": "A year in the decade to list (YYYY; default the current years)."
        },
        "raw": {
          "type": "string",
          "description": "0 leaves out the bulky `raw` source blocks (often 10-30x smaller).",
          "enum": [
            "0",
            "1"
          ]
        },
        "fields": {
          "type": "string",
          "description": "Comma-separated fields to return, e.g. `posts.id,posts.title`. Call metadata is always included."
        },
        "fresh": {
          "type": "string",
          "description": "1 skips the 24-hour cache and fetches live.",
          "enum": [
            "1"
          ]
        },
        "output": {
          "type": "string",
          "description": "JSON only for this OpenAny product. CSV and NDJSON exports are not supported; omit output or send json.",
          "enum": [
            "json"
          ]
        },
        "records": {
          "type": "string",
          "description": "With output=csv|ndjson: the top-level list to turn into rows (e.g. `reviews`), or `.` for the whole object as one row."
        }
      }
    },
    "headers": {
      "type": "object",
      "properties": {}
    }
  },
  "required": [
    "path",
    "query",
    "headers"
  ]
}
```

## Response fields
Source: Inferred from examples; not an exhaustive provider schema.
```json
{
  "type": "object",
  "properties": {
    "cached": {
      "type": "boolean"
    },
    "changes": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "change": {
            "type": "string"
          },
          "date_time": {
            "type": "string"
          },
          "from": {
            "type": "string"
          },
          "from_name": {
            "type": "string"
          },
          "next_change": {
            "type": "boolean"
          },
          "to": {
            "type": "string"
          },
          "to_name": {
            "type": "string"
          },
          "utc_offset_after": {
            "type": "string"
          },
          "utc_offset_after_hours": {
            "type": "integer"
          },
          "year": {
            "type": "integer"
          }
        }
      }
    },
    "count": {
      "type": "integer"
    },
    "credits_used": {
      "type": "integer"
    },
    "current": {
      "type": "string"
    },
    "current_offset": {
      "type": "string"
    },
    "current_offset_hours": {
      "type": "integer"
    },
    "fetched_at": {
      "type": "string"
    },
    "name": {
      "type": "string"
    },
    "next_change": {
      "type": "string"
    },
    "place": {
      "type": "string"
    },
    "start_year": {
      "type": "null"
    },
    "url": {
      "type": "string"
    }
  }
}
```

## Request example
Scenario: Official example · Live API.SH response · Minimal request
```bash
curl \
  'https://api.openany.si/v1/agent-apis/apish/timeanddate/v1/timezone?output=json&place=usa%2Fnew-york&raw=0' \
  -X GET \
  -H "Authorization: Bearer $OPENANY_API_KEY" \
  -H 'Content-Type: application/json'
```

## Response example
Example from the provider's documentation. Field values in your results will differ.
Sample response · Documented HTTP 200
```json
{
  "cached": false,
  "changes": [
    {
      "change": "+1 hour (DST start)",
      "date_time": "Sun, Mar 9 at 2:00 am",
      "from": "EST",
      "from_name": "Eastern Standard Time",
      "next_change": false,
      "to": "EDT",
      "to_name": "Eastern Daylight Time",
      "utc_offset_after": "UTC-4h",
      "utc_offset_after_hours": -4,
      "year": 2025
    },
    {
      "change": "-1 hour (DST end)",
      "date_time": "Sun, Nov 2 at 2:00 am",
      "from": "EDT",
      "from_name": "Eastern Daylight Time",
      "next_change": false,
      "to": "EST",
      "to_name": "Eastern Standard Time",
      "utc_offset_after": "UTC-5h",
      "utc_offset_after_hours": -5,
      "year": 2025
    },
    {
      "change": "+1 hour (DST start)",
      "date_time": "Sun, Mar 8 at 2:00 am",
      "from": "EST",
      "from_name": "Eastern Standard Time",
      "next_change": false,
      "to": "EDT",
      "to_name": "Eastern Daylight Time",
      "utc_offset_after": "UTC-4h",
      "utc_offset_after_hours": -4,
      "year": 2026
    },
    {
      "change": "-1 hour (DST end)",
      "date_time": "Sun, Nov 1 at 2:00 am",
      "from": "EDT",
      "from_name": "Eastern Daylight Time",
      "next_change": false,
      "to": "EST",
      "to_name": "Eastern Standard Time",
      "utc_offset_after": "UTC-5h",
      "utc_offset_after_hours": -5,
      "year": 2026
    },
    {
      "change": "+1 hour (DST start)",
      "date_time": "Sun, Mar 14 at 2:00 am",
      "from": "EST",
      "from_name": "Eastern Standard Time",
      "next_change": true,
      "to": "EDT",
      "to_name": "Eastern Daylight Time",
      "utc_offset_after": "UTC-4h",
      "utc_offset_after_hours": -4,
      "year": 2027
    },
    {
      "change": "-1 hour (DST end)",
      "date_time": "Sun, Nov 7 at 2:00 am",
      "from": "EDT",
      "from_name": "Eastern Daylight Time",
      "next_change": false,
      "to": "EST",
      "to_name": "Eastern Standard Time",
      "utc_offset_after": "UTC-5h",
      "utc_offset_after_hours": -5,
      "year": 2027
    },
    {
      "change": "+1 hour (DST start)",
      "date_time": "Sun, Mar 12 at 2:00 am",
      "from": "EST",
      "from_name": "Eastern Standard Time",
      "next_change": false,
      "to": "EDT",
      "to_name": "Eastern Daylight Time",
      "utc_offset_after": "UTC-4h",
      "utc_offset_after_hours": -4,
      "year": 2028
    },
    {
      "change": "-1 hour (DST end)",
      "date_time": "Sun, Nov 5 at 2:00 am",
      "from": "EDT",
      "from_name": "Eastern Daylight Time",
      "next_change": false,
      "to": "EST",
      "to_name": "Eastern Standard Time",
      "utc_offset_after": "UTC-5h",
      "utc_offset_after_hours": -5,
      "year": 2028
    },
    {
      "change": "+1 hour (DST start)",
      "date_time": "Sun, Mar 11 at 2:00 am",
      "from": "EST",
      "from_name": "Eastern Standard Time",
      "next_change": false,
      "to": "EDT",
      "to_name": "Eastern Daylight Time",
      "utc_offset_after": "UTC-4h",
      "utc_offset_after_hours": -4,
      "year": 2029
    },
    {
      "change": "-1 hour (DST end)",
      "date_time": "Sun, Nov 4 at 2:00 am",
      "from": "EDT",
      "from_name": "Eastern Daylight Time",
      "next_change": false,
      "to": "EST",
      "to_name": "Eastern Standard Time",
      "utc_offset_after": "UTC-5h",
      "utc_offset_after_hours": -5,
      "year": 2029
    }
  ],
  "count": 10,
  "credits_used": 1,
  "current": "EST — Eastern Standard Time",
  "current_offset": "UTC/GMT -5 hours",
  "current_offset_hours": -5,
  "fetched_at": "2026-11-19T12:20:18.548Z",
  "name": "New York, New York, USA",
  "next_change": "EDT — Eastern Daylight Time",
  "place": "usa/new-york",
  "start_year": null,
  "url": "https://www.timeanddate.com/time/zone/usa/new-york"
}
```

## Error handling
400: Check the request fields.
401 / 403: Verify credentials and access permissions.
402: Inspect payment requirements and balance.
429: Respect returned retry guidance.
5xx: Inspect the error and usage record before retrying a paid operation.

## Common questions
### Does start_year request only one year?
It selects a year in the decade to list.

### How do I interpret from and to?
They identify the source zone abbreviations before and after a transition.

### Can I convert a timestamp here?
No timestamp-conversion input is exposed.

### Is current offset valid for every listed year?
No. Use each transition’s own year and utc_offset_after_hours.

### How do I bypass cached results?
Pass fresh=1. A cache bypass retrieves available source data; it does not make unpublished or restricted records available.

### Can I request CSV or NDJSON?
This OpenAny implementation serves JSON only. Omit output or set output=json.

## Available implementations
- apish: https://openany.si/timeanddate/timeanddate-time-zone-and-clock-changes-for-a-place-api/cf999b07-709d-44fe-8765-76d46dca9f2e/

Integration guide: https://openany.si/docs/
Agent setup: https://openany.si/SKILL.md
