Geography

Country Flags

Country Flag is a simple tool for getting the country's national flags. It returns the country's national flags.

get/v1/countryflags

Request

  • Base URL: https://api.apiverve.com
  • URL: https://api.apiverve.com/v1/countryflags
  • Auth: API key in header x-api-key

Query parameters

countrystring required

The 2 letter ISO Country Code (e.g. ZW)

formatstring

The format of the flag image. Optional; defaults to png.

shapestring

The shape of the flag image: rectangle (official proportions), square (1:1 icon) or circle (round 1:1 icon). Optional; defaults to rectangle.

Response

Successful Response

statusstring

status

errorstring

error

dataobject

data

Changes

No recorded changes to this operation across all 1 revision of this API.