Documentation Index

Fetch the complete documentation index at: https://api.ncloud-docs.com/llms.txt

Use this file to discover all available pages before exploring further.

GeoLocation

Prev Next

Available in Classic and VPC

This is the GeoLocation response information.

Syntax

The syntax is as follows.

private String contry;
private String code;
private String r1;
private String r2;
private String r3;
private float lat;
private float long;
private String net;

Field

The following describes the fields.

Field Type Required Description
country String - Country code corresponding to the IP address
  • Compliant with ISO 3166 standards
  • It includes EU (Europe), AP (Asia, Australia), A1 (Anonymous Proxy), A2 (Satellite provider), and O1 (other countries)
code String - Administrative region codes defined by the Ministry of the Interior and Safety of the Republic of Korea
r1 String - Do, metropolitan city, state
r2 String - Si, gun, gu
r3 String - Dong, myeon, eup
lat Number - Latitude
long Number - Longitude
net String - Network provider name