Call of Duty API API
Warzone and MW player stats
Live Technical Metrics
Pre-calculated · updated every 20 min| Uptime Status | ✅ Operational (HTTP 200) |
|---|---|
| Server Latency | ⚡ 161 ms — Fast |
| Hosting Server | cloudflare |
| Content-Type | text/html; charset=utf-8 |
| Cache-Control | public, max-age=0, must-revalidate |
| CORS Support | ❓ Unknown — verify before deploying |
| Authentication | ⚠️ Requires apiKey — obtain credentials from the official documentation |
| Category | Games & Comics |
- Endpoint:
- https://codapi.dev/
- Last HTTP status:
- 200
- Measured latency:
- 161 ms
Quick Integration Code
⚠️ Auth: apiKey// ⚠️ This API requires apiKey authentication
// Add your credentials to the headers below
fetch("https://codapi.dev/")
.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://codapi.dev/"
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://codapi.dev/" \
-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 — Games & Comics
Games & Comics{
"id": 3498,
"name": "Grand Theft Auto V",
"slug": "grand-theft-auto-v",
"released": "2013-09-17",
"rating": 4.47,
"ratings_count": 6524,
"metacritic": 97,
"playtime": 74,
"platforms": [
{
"platform": {
"name": "PC"
}
},
{
"platform": {
"name": "PlayStation 5"
}
}
],
"genres": [
{
"name": "Action"
},
{
"name": "Adventure"
}
]
}