GetMetaCountry
- Print
- PDF
GetMetaCountry
- Print
- PDF
Article Summary
Share feedback
Thanks for sharing your feedback!
Overview
Available in the VPC environment.
Inquire the country that can be inquired by NTM.
Request
API URL
URL: https://vpc-ntm.apigw.ntruss.com/meta/v1/country
Method: GET
Request header
The request header specified in the common setting is required.
x-ncp-apigw-signature-v2: {generated signature}
x-ncp-apigw-timestamp: {current timestamp}
x-ncp-iam-access-key: {your iam access key}
Parameter Name | Required | Type | Constraints | Description |
---|---|---|---|---|
cntryNm | N | String | National English Name Prefix | |
page | Y | Int | page number, min: 0 | |
size | Y | Int | page size, min: 1, max: 100 |
Example
Request example
GET /meta/v1/country?cntryNm=South&page=0&size=2
Host: vpc-ntm.apigw.ntruss.com
x-ncp-apigw-signature-v2: {generated signature}
x-ncp-apigw-timestamp: {current timestamp}
x-ncp-iam-access-key: {your iam access key}
Response example
HTTP code 200 and country information are inquired when the inquiry is completed without errors.
[
{
"cntryCd": "GS",
"cntryNm": "South Georgia and the South Sandwich Islands"
},
{
"cntryCd": "KR",
"cntryNm": "South Korea"
}
]
Was this article helpful?