Skip to main content
Our request has changed! Please use https://api.unrealapi.com for the base url
GET /random-flag Generates a random country flag.

Headers

NameValue
apikey28-Character API Key

Response

{
  "country": "Canada",
  "code": "CA",
  "image": "https://flagcdn.com/w320/ca.png"
}