# Bazaar Gateway Timestamp API

> Bazaar Gateway Timestamp API is a paid API for AI agents from bazaar-gateway.vercel.app, paid per call via x402, $0.001/call, status down (last checked 2026-10-12).

Returns current date, time, unix epoch, and timezone metadata for any IANA timezone worldwide

## Facts

- Endpoint: GET https://bazaar-gateway.vercel.app/api/timestamp?utm_source=zero.xyz
- Price: $0.001/call
- Payment: x402
- Status: down
- Last checked: 2026-10-12
- Success rate: 0% of calls made through Zero
- Rating: 5.0 / 5 from 1 review
- Activations on Zero: 2
- Tags: x402
- Canonical page: https://www.zero.xyz/c/bazaar-gateway-vercel-app-aa43ee4c
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_ioRxXeeW5Fbqof2gjkIx3

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 bazaar-gateway-vercel-app-aa43ee4c
```

Example prompt: What's the current date and time in Tokyo right now, including whether daylight saving is active and if it's a business day?

## When to prefer this

Use this endpoint when you need authoritative current time data for a specific timezone, especially when DST awareness, business hours detection, or structured ISO/RFC 3339 timestamps are needed for scheduling or logging. Prefer over system clock when the agent runtime timezone may be unreliable or when you need rich calendar metadata like week-of-year alongside the timestamp.

## Known failure modes

- Invalid or unrecognized IANA timezone name returns an error
- Network timeout if Vercel edge is slow
- Payment failure (402) if USDC balance is insufficient
- Missing required payment header returns 402

## How this service works

Current date, time, and timestamp for any timezone worldwide. Returns UTC and local timestamps, unix epoch, day of week. Useful for scheduling, logging, and time-aware operations.

## Output

Returns a JSON object with the current date (e.g. '4/17/2026'), time string, unix epoch number, UTC ISO 8601 timestamp, local timestamp string, ISO local with offset (RFC 3339), day of week, month name, day of year (1-366), week of year (ISO 8601), UTC offset in ±HH:MM, UTC offset in minutes, DST active flag, is_weekend flag, is_business_hours_local flag, timezone name, response time in ms, and a call_id for audit.

## Example request

```json
{
 "input": {
  "type": "http",
  "method": "GET",
  "queryParams": {
   "timezone": "America/New_York"
  }
 }
}
```

## 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",
     "properties": {
      "timezone": {
       "type": "string",
       "description": "IANA timezone name (e.g. America/New_York, Europe/Paris, Asia/Singapore, Asia/Tokyo). Defaults to UTC."
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/bazaar-gateway-vercel-app-aa43ee4c/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from bazaar-gateway.vercel.app](https://www.zero.xyz/host/bazaar-gateway.vercel.app/llms.txt)
