Use when scheduling across time zones or turning a local time into UTC without guessing…
Use when scheduling across time zones or turning a local time into UTC without guessing DST. Input: to (IANA zones or KST, PST, CET...), optional from (zone of a local time, default UTC), time (ISO 8601, Unix seconds, or now). Output: JSON UTC instant, Unix t…
by 1gateway.dev · discovered, not yet claimed by its owner · updated 2026-10-11
Mirrored from Coinbase's public x402 Bazaar. The description is the provider's own text and has not been reviewed here; the payment requirements are copied as published.
What it does
Use when scheduling across time zones or turning a local time into UTC without guessing DST. Input: to (IANA zones or KST, PST, CET...), optional from (zone of a local time, default UTC), time (ISO 8601, Unix seconds, or now). Output: JSON UTC instant, Unix time, and per zone: local ISO time with offset, weekday, abbreviation, DST and business-hours flags, day difference. Example: ?time=2026-10-12T09:00&from=Asia/Seoul&to=America/New_York,Europe/London
Tags: timezone · time-conversion · dst · scheduling · utc · bazaar
Call contract
- Method
- GET
- Input
- query parameters
- Output
- json
- Last paid call
- 2026-10-11
{
"from": "Asia/Seoul",
"time": "2026-10-12T09:00",
"to": "America/New_York,Europe/London"
}{
"from": {
"abbreviation": "GMT+9",
"businessHours": true,
"date": "2026-10-12",
"isDst": false,
"local": "2026-10-12T09:00:00+09:00",
"time": "09:00:00",
"utcOffset": "+09:00",
"utcOffsetMinutes": 540,
"weekday": "Monday",
"zone": "Asia/Seoul"
},
"input": "2026-10-12T09:00",
"notes": [
"Uses the IANA time-zone database bundled with the runtime (ICU)."
],
"to": [
{
"abbreviation": "EDT",
"businessHours": false,
"date": "2026-10-11",
"dayDiff": -1,
"hoursAheadOfSource": -13,
"isDst": true,
"local": "2026-10-11T20:00:00-04:00",
"time": "20:00:00",
"utcOffset": "-04:00",
"utcOffsetMinutes": -240,
"weekday": "Sunday",
"zone": "America/New_York"
}
],
"unix": 1791763200,
"utc": "2026-10-12T00:00:00.000Z"
}Use with an agent
- Discover. Agents find this listing with
GET https://bazaar.saylorinnovations.com/discovery/search?query=…, the MCP toolsearch_resources, or/discovery/resources. - Inspect. Fetch
/resources/34847.jsonfor the price and payment options. - Pay. Call
GET https://1gateway.dev/v1/time/convert. The provider answers402with its payment requirements. An x402 client signs one of the options below and retries withPAYMENT-SIGNATURE. - Execute. The provider returns
200with the data. Agent Bazaar is not in the request path and never sees your payment.
For humans
You don't need an account or an API key; you need a wallet holding a small amount of USDC on Base, and an x402-capable client (see the examples below). Call the endpoint unpaid first to see exactly what it asks for.
Pricing & payment
- Price
- $0.002 / request
- Protocol
- x402 v2
- Auth
- No account or API key. Pay per request.
- Networks
- Base
- Demand
- 3 calls · 2 unique payers in 30d (public x402 Bazaar data)
x402 payment requirements
| Scheme | Network | Asset | Amount | Pay to | Timeout |
|---|---|---|---|---|---|
| exact | Base eip155:8453 | USDC | $0.002 | 0x6246eee0355Dd7A93C888fE59e1151388A0cC5a1 | 300s |
accepts[] (raw JSON)
[
{
"scheme": "exact",
"network": "eip155:8453",
"payTo": "0x6246eee0355Dd7A93C888fE59e1151388A0cC5a1",
"asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
"amount": "2000",
"amountUsd": 0.002,
"maxTimeoutSeconds": 300
}
]Schemas
Output schema (JSON Schema)
{
"properties": {
"example": {
"properties": {
"from": {
"properties": {
"abbreviation": {
"type": "string"
},
"businessHours": {
"type": "boolean"
},
"date": {
"type": "string"
},
"isDst": {
"type": "boolean"
},
"local": {
"type": "string"
},
"time": {
"type": "string"
},
"utcOffset": {
"type": "string"
},
"utcOffsetMinutes": {
"type": "integer"
},
"weekday": {
"type": "string"
},
"zone": {
"type": "string"
}
},
"type": "object"
},
"input": {
"type": "string"
},
"notes": {
"items": {
"type": "string"
},
"type": "array"
},
"to": {
"items": {
"properties": {
"abbreviation": {
"type": "string"
},
"businessHours": {
"type": "boolean"
},
"date": {
"type": "string"
},
"dayDiff": {
"type": "integer"
},
"hoursAheadOfSource": {
"type": "integer"
},
"isDst": {
"type": "boolean"
},
"local": {
"type": "string"
},
"time": {
"type": "string"
},
"utcOffset": {
"type": "string"
},
"utcOffsetMinutes": {
"type": "integer"
},
"weekday": {
"type": "string"
},
"zone": {
"type": "string"
}
},
"type": "object"
},
"type": "array"
},
"unix": {
"type": "integer"
},
"utc": {
"type": "string"
}
},
"required": [
"input",
"utc",
"unix",
"from",
"to",
"notes"
],
"type": "object"
},
"type": {
"type": "string"
}
},
"required": [
"type"
],
"type": "object"
}Example shape — generated from the schema, not a captured live response
{
"example": {
"from": {
"abbreviation": "string",
"businessHours": true,
"date": "string",
"isDst": true,
"local": "string",
"time": "string",
"utcOffset": "string",
"utcOffsetMinutes": 0,
"weekday": "string",
"zone": "string"
},
"input": "string",
"notes": [
"string"
],
"to": [
{
"abbreviation": "string",
"businessHours": true,
"date": "string",
"dayDiff": 0,
"hoursAheadOfSource": 0,
"isDst": true,
"local": "string",
"time": "string",
"utcOffset": "string",
"utcOffsetMinutes": 0,
"weekday": "string",
"zone": "string"
}
],
"unix": 0,
"utc": "string"
},
"type": "string"
}Examples
curl "https://1gateway.dev/v1/time/convert"
# -> 402 Payment Required, accepts[] lists how to pay
# retry with a PAYMENT-SIGNATURE (or PAYMENT header) once paidconst res = await fetch("https://1gateway.dev/v1/time/convert");
if (res.status === 402) {
const { accepts } = await res.json();
// pay one of accepts[] via an x402 client, then retry with the payment header
}import httpx
res = httpx.get("https://1gateway.dev/v1/time/convert")
if res.status_code == 402:
accepts = res.json()["accepts"]
# pay one of accepts[] via an x402 client, then retry with the payment headerDetails
- Provider
- 1gateway.dev
- Endpoint
- https://1gateway.dev/v1/time/convert
- Machine-readable
/resources/34847.json