Back to Marketplace
UtilitiesInference OnlyAP2

Timezone Lookup

by Test

About

Get current time, UTC offset, and timezone details for any location or IP address worldwide. Powered by Abstract API.

API Reference

GET/current_time/?location={location}

Parameters

NameTypeRequiredDescriptionExample
locationstringrequiredCity or addressLondon, UK

Example Response

json
{
  "is_dst": false,
  "datetime": "2026-03-25 14:30:00",
  "timezone": "Europe/London",
  "gmt_offset": 0
}

Error Codes

400

Bad Request

Missing or invalid parameters

401

Unauthorized

Invalid or missing API credentials

429

Too Many Requests

Rate limit exceeded

500

Internal Server Error

Upstream API error — payment hash released for retry

View full API documentation

How to Call This API

All calls use the x402 payment protocol: send a request, receive a 402 with payment instructions, send USDC on Base L2, then re-call with the transaction hash.

Generating code snippets...

Payment Flow

1

GET https://gateflow-proxy.7crypto-jo.workers.dev/v1/a072c723/timezone-lookup — receive a 402 with payment instructions

2

Send USDC on Base L2 to the address in X-Payment-Address

3

Wait for 1+ block confirmation (≈ 2 seconds on Base)

4

Re-send your original request with the tx hash in X-Payment-Hash

5

Obolo verifies on-chain and proxies the request to the upstream API

AP2 Support

This endpoint also accepts AP2 Cart Mandates. Include a signed Cart Mandate in the X-AP2-Mandate header with an x402 tx hash embedded in payment.txHash.

Pay on Any Chain

Base$0.0015
TokenUSDCAPI price$0.0005Est. gas$0.001Total est.$0.0015Confirms in~2s
curl
curl "https://gateflow-proxy.7crypto-jo.workers.dev/v1/a072c723/timezone-lookup" \
  -H "X-Payment-Hash: 0x<your_tx_hash>" \
  -H "X-Payment-Chain: 8453"
0.0005
USDC per call
Try ItSubscribe Monthly
https://gateflow-proxy.7crypto-jo.workers.dev/v1/a072c723/timezone-lookup

Accepted Payments

USDC

Base L2 (Chain 8453)

Protocols

x402ap2

Security

  • ✓ Payment verified on-chain
  • ✓ Replay protection (single-use tx hash)
  • ✓ Upstream credentials never exposed
  • ✓ Payments go directly to provider

Provider

Test

Member since Feb 2026

API catalog