Get Thunderstorm Details
curl --request POST \
--url https://api.iklim.co/v1/thunderstorms/get \
--header 'Content-Type: application/json' \
--data '
{
"eventId": "EVT20240413001",
"pageNumber": 0,
"pageSize": 10
}
'import requests
url = "https://api.iklim.co/v1/thunderstorms/get"
payload = {
"eventId": "EVT20240413001",
"pageNumber": 0,
"pageSize": 10
}
headers = {"Content-Type": "application/json"}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'Content-Type': 'application/json'},
body: JSON.stringify({eventId: 'EVT20240413001', pageNumber: 0, pageSize: 10})
};
fetch('https://api.iklim.co/v1/thunderstorms/get', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.iklim.co/v1/thunderstorms/get",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'eventId' => 'EVT20240413001',
'pageNumber' => 0,
'pageSize' => 10
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.iklim.co/v1/thunderstorms/get"
payload := strings.NewReader("{\n \"eventId\": \"EVT20240413001\",\n \"pageNumber\": 0,\n \"pageSize\": 10\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.iklim.co/v1/thunderstorms/get")
.header("Content-Type", "application/json")
.body("{\n \"eventId\": \"EVT20240413001\",\n \"pageNumber\": 0,\n \"pageSize\": 10\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.iklim.co/v1/thunderstorms/get")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Content-Type"] = 'application/json'
request.body = "{\n \"eventId\": \"EVT20240413001\",\n \"pageNumber\": 0,\n \"pageSize\": 10\n}"
response = http.request(request)
puts response.read_body{
"thunderstorms": [
{
"eventId": "EVT20240413001",
"insertedAtEpoch": 1746454091000,
"eventStartUtcEpoch": 1746453091000,
"eventEndUtcEpoch": 1746454091000,
"severity": "Low/Normal/High",
"threshold": 7,
"meta": {
"country": "Türkiye",
"state": "Ankara",
"city": "Çankaya",
"speedUnit": "mph",
"speed": 35.4
},
"cell": {
"area": 23.5,
"speed": 44.8,
"direction": 270,
"flashRates": {
"inCloud": 1.3,
"cloudToGround": 0.8,
"total": 2.1
},
"centroid": {
"lng": 32.857358,
"lat": 39.93504
},
"polygon": {
"exterior": [
{
"lng": 32.85,
"lat": 39.93
},
{
"lng": 32.86,
"lat": 39.93
},
{
"lng": 32.86,
"lat": 39.94
},
{
"lng": 32.85,
"lat": 39.94
},
{
"lng": 32.85,
"lat": 39.93
}
],
"holes": [
[
{
"lng": 32.852,
"lat": 39.932
},
{
"lng": 32.853,
"lat": 39.932
},
{
"lng": 32.853,
"lat": 39.933
},
{
"lng": 32.852,
"lat": 39.933
},
{
"lng": 32.852,
"lat": 39.932
}
]
]
}
},
"threatPolygon": {
"exterior": [
{
"lng": 32.85,
"lat": 39.93
},
{
"lng": 32.86,
"lat": 39.93
},
{
"lng": 32.86,
"lat": 39.94
},
{
"lng": 32.85,
"lat": 39.94
},
{
"lng": 32.85,
"lat": 39.93
}
],
"holes": [
[
{
"lng": 32.852,
"lat": 39.932
},
{
"lng": 32.853,
"lat": 39.932
},
{
"lng": 32.853,
"lat": 39.933
},
{
"lng": 32.852,
"lat": 39.933
},
{
"lng": 32.852,
"lat": 39.932
}
]
]
}
}
],
"totalRecords": 100,
"pageNumber": 0,
"pageSize": 10
}
Get Thunderstorm Details
Returns detailed information about a specific thunderstorm historic events.
POST
/
v1
/
thunderstorms
/
get
Get Thunderstorm Details
curl --request POST \
--url https://api.iklim.co/v1/thunderstorms/get \
--header 'Content-Type: application/json' \
--data '
{
"eventId": "EVT20240413001",
"pageNumber": 0,
"pageSize": 10
}
'import requests
url = "https://api.iklim.co/v1/thunderstorms/get"
payload = {
"eventId": "EVT20240413001",
"pageNumber": 0,
"pageSize": 10
}
headers = {"Content-Type": "application/json"}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'Content-Type': 'application/json'},
body: JSON.stringify({eventId: 'EVT20240413001', pageNumber: 0, pageSize: 10})
};
fetch('https://api.iklim.co/v1/thunderstorms/get', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.iklim.co/v1/thunderstorms/get",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'eventId' => 'EVT20240413001',
'pageNumber' => 0,
'pageSize' => 10
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.iklim.co/v1/thunderstorms/get"
payload := strings.NewReader("{\n \"eventId\": \"EVT20240413001\",\n \"pageNumber\": 0,\n \"pageSize\": 10\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.iklim.co/v1/thunderstorms/get")
.header("Content-Type", "application/json")
.body("{\n \"eventId\": \"EVT20240413001\",\n \"pageNumber\": 0,\n \"pageSize\": 10\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.iklim.co/v1/thunderstorms/get")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Content-Type"] = 'application/json'
request.body = "{\n \"eventId\": \"EVT20240413001\",\n \"pageNumber\": 0,\n \"pageSize\": 10\n}"
response = http.request(request)
puts response.read_body{
"thunderstorms": [
{
"eventId": "EVT20240413001",
"insertedAtEpoch": 1746454091000,
"eventStartUtcEpoch": 1746453091000,
"eventEndUtcEpoch": 1746454091000,
"severity": "Low/Normal/High",
"threshold": 7,
"meta": {
"country": "Türkiye",
"state": "Ankara",
"city": "Çankaya",
"speedUnit": "mph",
"speed": 35.4
},
"cell": {
"area": 23.5,
"speed": 44.8,
"direction": 270,
"flashRates": {
"inCloud": 1.3,
"cloudToGround": 0.8,
"total": 2.1
},
"centroid": {
"lng": 32.857358,
"lat": 39.93504
},
"polygon": {
"exterior": [
{
"lng": 32.85,
"lat": 39.93
},
{
"lng": 32.86,
"lat": 39.93
},
{
"lng": 32.86,
"lat": 39.94
},
{
"lng": 32.85,
"lat": 39.94
},
{
"lng": 32.85,
"lat": 39.93
}
],
"holes": [
[
{
"lng": 32.852,
"lat": 39.932
},
{
"lng": 32.853,
"lat": 39.932
},
{
"lng": 32.853,
"lat": 39.933
},
{
"lng": 32.852,
"lat": 39.933
},
{
"lng": 32.852,
"lat": 39.932
}
]
]
}
},
"threatPolygon": {
"exterior": [
{
"lng": 32.85,
"lat": 39.93
},
{
"lng": 32.86,
"lat": 39.93
},
{
"lng": 32.86,
"lat": 39.94
},
{
"lng": 32.85,
"lat": 39.94
},
{
"lng": 32.85,
"lat": 39.93
}
],
"holes": [
[
{
"lng": 32.852,
"lat": 39.932
},
{
"lng": 32.853,
"lat": 39.932
},
{
"lng": 32.853,
"lat": 39.933
},
{
"lng": 32.852,
"lat": 39.933
},
{
"lng": 32.852,
"lat": 39.932
}
]
]
}
}
],
"totalRecords": 100,
"pageNumber": 0,
"pageSize": 10
}
Body
application/json
Response
Thunderstorm details successfully returned.
⌘I