Pirate Weather API

Dark Sky-compatible weather API

🔑 Auth: apiKey 🔒 HTTPS: Yes 🌐 CORS: Enabled HTTP 200

Live Technical Metrics

Pre-calculated · updated every 20 min
Server-measured technical metrics for the Pirate Weather API
Uptime Status ✅ Operational (HTTP 200)
Server Latency 🔴 2024 ms — Very slow
Hosting Server GitHub.com
Content-Type text/html; charset=utf-8
Cache-Control max-age=600
CORS Support ✅ Enabled — safe for browser fetch()
Authentication ⚠️ Requires apiKey — obtain credentials from the official documentation
Category Weather
Last HTTP status:
200
Measured latency:
2024 ms

Quick Integration Code

⚠️ Auth: apiKey
// ⚠️  This API requires apiKey authentication
// Add your credentials to the headers below
fetch("https://pirateweather.net/")
  .then(response => {
    if (!response.ok) throw new Error(`HTTP ${response.status}`);
    return response.json();
  })
  .then(data => console.log(data))
  .catch(error => console.error("Request failed:", error));
# ⚠️  This API requires apiKey authentication
# Add your credentials to the headers dict below
import requests

url = "https://pirateweather.net/"
headers = {
    "Accept": "application/json",
    # "Authorization": "Bearer YOUR_TOKEN_HERE",
}

response = requests.get(url, headers=headers, timeout=10)
response.raise_for_status()
data = response.json()
print(data)
curl -X GET "https://pirateweather.net/" \
  -H "Authorization: Bearer YOUR_TOKEN_HERE" \
  -H "Accept: application/json" \
  -H "User-Agent: MyApp/1.0" \
  --max-time 10 \
  --silent | python3 -m json.tool

Sample JSON Response — Weather

Weather

  "location" 
    "name" "New York"
    "country" "US"
    "lat" 40.7128
    "lon" -74.006
  
  "current" 
    "temp_c" 12.3
    "temp_f" 54.1
    "condition" 
      "text" "Partly cloudy"
    
    "wind_kph" 18.4
    "humidity" 62
    "feelslike_c" 10.2
    "uv" 3
  
  "forecast_days" 7