Response returned by the Timezone Conversion API. Contains the original timestamp, the converted timestamp in the destination timezone, and the time difference between the two locations or timezones. The conversion can be performed using timezone names, geographic coordinates, location addresses, airport codes (IATA/ICAO), or UN/LOCODE identifiers.
IP GeolocationIP IntelligenceIP SecurityASN LookupAbuse ContactTimezoneAstronomyUser AgentThreat IntelligencePublic APIs
Properties
Name
Type
Description
original_time
string
The original timestamp before conversion. If the `time` parameter is omitted, this value represents the current time at the source location.
converted_time
string
The converted timestamp in the destination timezone.
diff_hour
number
Time difference between the source and destination timezones expressed in hours.
diff_min
number
Time difference between the source and destination timezones expressed in minutes.
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://artifacts.apis.io/ipgeolocation/json-schema/ipgeolocation-time-conversion-response-schema.json",
"title": "TimeConversionResponse",
"description": "Response returned by the Timezone Conversion API.\n\nContains the original timestamp, the converted timestamp in the\ndestination timezone, and the time difference between the two\nlocations or timezones.\n\nThe conversion can be performed using timezone names, geographic\ncoordinates, location addresses, airport codes (IATA/ICAO),\nor UN/LOCODE identifiers.\n",
"x-generated": "2026-11-10",
"x-method": "derived",
"x-generator": "derive-json-schema.py",
"x-source": "openapi/ipgeolocation-timezone-api-openapi.yml#/components/schemas/TimeConversionResponse",
"type": "object",
"properties": {
"original_time": {
"type": "string",
"description": "The original timestamp before conversion. If the `time`\nparameter is omitted, this value represents the current\ntime at the source location.\n"
},
"converted_time": {
"type": "string",
"description": "The converted timestamp in the destination timezone.\n"
},
"diff_hour": {
"type": "number",
"format": "float",
"description": "Time difference between the source and destination\ntimezones expressed in hours.\n"
},
"diff_min": {
"type": "number",
"description": "Time difference between the source and destination\ntimezones expressed in minutes.\n"
}
}
}
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we
store it to create your key and to recognise you if you sign in with another
provider. By signing up you are subscribing to the APIs.io and API Evangelist
newsletters — you can unsubscribe from any issue. See our
Privacy Policy and Terms.