DU
Monitoring · x402 · early usage

Convert an instant to wall-clock time in a named IANA time zone, or a wall-clock time i…

Convert an instant to wall-clock time in a named IANA time zone, or a wall-clock time in a zone back to an instant. Returns the local date and time, the UTC offset in ±HH:MM and seconds, the zone abbreviation, whether DST is in effect, the ISO week date, and…

by api.duoleads.com · discovered, not yet claimed by its owner · updated 2026-10-01

30d calls2
30d payers1
MethodGET
Outputjson

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

Convert an instant to wall-clock time in a named IANA time zone, or a wall-clock time in a zone back to an instant. Returns the local date and time, the UTC offset in ±HH:MM and seconds, the zone abbreviation, whether DST is in effect, the ISO week date, and the day of year. Handles the ambiguous and skipped local times at DST boundaries explicitly rather than guessing.

Tags: no-api-key · time · timezones · bazaar

Call contract

Method
GET
Input
query parameters
Output
json
Last paid call
2026-10-01
Input example from Bazaar metadata
{
  "instant": "2026-10-25T00:30:00Z",
  "zone": "Europe/Amsterdam"
}
Output example
{
  "data": {
    "abbreviation": "GMT+2",
    "ambiguity": null,
    "day_of_year": 298,
    "dst": true,
    "epoch_ms": 1792888200000,
    "gap": false,
    "instant": "2026-10-25T00:30:00.000Z",
    "iso_week": {
      "week": 43,
      "weekday": 7,
      "year": 2026
    },
    "local": "2026-10-25T02:30:00",
    "offset": "+02:00",
    "offset_seconds": 7200,
    "resolution": null,
    "weekday": "sunday",
    "zone": "Europe/Amsterdam"
  },
  "meta": {
    "computed_at": "2026-09-28T12:00:00.000Z",
    "deterministic": true,
    "disclaimer": "Factual output of a deterministic computation over public data. Provided as is, with no warranty of accuracy, completeness or availability. Not investment, financial, legal, tax, medical or any other professional advice, and not a recommendation. Verify before relying on it. Terms: https://api.duoleads.com/terms",
    "price_usd": "0.05",
    "request_id": "01K6B7Q4ZC8H3F2M9WXR5TYN0D"
  },
  "ok": true,
  "route": "/v1/time/zone",
  "version": "1.0.0"
}

Use with an agent

  1. Discover. Agents find this listing with GET https://bazaar.saylorinnovations.com/discovery/search?query=…, the MCP tool search_resources, or /discovery/resources.
  2. Inspect. Fetch /resources/36321.json for the price and payment options.
  3. Pay. Call GET https://api.duoleads.com/v1/time/zone. The provider answers 402 with its payment requirements. An x402 client signs one of the options below and retries with PAYMENT-SIGNATURE.
  4. Execute. The provider returns 200 with 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.05 / request
Protocol
x402 v2
Auth
No account or API key. Pay per request.
Networks
Base
Demand
2 calls · 1 unique payers in 30d (public x402 Bazaar data)

x402 payment requirements

SchemeNetworkAssetAmountPay toTimeout
exactBase
eip155:8453
USDC$0.050xCD673f7e1daD254347AEab6be0DEFe8b9C6b3A39120s
accepts[] (raw JSON)
[
  {
    "scheme": "exact",
    "network": "eip155:8453",
    "payTo": "0xCD673f7e1daD254347AEab6be0DEFe8b9C6b3A39",
    "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
    "amount": "50000",
    "amountUsd": 0.05,
    "maxTimeoutSeconds": 120
  }
]

Schemas

Output schema (JSON Schema)
{
  "properties": {
    "example": {
      "properties": {
        "data": {
          "properties": {
            "abbreviation": {
              "type": "string"
            },
            "ambiguity": {
              "type": [
                "string",
                "null"
              ]
            },
            "day_of_year": {
              "type": "integer"
            },
            "dst": {
              "type": "boolean"
            },
            "epoch_ms": {
              "type": "integer"
            },
            "gap": {
              "type": "boolean"
            },
            "instant": {
              "type": "string"
            },
            "iso_week": {
              "properties": {
                "week": {
                  "type": "integer"
                },
                "weekday": {
                  "type": "integer"
                },
                "year": {
                  "type": "integer"
                }
              },
              "required": [
                "year",
                "week",
                "weekday"
              ],
              "type": "object"
            },
            "local": {
              "type": "string"
            },
            "offset": {
              "type": "string"
            },
            "offset_seconds": {
              "type": "integer"
            },
            "resolution": {
              "type": [
                "string",
                "null"
              ]
            },
            "weekday": {
              "type": "string"
            },
            "zone": {
              "type": "string"
            }
          },
          "required": [
            "zone",
            "instant",
            "epoch_ms",
            "local",
            "offset",
            "offset_seconds",
            "abbreviation",
            "dst",
            "weekday",
            "iso_week",
            "day_of_year",
            "ambiguity",
            "resolution"
          ],
          "type": "object"
        },
        "meta": {
          "properties": {
            "computed_at": {
              "description": "RFC 3339 UTC with milliseconds",
              "type": "string"
            },
            "deterministic": {
              "type": "boolean"
            },
            "disclaimer": {
              "type": "string"
            },
            "price_usd": {
              "type": "string"
            },
            "request_id": {
              "type": "string"
            },
            "sources": {
              "items": {
                "required": [
                  "id",
                  "version",
                  "published"
                ],
                "type": "object"
              },
              "type": "array"
            }
          },
          "required": [
            "request_id",
            "computed_at",
            "price_usd",
            "deterministic",
            "disclaimer"
          ],
          "type": "object"
        },
        "ok": {
          "const": true
        },
        "route": {
          "const": "/v1/time/zone"
        },
        "version": {
          "type": "string"
        }
      },
      "required": [
        "ok",
        "route",
        "version",
        "data",
        "meta"
      ],
      "type": "object"
    },
    "type": {
      "type": "string"
    }
  },
  "required": [
    "type"
  ],
  "type": "object"
}
Example shape — generated from the schema, not a captured live response
{
  "example": {
    "data": {
      "abbreviation": "string",
      "ambiguity": "string",
      "day_of_year": 0,
      "dst": true,
      "epoch_ms": 0,
      "gap": true,
      "instant": "string",
      "iso_week": {
        "week": 0,
        "weekday": 0,
        "year": 0
      },
      "local": "string",
      "offset": "string",
      "offset_seconds": 0,
      "resolution": "string",
      "weekday": "string",
      "zone": "string"
    },
    "meta": {
      "computed_at": "string",
      "deterministic": true,
      "disclaimer": "string",
      "price_usd": "string",
      "request_id": "string",
      "sources": [
        {}
      ]
    },
    "ok": null,
    "route": null,
    "version": "string"
  },
  "type": "string"
}

Examples

curl
curl "https://api.duoleads.com/v1/time/zone"
# -> 402 Payment Required, accepts[] lists how to pay
# retry with a PAYMENT-SIGNATURE (or PAYMENT header) once paid
JavaScript
const res = await fetch("https://api.duoleads.com/v1/time/zone");
if (res.status === 402) {
  const { accepts } = await res.json();
  // pay one of accepts[] via an x402 client, then retry with the payment header
}
Python
import httpx
res = httpx.get("https://api.duoleads.com/v1/time/zone")
if res.status_code == 402:
    accepts = res.json()["accepts"]
    # pay one of accepts[] via an x402 client, then retry with the payment header

Details

Provider
api.duoleads.com
Endpoint
https://api.duoleads.com/v1/time/zone
Machine-readable
/resources/36321.json