Skip to main content
POST
Get Country Flag SVG

Request contract

  • Method and path: POST /apis/v1/api-ninjas/get-country-flag
  • Availability: enabled
  • Request URL template: https://api.aisa.one/apis/v1/api-ninjas/get-country-flag
Complete OpenAPI definition Effective request declaration (including authentication and referenced schemas):

Cost and request rules

Usage-based pricing. Default request estimate: $0.00089 USD. The final charge depends on actual usage. Your account price may differ; use a request quote where supported.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
country
string
required

ISO 3166-1 alpha-2 country code (e.g., US, CA, GB). UK regional codes GB-ENG, GB-SCT, GB-WLS and GB-NIR are also supported. Country names are not supported.

Examples:

"US"

"CA"

"GB"

"GB-SCT"

Response

Tool result data

country
string
required
rectangle_image_url
string
required
square_image_url
string
required