MOGOS Maps
console
  • Overview
  • API & COMPONENT
    • Maps
      • Map Control
        • Sources
        • Bounds
        • Zoom
        • Center
        • Rotate
        • Tilt
        • Flyto
        • Solid
        • Languages
        • Theme
        • Event Once
        • Event On/Off
      • Layer Control
        • Layers
        • Filters
        • Property
        • The specifation of layer style
          • Fill
          • Line
          • Circle
          • Symbol
      • Map UI
      • Map Utilities
        • Rectangle
        • Circle
        • Polyline
        • Polylgon
        • Area
        • Distance
        • Marker
          • Members
    • Search
      • Name
      • Category
      • Address
      • Postal Code
      • Geocoding
    • Route
      • General Vehicles
      • Motorbike
      • Bicycle
      • Pedestrian
      • Truck
      • Public Transportation
    • Logistics & Delivery
      • Route including multiple waypoints
      • Route as optimized order for multiple waypoints
      • Route as optimized order for transportation of logistics
      • Route as optimized order for delivery
      • Predicted route which is certain time in the future
    • Fleet Management
      • Realtime location tracking
      • Moving trajectory analysis
      • Driving road pattern analysis
      • Driver behavior analysis
      • Geofencing
      • Road snap
  • Help
    • Get your API Key
    • Troubleshooting
  • The last versions
    • MOGOS Maps API
      • MOGOS Maps API V1.0
Powered by GitBook

©MOGOS 2023

On this page
  • Request
  • Response
  1. API & COMPONENT
  2. Search

Address

Find a geo-location by the address.

Method
Request
Response

GET

https://maps.mogoscorp.com/api/v2/searchbyaddr

JSON

Request

Parameter (Required)
Descripton
Remarks

key

Your API Key.

string

keyword

Address to be searched. e.g. keyword=alexandra road

string

cx

Longitude of the current location (WGS84). e.g. cx=126.896038

string

cy

Latitude of the current location (WGS84). e.g. cy=37.482901

string

lang

Search Language. th : Thailand en : English kr : Korean (Default : en)

string

type

Type of search 0: Search by name 1: Search by categoty 2: Search by address 3: Search by postal code

int

Parameter (Optional)
Description
Remarks

sx

Longitude of arbitrary locations that are the basis for the search (WGS84). e.g. sx=126.896038

string

sy

Latitude of arbitrary locations that are the basis for the search (WGS84). e.g. sy=37.482901

string

pno

Page number. (Default : 1)

int

cpp

Number of searches per page. (Default : 20)

int

Example

// Some code

Response

Description
Remark

err

If there is an error, it's the contents of the error

string

stype

The type of search used for the search. (Internal use only)

int

sort

The sort type used in the search. (Internal use only)

int

pno

Page number.

int

cpp

Number of searches per page.

int

total

Number of items searched

int

items

List of retrieved results.

array

id

Search ID.

string

flg

Type of data. (Internal use only)

int

pid

Parent ID. (currently Not used)

string

src

Source type

int

cate

Large classification code. (Internal use only)

string

dist

Distance (unit : meter)

int

entx

Longitude of entry point (WGS84).

double

enty

Latitude of entry point (WGS84).

double

name

Display name.

string

posx

Longitude of center.

double

posy

Latitude of center.

double

addr1

Address.

string

addr2

Another address.

string

cate2

Division code. (currently Not used)

string

phone

Phone number.

delimiter comma (,).

string

props

POI Properties.

(currently Not used)

array

hassub

Sub POI Existence (0: None, Other : Yes) (currently Not used)

int

addr_en

English address

string

entries

Multiple entry points list. (currently Not used)

array

name_en

English name

string

geom_type

geometry type

string

Example

{
    "err": null,
    "stype": 2,
    "sort": 0,
    "pgno": 1,
    "cnt": 20,
    "src_type": null,
    "data_type": 0,
    "items": [
        {
            "id": "738749103",
            "name": "122 Bongrae-dong 2-ga Jung-gu Seoul",
            "name_en": null,
            "addr1": null,
            "addr2": "405 Hangangdae-ro Jung-gu Seoul",
            "cate": null,
            "cate2": null,
            "geom": "POINT(126.970537262872 37.5556743315695)",
            "posx": 126.9705372628718,
            "posy": 37.555674331569534,
            "entx": 126.96998178200411,
            "enty": 37.55495218726866,
            "hassub": 0,
            "phone": null,
            "pid": null,
            "entries": null,
            "props": null,
            "dist": 10435,
            "wgpt": 1.0534160137176514,
            "src": 8,
            "flg": 3
        },
        ...
    ]
}

PreviousCategoryNextPostal Code

Last updated 2 years ago

For "lang" parameter, you can find all language codes at {YOUR_API_KEY} However, we currently provide services only for "ko", "th", "en"

The MOGOS Maps API requires an API Key, which can be obtained from the website or contact .

https://maps.mogoscorp.com/api/v2/search/langs?key=
MOGOS Console
sales@mogoscorp.com