통합 API (v2.0) 고급 기능
고급 사용자이고 요청량이 많다면, 새로운 API V2.0 엔드포인트로 전환해서 사용할 수도 있어. 통합 API는 한 번의 요청으로 여러 이름을 조회할 때 훨씬 더 빠른 속도와 강력한 인터페이스를 제공하지만, 구현은 조금 더 복잡해.
통합 API v2.0 보기간단한 사용법
이것이 성별을 조회하는 가장 쉬운 방법이야. 각 응답은 JSON 형식으로 인코딩돼 있어:
Required Requests: 1
요청
이름
GET https://gender-api.com/get?name=Elizabeth&key=<API 키>
요청 파라미터
| 필드 | 유형 | 설명 |
|---|---|---|
name |
String | 조회할 이름 |
key |
String | 너의 API 키 |
응답
{"name":"diana","name_sanitized":"Diana","gender":"female","samples":523,"accuracy":93,"duration":"41ms","credits_used":1}
응답 필드
| 필드 | 유형 | 설명 |
|---|---|---|
name |
String | 소문자로 제출된 이름 |
name_sanitized |
String | 정규화기를 적용한 후의 이름 |
gender |
String | 가능한 값: male, female, unknown |
samples |
Integer | 너의 요청과 일치하는 레코드가 우리 데이터베이스에서 몇 개 발견되었는지 |
accuracy |
Integer | 이 값은 우리 데이터베이스의 신뢰도를 결정해. 값이 100이면, 요청한 gender 결과가 100%% 정확하다는 뜻이야 |
duration |
String | 서버가 요청을 처리하는 데 걸린 시간 |
credits_used |
Integer | 이 요청으로 사용된 요청 수 |
로컬라이제이션
쿼리에 지역 정보를 추가해 정확도를 높여 줘:
Required Requests: 1
요청
이탈리아 예시
GET https://gender-api.com/get?name=Andrea&country=IT&key=<API 키>
요청
독일 예시
GET https://gender-api.com/get?name=Andrea&country=DE&key=<API 키>
요청 파라미터
| 필드 | 유형 | 설명 |
|---|---|---|
name |
String | 조회할 이름 |
country |
String | ISO 3166 ALPHA-2 국가 코드 |
key |
String | 너의 API 키 |
응답
이탈리아 예시
//In Italy, Andrea is male.
{"name":"andrea","name_sanitized":"Andrea","country":"IT","gender":"male","samples":1068,"accuracy":95,"duration":"15ms","credits_used":1}
응답
독일 예시
//In Germany, Andrea is female.
{"name":"andrea","name_sanitized":"Andrea","country":"DE","gender":"female","samples":4089,"accuracy":85,"duration":"33ms","credits_used":1}
응답 필드
| 필드 | 유형 | 설명 |
|---|---|---|
name |
String | 소문자로 제출된 이름 |
name_sanitized |
String | 정규화기를 적용한 후의 이름 |
country |
String | 제출된 국가 코드 |
gender |
String | 가능한 값: male, female, unknown |
samples |
Integer | 너의 요청과 일치하는 레코드가 우리 데이터베이스에서 몇 개 발견되었는지 |
accuracy |
Integer | 이 값은 우리 데이터베이스의 신뢰도를 결정해. 값이 100이면, 요청한 gender 결과가 100%% 정확하다는 뜻이야 |
duration |
String | 서버가 요청을 처리하는 데 걸린 시간 |
credits_used |
Integer | 이 요청으로 사용된 요청 수 |
유효한 국가 코드:
AD
Andorra
AE
United Arab Emirates
AF
Afghanistan
AL
Albania
AM
Armenia
AO
Angola
AR
Argentina
AT
Austria
AU
Australia
AZ
Azerbaijan
BA
Bosnia and Herzegovina
BB
Barbados
BD
Bangladesh
BE
Belgium
BF
Burkina Faso
BG
Bulgaria
BH
Bahrain
BI
Burundi
BJ
Benin
BN
Brunei
BO
Bolivia
BR
Brazil
BS
Bahamas
BW
Botswana
BY
Belarus
BZ
Belize
CA
Canada
CD
Congo - Kinshasa
CG
Congo - Brazzaville
CH
Switzerland
CI
Côte d’Ivoire
CL
Chile
CM
Cameroon
CN
China
CO
Colombia
CR
Costa Rica
CU
Cuba
CV
Cape Verde
CY
Cyprus
CZ
Czech Republic
DE
Germany
DJ
Djibouti
DK
Denmark
DO
Dominican Republic
DZ
Algeria
EC
Ecuador
EE
Estonia
EG
Egypt
EH
Western Sahara
ES
Spain
ET
Ethiopia
FI
Finland
FJ
Fiji
FM
Micronesia
FR
France
GA
Gabon
GB
United Kingdom
GE
Georgia
GF
French Guiana
GH
Ghana
GI
Gibraltar
GL
Greenland
GM
Gambia
GN
Guinea
GP
Guadeloupe
GQ
Equatorial Guinea
GR
Greece
GT
Guatemala
GU
Guam
GY
Guyana
HK
Hong Kong SAR China
HN
Honduras
HR
Croatia
HT
Haiti
HU
Hungary
ID
Indonesia
IE
Ireland
IL
Israel
IN
India
IQ
Iraq
IR
Iran
IS
Iceland
IT
Italy
JE
Jersey
JM
Jamaica
JO
Jordan
JP
Japan
KE
Kenya
KG
Kyrgyzstan
KH
Cambodia
KM
Comoros
KR
South Korea
KW
Kuwait
KZ
Kazakhstan
LA
Laos
LB
Lebanon
LC
Saint Lucia
LI
Liechtenstein
LK
Sri Lanka
LR
Liberia
LS
Lesotho
LT
Lithuania
LU
Luxembourg
LV
Latvia
LY
Libya
MA
Morocco
MC
Monaco
MD
Moldova
ME
Montenegro
MG
Madagascar
MK
Macedonia
ML
Mali
MM
Myanmar [Burma]
MN
Mongolia
MQ
Martinique
MR
Mauritania
MT
Malta
MU
Mauritius
MV
Maldives
MW
Malawi
MX
Mexico
MY
Malaysia
MZ
Mozambique
NA
Namibia
NC
New Caledonia
NE
Niger
NG
Nigeria
NI
Nicaragua
NL
Netherlands
NO
Norway
NP
Nepal
NZ
New Zealand
OM
Oman
PA
Panama
PE
Peru
PF
French Polynesia
PG
Papua New Guinea
PH
Philippines
PK
Pakistan
PL
Poland
PR
Puerto Rico
PS
Palestinian Territories
PT
Portugal
PY
Paraguay
QA
Qatar
RE
Réunion
RO
Romania
RS
Serbia
RU
Russia
RW
Rwanda
SA
Saudi Arabia
SC
Seychelles
SD
Sudan
SE
Sweden
SG
Singapore
SH
Saint Helena
SI
Slovenia
SK
Slovakia
SL
Sierra Leone
SM
San Marino
SN
Senegal
SO
Somalia
SR
Suriname
ST
São Tomé and Príncipe
SV
El Salvador
SY
Syria
SZ
Swaziland
TD
Chad
TG
Togo
TH
Thailand
TJ
Tajikistan
TL
Timor-Leste
TM
Turkmenistan
TN
Tunisia
TR
Turkey
TT
Trinidad and Tobago
TW
Taiwan
TZ
Tanzania
UA
Ukraine
UG
Uganda
US
United States
UY
Uruguay
UZ
Uzbekistan
VE
Venezuela
VI
U.S. Virgin Islands
VN
Vietnam
YE
Yemen
YT
Mayotte
ZA
South Africa
ZM
Zambia
ZW
Zimbabwe
현지화 - IP로 국가 판별
고객의 IP 주소를 기반으로 국가를 선택해줘:
Required Requests: 1
요청
미국 IP 주소 예시
GET https://gender-api.com/get?name=john&ip=54.201.16.177&key=<API 키>
요청
독일 IP 주소 예시
GET https://gender-api.com/get?name=tanja&ip=178.27.177.23&key=<API 키>
요청 파라미터
| 필드 | 유형 | 설명 |
|---|---|---|
name |
String | 조회할 이름 |
ip |
String | 유효한 IP 주소 |
key |
String | 너의 API 키 |
응답
미국 IP 주소 예시
{"name":"john","name_sanitized":"John","country":"US","gender":"male","samples":9991,"accuracy":99,"duration":"44ms","credits_used":1}
응답
독일 IP 주소 예시
{"name":"tanja","name_sanitized":"Tanja","country":"DE","gender":"female","samples":143,"accuracy":97,"duration":"508ms","credits_used":1}
응답 필드
| 필드 | 유형 | 설명 |
|---|---|---|
name |
String | 소문자로 제출된 이름 |
name_sanitized |
String | 정규화기를 적용한 후의 이름 |
country |
String | 제출된 국가 코드 |
gender |
String | 가능한 값: male, female, unknown |
samples |
Integer | 너의 요청과 일치하는 레코드가 우리 데이터베이스에서 몇 개 발견되었는지 |
accuracy |
Integer | 이 값은 우리 데이터베이스의 신뢰도를 결정해. 값이 100이면, 요청한 gender 결과가 100%% 정확하다는 뜻이야 |
duration |
String | 서버가 요청을 처리하는 데 걸린 시간 |
credits_used |
Integer | 이 요청으로 사용된 요청 수 |
Gender-API.com은 MaxMind에서 제작한 GeoLite2 데이터를 포함하고 있으며, 다음에서 제공돼: http://www.maxmind.com.
현지화 - 브라우저 언어 / 로케일로 국가 판별
고객의 브라우저 로케일을 기반으로 국가를 선택해줘:
Required Requests: 1
요청
미국 로케일 예시
GET https://gender-api.com/get?name=john&locale=en_US&key=<API 키>
요청
독일 로케일 예시
GET https://gender-api.com/get?name=tanja&locale=de_DE&key=<API 키>
요청 파라미터
| 필드 | 유형 | 설명 |
|---|---|---|
name |
String | 조회할 이름 |
locale |
String | Browser locale |
key |
String | 너의 API 키 |
응답
미국 로케일 예시
{"name":"john","name_sanitized":"John","country":"US","gender":"male","samples":991,"accuracy":99,"duration":"47ms","credits_used":1}
응답
독일 로케일 예시
{"name":"tanja","name_sanitized":"Tanja","country":"DE","gender":"female","samples":143,"accuracy":97,"duration":"99ms","credits_used":1}
응답 필드
| 필드 | 유형 | 설명 |
|---|---|---|
name |
String | 소문자로 제출된 이름 |
name_sanitized |
String | 정규화기를 적용한 후의 이름 |
country |
String | 제출된 국가 코드 |
gender |
String | 가능한 값: male, female, unknown |
samples |
Integer | 너의 요청과 일치하는 레코드가 우리 데이터베이스에서 몇 개 발견되었는지 |
accuracy |
Integer | 이 값은 우리 데이터베이스의 신뢰도를 결정해. 값이 100이면, 요청한 gender 결과가 100%% 정확하다는 뜻이야 |
duration |
String | 서버가 요청을 처리하는 데 걸린 시간 |
credits_used |
Integer | 이 요청으로 사용된 요청 수 |
여러 이름 한 번에 조회하기
한 번의 요청으로 여러 이름을 조회해야 할 때가 있어:
Required Requests: 이름 하나당 1 크레딧
요청
국가 코드 없이
GET https://gender-api.com/get?name=lisa;jess;thomas&multi=true&key=<API 키>
요청
국가 코드와 함께
GET https://gender-api.com/get?name=anna;jack;stephen&country=DE;US;CA&multi=true&key=<API 키>
요청 파라미터
| 필드 | 유형 | 설명 |
|---|---|---|
name |
String | 조회할 이름들의 세미콜론(;) 구분 목록 |
country |
String | 세미콜론(;)으로 구분된 국가 코드 목록. 국가 코드는 이름과 동일한 순서로 입력해야 해. 국가 코드를 하나만 제공하면, 그 코드는 모든 이름에 사용돼. |
multi |
Boolean (true|false) | API가 결과를 배열 형태로 반환하도록 지시함 |
key |
String | 너의 API 키 |
응답
국가 코드 없이
{"name":"lisa;jess;thomas","result":[
{"name":"lisa","name_sanitized":"Lisa","country":"","gender":"female","samples":806,"accuracy":98},
{"name":"jess","name_sanitized":"Jess","country":"","gender":"female","samples":28,"accuracy":75},
{"name":"thomas","name_sanitized":"Thomas","country":"","gender":"male","samples":2239,"accuracy":99}],
"country":"","duration":"425ms","credits_used":3}
응답
국가 코드와 함께
{"name":"anna;jack;stephen","result":[
{"name":"anna","name_sanitized":"Anna","country":"DE","gender":"female","samples":1245,"accuracy":98},
{"name":"jack","name_sanitized":"Jack","country":"US","gender":"male","samples":667,"accuracy":90},
{"name":"stephen","name_sanitized":"Stephen","country":"CA","gender":"male","samples":77,"accuracy":82}],
"country":"DE;US;CA","duration":"668ms","credits_used":3}
응답 필드
| 필드 | 유형 | 설명 |
|---|---|---|
name |
String | 소문자로 변환된 제출 이름 목록. 이름 개수는 최대 100개까지 가능해. |
result |
Array | "Simple Usage"의 응답 예시를 확인해줘 |
country |
String | 제출된 국가 코드 목록 |
duration |
String | 서버가 요청을 처리하는 데 걸린 시간 |
credits_used |
Integer | 이 요청으로 사용된 요청 수 |
이메일 주소
이름이 들어 있는 이메일 주소로도 성별을 조회할 수 있어
Required Requests: 1
요청
국가 코드 없이
GET https://gender-api.com/get?email=markus.johnson@gmail.com&key=<API 키>
요청
국가 코드와 함께
GET https://gender-api.com/get?email=jack.meyer@gmail.com&country=US&key=<API 키>
요청 파라미터
| 필드 | 유형 | 설명 |
|---|---|---|
name |
String | 조회할 이름 |
email |
String | Email address |
key |
String | 너의 API 키 |
응답
국가 코드 없이
{"email":"markus.johnson@gmail.com","last_name":"Johnson","first_name":"Markus","mail_provider":"gmail","name":"markus","name_sanitized":"Markus","country":"","gender":"male","samples":150,"accuracy":99,"duration":"669ms","credits_used":1}
응답
국가 코드와 함께
{"email":"jack.meyer@gmail.com","last_name":"Meyer","first_name":"Jack","mail_provider":"gmail","name":"jack","name_sanitized":"Jack","country":"US","gender":"male","samples":667,"accuracy":90,"duration":"1011ms","credits_used":1}
응답 필드
| 필드 | 유형 | 설명 |
|---|---|---|
email |
String | 입력된 이메일 주소 |
last_name |
String | 찾은 성(last name) |
first_name |
String | 찾은 이름(first name) |
mail_provider |
String | 이메일 제공업체 이름 |
name |
String | 소문자로 변환된 이름(first name) |
name_sanitized |
String | 정규화기를 적용한 후의 이름 |
country |
String | 제출된 국가 코드 |
gender |
String | 가능한 값: male, female, unknown |
samples |
Integer | 너의 요청과 일치하는 레코드가 우리 데이터베이스에서 몇 개 발견되었는지 |
accuracy |
Integer | 이 값은 우리 데이터베이스의 신뢰도를 결정해. 값이 100이면, 요청한 gender 결과가 100%% 정확하다는 뜻이야 |
duration |
String | 서버가 요청을 처리하는 데 걸린 시간 |
credits_used |
Integer | 이 요청으로 사용된 요청 수 |
이름과 성 분리
페이지에서 이름과 성을 하나의 필드로 사용 중이라면, 이 API를 사용해 각 부분을 추출하세요
Required Requests: 1
요청
국가 코드 없이
GET https://gender-api.com/get?split=theresa%20miller&key=<API 키>
요청
국가 코드와 함께
GET https://gender-api.com/get?split=tim%20johnson&country=US&key=<API 키>
요청
엄격 모드 켜기
GET https://gender-api.com/get?split=markus%20stefan%20nonExistingLastName&strict=true&key=<API 키>
요청 파라미터
| 필드 | 유형 | 설명 |
|---|---|---|
split |
String | 전체 이름 |
country |
String | ISO 3166 ALPHA-2 국가 코드 |
strict |
Boolean (true|false) | 엄격 모드를 활성화하면, last_name 을(를) 우리 데이터베이스에서 찾을 수 없는 경우 last_name 필드에 null 을 반환해. 엄격 모드가 비활성화되어 있으면, 우리 데이터베이스에 없더라도 성(last name)을 최대한 추출하려고 시도해 |
key |
String | 너의 API 키 |
응답
국가 코드 없이
{"last_name":"Miller","first_name":"Theresa","strict":false,"name":"theresa","name_sanitized":"Theresa","country":"","gender":"female","samples":70,"accuracy":74,"duration":"56ms","credits_used":1}
응답
국가 코드와 함께
{"last_name":"Johnson","first_name":"Tim","strict":false,"name":"tim","name_sanitized":"Tim","country":"US","gender":"male","samples":7,"accuracy":100,"duration":"58ms","credits_used":1}
응답
엄격 모드 켜기
{"last_name":"","first_name":"Markus Stefan","strict":true,"name":"markus","name_sanitized":"Markus","country":"","gender":"male","samples":150,"accuracy":99,"duration":"85ms","credits_used":1}
응답 필드
| 필드 | 유형 | 설명 |
|---|---|---|
last_name |
String | 찾은 성(last name) |
first_name |
String | 찾은 이름(first name) |
strict |
Boolean | 엄격 모드가 활성화되어 있으면 true |
name |
String | 소문자로 변환된 이름(first name) |
name_sanitized |
String | 정규화기를 적용한 후의 이름 |
country |
String | 제출된 국가 코드 |
gender |
String | 가능한 값: male, female, unknown |
samples |
Integer | 너의 요청과 일치하는 레코드가 우리 데이터베이스에서 몇 개 발견되었는지 |
accuracy |
Integer | 이 값은 우리 데이터베이스의 신뢰도를 결정해. 값이 100이면, 요청한 gender 결과가 100%% 정확하다는 뜻이야 |
duration |
String | 서버가 요청을 처리하는 데 걸린 시간 |
credits_used |
Integer | 이 요청으로 사용된 요청 수 |
고객이 이름을 "First Name, Last Name" 형식으로 입력하도록 안내해 줘. 이렇게 하면 우리가 훨씬 더 정확한 결과를 돌려줄 수 있어.
통계 가져오기 (GET STATS)
이 호출로 너의 계정에 대한 다양한 통계를 확인할 수 있어:
Required Requests: 0회 요청
요청
GET https://gender-api.com/get-stats?&key=<API 키>
요청 파라미터
| 필드 | 유형 | 설명 |
|---|---|---|
key |
String | 너의 API 키 |
응답
{"key":"yourkey","is_limit_reached":false,"remaining_requests":43566,"amount_month_start":90000,"amount_month_bought":100000,"duration":"37ms"}
응답 필드
| 필드 | 유형 | 설명 |
|---|---|---|
key |
String | 너의 API 키 |
is_limit_reached |
Boolean | 더 이상 남은 요청이 없다면 true를 반환해 |
remaining_requests |
Integer | 남은 요청 수를 계산함 |
amount_month_start |
Integer | 월 초에 남은 요청 수 |
amount_month_bought |
Integer | 이번 달에 구매한 요청 수 |
duration |
String | 서버가 요청을 처리하는 데 걸린 시간 |
출신 국가 확인
이름의 출신 국가 알아보기:
Required Requests: 2
요청
이름
GET https://gender-api.com/get-country-of-origin?name=Markus&key=<API 키>
요청 파라미터
| 필드 | 유형 | 설명 |
|---|---|---|
name |
String | 조회할 이름 |
key |
String | 너의 API 키 |
응답
{
"name": "markus",
"country_of_origin": [
{
"countryName": "Finland",
"country": "FI",
"probability": 0.74,
"continentalRegion": "Europe",
"statisticalRegion": "Northern Europe"
},
{
"countryName": "Sweden",
"country": "SE",
"probability": 0.22,
"continentalRegion": "Europe",
"statisticalRegion": "Northern Europe"
},
{
"countryName": "Other",
"country": "--",
"probability": 0.04
}
],
"name_sanitized": "Markus",
"gender": "male",
"samples": 150,
"accuracy": 99,
"country_of_origin_map_url": "https://gender-api.com/en/map/37/3da90b0fe64e5102"
"credits_used": 2,
"duration": "165ms"
}
응답 필드
| 필드 | 유형 | 설명 |
|---|---|---|
name |
String | 소문자로 제출된 이름 |
name_sanitized |
String | 정규화기를 적용한 후의 이름 |
gender |
String | 가능한 값: male, female, unknown |
samples |
Integer | 너의 요청과 일치하는 레코드가 우리 데이터베이스에서 몇 개 발견되었는지 |
accuracy |
Integer | 이 값은 우리 데이터베이스의 신뢰도를 결정해. 값이 100이면, 요청한 gender 결과가 100%% 정확하다는 뜻이야 |
country_of_origin |
Array | 상위 25개 출신 국가. 지원되는 국가 목록은 "%sComplete List Of Possible Countries%s"에서 확인해줘 |
country_of_origin_map_url |
String | 결과를 시각적으로 보여주는 지도로 연결되는 링크야. 이 지도는 10분 동안 접속할 수 있어. 예를 들어 iframe을 사용해 너의 제품에 이 지도를 직접 삽입할 수 있어. |
duration |
String | 서버가 요청을 처리하는 데 걸린 시간 |
credits_used |
Integer | 이 요청으로 사용된 요청 수 |
스크린샷 인터랙티브 지도
가능한 국가의 전체 목록
| 국가 코드 | 국가 이름 | 통계 지역 | 대륙 지역 |
|---|---|---|---|
| CN | China | Eastern Asia | Asia |
| IN | India | Southern Asia | Asia |
| US | United States | Northern America | Americas |
| ID | Indonesia | South-eastern Asia | Asia |
| BR | Brazil | South America | Americas |
| PK | Pakistan | Southern Asia | Asia |
| NG | Nigeria | Western Africa | Africa |
| BD | Bangladesh | Southern Asia | Asia |
| RU | Russia | Eastern Europe | Europe |
| MX | Mexico | Central America | Americas |
| JP | Japan | Eastern Asia | Asia |
| ET | Ethiopia | Eastern Africa | Africa |
| PH | Philippines | South-eastern Asia | Asia |
| EG | Egypt | Northern Africa | Africa |
| VN | Vietnam | South-eastern Asia | Asia |
| DE | Germany | Western Europe | Europe |
| CD | Democratic Republic of the Congo | Middle Africa | Africa |
| IR | Iran | Southern Asia | Asia |
| TR | Turkey | Western Asia | Asia |
| TH | Thailand | South-eastern Asia | Asia |
| GB | United Kingdom | Northern Europe | Europe |
| FR | France | Western Europe | Europe |
| IT | Italy | Southern Europe | Europe |
| TZ | Tanzania | Eastern Africa | Africa |
| ZA | South Africa | Southern Africa | Africa |
| MM | Myanmar | South-eastern Asia | Asia |
| KR | South Korea | Eastern Asia | Asia |
| CO | Colombia | South America | Americas |
| KE | Kenya | Eastern Africa | Africa |
| ES | Spain | Southern Europe | Europe |
| AR | Argentina | South America | Americas |
| UA | Ukraine | Eastern Europe | Europe |
| UG | Uganda | Eastern Africa | Africa |
| DZ | Algeria | Northern Africa | Africa |
| SD | Sudan | Northern Africa | Africa |
| IQ | Iraq | Western Asia | Asia |
| PL | Poland | Eastern Europe | Europe |
| CA | Canada | Northern America | Americas |
| MA | Morocco | Northern Africa | Africa |
| AF | Afghanistan | Southern Asia | Asia |
| SA | Saudi Arabia | Western Asia | Asia |
| PE | Peru | South America | Americas |
| VE | Venezuela | South America | Americas |
| UZ | Uzbekistan | Central Asia | Asia |
| MY | Malaysia | South-eastern Asia | Asia |
| AO | Angola | Middle Africa | Africa |
| MZ | Mozambique | Eastern Africa | Africa |
| NP | Nepal | Southern Asia | Asia |
| GH | Ghana | Western Africa | Africa |
| YE | Yemen | Western Asia | Asia |
| MG | Madagascar | Eastern Africa | Africa |
| KP | North Korea | Eastern Asia | Asia |
| AU | Australia | AustraliaandNew Zealand | Oceania |
| CI | Ivory Coast | Western Africa | Africa |
| CM | Cameroon | Middle Africa | Africa |
| TW | Taiwan | Eastern Asia | Asia |
| NE | Niger | Western Africa | Africa |
| LK | Sri Lanka | Southern Asia | Asia |
| RO | Romania | Eastern Europe | Europe |
| BF | Burkina Faso | Western Africa | Africa |
| MW | Malawi | Eastern Africa | Africa |
| ML | Mali | Western Africa | Africa |
| SY | Syria | Western Asia | Asia |
| KZ | Kazakhstan | Central Asia | Asia |
| CL | Chile | South America | Americas |
| ZM | Zambia | Eastern Africa | Africa |
| NL | Netherlands | Western Europe | Europe |
| GT | Guatemala | Central America | Americas |
| EC | Ecuador | South America | Americas |
| ZW | Zimbabwe | Eastern Africa | Africa |
| KH | Cambodia | South-eastern Asia | Asia |
| SN | Senegal | Western Africa | Africa |
| TD | Chad | Middle Africa | Africa |
| SO | Somalia | Eastern Africa | Africa |
| GN | Guinea | Western Africa | Africa |
| SD | Sudan | Northern Africa | Africa |
| RW | Rwanda | Eastern Africa | Africa |
| TN | Tunisia | Northern Africa | Africa |
| CU | Cuba | Caribbean | Americas |
| BE | Belgium | Western Europe | Europe |
| BJ | Benin | Western Africa | Africa |
| GR | Greece | Southern Europe | Europe |
| BO | Bolivia | South America | Americas |
| HT | Haiti | Caribbean | Americas |
| BI | Burundi | Eastern Africa | Africa |
| DO | Dominican Republic | Caribbean | Americas |
| CZ | Czech Republic | Eastern Europe | Europe |
| PT | Portugal | Southern Europe | Europe |
| SE | Sweden | Northern Europe | Europe |
| AZ | Azerbaijan | Western Asia | Asia |
| HU | Hungary | Eastern Europe | Europe |
| JO | Jordan | Western Asia | Asia |
| BY | Belarus | Eastern Europe | Europe |
| AE | United Arab Emirates | Western Asia | Asia |
| HN | Honduras | Central America | Americas |
| TJ | Tajikistan | Central Asia | Asia |
| RS | Serbia | Southern Europe | Europe |
| AT | Austria | Western Europe | Europe |
| CH | Switzerland | Western Europe | Europe |
| IL | Israel | Western Asia | Asia |
| PG | Papua New Guinea | Melanesia | Oceania |
| TG | Togo | Western Africa | Africa |
| SL | Sierra Leone | Western Africa | Africa |
| HK | Hong Kong | Eastern Asia | Asia |
| BG | Bulgaria | Eastern Europe | Europe |
| LA | Laos | South-eastern Asia | Asia |
| PY | Paraguay | South America | Americas |
| SV | El Salvador | Central America | Americas |
| LY | Libya | Northern Africa | Africa |
| NI | Nicaragua | Central America | Americas |
| LB | Lebanon | Western Asia | Asia |
| KG | Kyrgyzstan | Central Asia | Asia |
| TM | Turkmenistan | Central Asia | Asia |
| DK | Denmark | Northern Europe | Europe |
| SG | Singapore | South-eastern Asia | Asia |
| FI | Finland | Northern Europe | Europe |
| SK | Slovakia | Eastern Europe | Europe |
| NO | Norway | Northern Europe | Europe |
| CG | Congo | Middle Africa | Africa |
| ER | Eritrea | Eastern Africa | Africa |
| PS | Palestine | Western Asia | Asia |
| CR | Costa Rica | Central America | Americas |
| IE | Ireland | Northern Europe | Europe |
| LR | Liberia | Western Africa | Africa |
| NZ | New Zealand | AustraliaandNew Zealand | Oceania |
| CF | Central African Republic | Middle Africa | Africa |
| OM | Oman | Western Asia | Asia |
| MR | Mauritania | Western Africa | Africa |
| HR | Croatia | Southern Europe | Europe |
| KW | Kuwait | Western Asia | Asia |
| PA | Panama | Central America | Americas |
| MD | Moldova | Eastern Europe | Europe |
| GE | Georgia | Western Asia | Asia |
| PR | Puerto Rico | Caribbean | Americas |
| BA | Bosnia and Herzegovina | Southern Europe | Europe |
| UY | Uruguay | South America | Americas |
| MN | Mongolia | Eastern Asia | Asia |
| AM | Armenia | Western Asia | Asia |
| AL | Albania | Southern Europe | Europe |
| JM | Jamaica | Caribbean | Americas |
| LT | Lithuania | Northern Europe | Europe |
| QA | Qatar | Western Asia | Asia |
| NA | Namibia | Southern Africa | Africa |
| BW | Botswana | Southern Africa | Africa |
| LS | Lesotho | Southern Africa | Africa |
| GM | The Gambia | Western Africa | Africa |
| MK | Republic of Macedonia | Southern Europe | Europe |
| SI | Slovenia | Southern Europe | Europe |
| GA | Gabon | Middle Africa | Africa |
| LV | Latvia | Northern Europe | Europe |
| GW | Guinea-Bissau | Western Africa | Africa |
| BH | Bahrain | Western Asia | Asia |
| TT | Trinidad and Tobago | Caribbean | Americas |
| SZ | Swaziland | Southern Africa | Africa |
| EE | Estonia | Northern Europe | Europe |
| TL | East Timor | South-eastern Asia | Asia |
| GQ | Equatorial Guinea | Middle Africa | Africa |
| MU | Mauritius | Eastern Africa | Africa |
| CY | Cyprus | Western Asia | Asia |
| DJ | Djibouti | Eastern Africa | Africa |
| FJ | Fiji | Melanesia | Oceania |
| RE | Réunion | Eastern Africa | Africa |
| KM | Comoros | Eastern Africa | Africa |
| BT | Bhutan | Southern Asia | Asia |
| GY | Guyana | South America | Americas |
| ME | Montenegro | Southern Europe | Europe |
| MO | Macau | Eastern Asia | Asia |
| SB | Solomon Islands | Melanesia | Oceania |
| LU | Luxembourg | Western Europe | Europe |
| SR | Suriname | South America | Americas |
| EH | Western Sahara | Northern Africa | Africa |
| CV | Cape Verde | Western Africa | Africa |
| GP | Guadeloupe | Caribbean | Americas |
| MV | Maldives | Southern Asia | Asia |
| MT | Malta | Southern Europe | Europe |
| BN | Brunei | South-eastern Asia | Asia |
| BS | Bahamas | Caribbean | Americas |
| MQ | Martinique | Caribbean | Americas |
| BZ | Belize | Central America | Americas |
| IS | Iceland | Northern Europe | Europe |
| BB | Barbados | Caribbean | Americas |
| PF | French Polynesia | Polynesia | Oceania |
| GF | French Guiana | South America | Americas |
| NC | New Caledonia | Melanesia | Oceania |
| VU | Vanuatu | Melanesia | Oceania |
| YT | Mayotte | Eastern Africa | Africa |
| ST | Sao Tome and Principe | Middle Africa | Africa |
| WS | Samoa | Polynesia | Oceania |
| LC | Saint Lucia | Caribbean | Americas |
| JE | Guernsey and Jersey | Northern Europe | Europe |
| GU | Guam | Micronesia | Oceania |
| CW | Curaçao | Caribbean | Americas |
| KI | Kiribati | Micronesia | Oceania |
| VC | Saint Vincent and the Grenadines | Caribbean | Americas |
| TO | Tonga | Polynesia | Oceania |
| GD | Grenada | Caribbean | Americas |
| FM | Federated States of Micronesia | Micronesia | Oceania |
| AW | Aruba | Caribbean | Americas |
| VI | United States Virgin Islands | Caribbean | Americas |
| AG | Antigua and Barbuda | Caribbean | Americas |
| SC | Seychelles | Eastern Africa | Africa |
| IM | Isle of Man | Northern Europe | Europe |
| AD | Andorra | Southern Europe | Europe |
| DM | Dominica | Caribbean | Americas |
| KY | Cayman Islands | Caribbean | Americas |
| BM | Bermuda | Northern America | Americas |
| GL | Greenland | Northern America | Americas |
| AS | American Samoa | Polynesia | Oceania |
| KN | Saint Kitts and Nevis | Caribbean | Americas |
| MP | Northern Mariana Islands | Micronesia | Oceania |
| MH | Marshall Islands | Micronesia | Oceania |
| FO | Faroe Islands | Northern Europe | Europe |
| SX | Sint Maarten | Caribbean | Americas |
| MC | Monaco | Western Europe | Europe |
| LI | Liechtenstein | Western Europe | Europe |
| TC | Turks and Caicos Islands | Caribbean | Americas |
| GI | Gibraltar | Southern Europe | Europe |
| SM | San Marino | Southern Europe | Europe |
| VG | British Virgin Islands | Caribbean | Americas |
| BQ | Caribbean Netherlands | Caribbean | Americas |
| PW | Palau | Micronesia | Oceania |
| CK | Cook Islands | Polynesia | Oceania |
| AI | Anguilla | Caribbean | Americas |
| WF | Wallis and Futuna | Polynesia | Oceania |
| NR | Nauru | Micronesia | Oceania |
| TV | Tuvalu | Polynesia | Oceania |
| PM | Saint Pierre and Miquelon | Northern America | Americas |
| MS | Montserrat | Caribbean | Americas |
| SH | Saint Helena Ascension and Tristan da Cunha | Western Africa | Africa |
| FK | Falkland Islands | South America | Americas |
| NU | Niue | Polynesia | Oceania |
| TK | Tokelau | Polynesia | Oceania |
| VA | Vatican City | Southern Europe | Europe |
오류 코드
응답
Error Example Message
{"errno":30,"errmsg":"limit reached"}
| errno (Error Number) | errmsg (Error Message) | 설명 |
|---|---|---|
| 10 | invalid country code | "Valid country codes"를 참고해줘 |
| 11 | number of country codes not equal to number of names | 이름 개수와 국가 코드 개수가 일치하지 않아 |
| 20 | name not set | 서버가 어떤 이름도 받지 못했어 |
| 21 | too many names | 한 번에 최대 100개의 이름만 허용돼 |
| 30 | limit reached | 쿼리 한도에 도달했어 |
| 40 | invalid or missing key | 서버 키를 데이터베이스에서 찾을 수 없습니다 |
| 500 | unknown error | 내부 서버 오류 |