Skip to main content
Glama
BACH-AI-Tools

World Time By Api Ninjas

v1worldtime

Get current date and time for any location using city/state/country names, geographic coordinates, or timezone identifiers.

Instructions

API Ninjas World Time API endpoint. Returns the current date and time by city/state/country, location coordinates (latitude/longitude), or timezone. One of the following parameter combinations must be set: lat + lon, city (state and country optional), timezone

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
latNoLatitude of desired location.
lonNoLongitude of desired location.
cityNoCity name.
stateNoUS state name or 2-letter abbreviation (for United States cities only).
countryNoCountry name or 2-letter country code.
timezoneNoTimezone of desired location (e.g. Europe/London).
Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/BACH-AI-Tools/bachai-world-time-by-api-ninjas'

If you have feedback or need assistance with the MCP directory API, please join our Discord server