# Address

{% hint style="info" %}
See the [**API Key Issuance page**](/get-your-api-key.md) for information on using keys.
{% endhint %}

## Address

<mark style="color:blue;">`GET`</mark> `https://api.fatos.biz/nostra/api/search/ADDR`

Returns search results based on address search queries and coordinate settings

#### Query Parameters

| Name  | Type   | Description                                                                               |
| ----- | ------ | ----------------------------------------------------------------------------------------- |
| key   | string | Your API Key.                                                                             |
| kwd   | string | <p>Search word (string to hex encoding)<br>{Ogeumno182} to {ec98a4eab888eba19c313832}</p> |
| stype | string | Search type: 2 (for address search)                                                       |
| cx    | string | User's current location X coordinate (wgs84)                                              |
| cy    | string | User's current location Y coordinate (wgs84)                                              |

{% tabs %}
{% tab title="200 " %}

```javascript
GET
https://api.fatos.biz/nostra/api/search/ADDR?key=YOUR_API_KEY&kwd=536f69&stype=2&cx=100.600855&cy=13.811968


{
   "pgno":1,
   "cnt":20,
   "totalCnt":1,
   "totalpg":1,
   "items":[
      {
         "name":"Inthra Department Store (Soi Wang Thong)",
         "addr1":"Ratchaprarop Rd., Thanon Phaya Thai, Ratchathewi, Bangkok",
         "phone":"022080022",
         "cate":"21020",
         "posx":100.5410311371088,
         "posy":13.75199113972485,
         "entx":100.54136682,
         "enty":13.75191756,
         "dist":9284,
         "postal":"10400"
      },
      {
         "name":"Soi 14 Mini Plaza",
         "addr1":"Soi Loet Phatthana Nuea, Bang Kho, Chom Thong, Bangkok",
         "phone":"",
         "cate":"21020",
         "posx":100.47748725861311,
         "posy":13.703114921227098,
         "entx":100.47747289,
         "enty":13.70315614,
         "dist":18000,
         "postal":"10150"
      },
      {
         "name":"Chaomae Soi Dok Mak Park",
         "addr1":"Ban Kaeng Krachan Rd., Kaeng Krachan, Kaeng Krachan, Phetchaburi",
         "phone":"",
         "cate":"61000",
         "posx":99.64819215238094,
         "posy":12.90196624584496,
         "entx":99.64843636,
         "enty":12.90183411,
         "dist":144427,
         "postal":"76170"
      },
      {
         "name":"Khao Soi Dao Wildlife Preserve Area",
         "addr1":"Highway 3391, Sai Khao, Soi Dao, Chanthaburi",
         "phone":"039486337",
         "cate":"62000",
         "posx":102.1933595649898,
         "posy":13.103127479553223,
         "entx":102.19332435,
         "enty":13.10345999,
         "dist":189385,
         "postal":"22180"
      },
      {
         "name":"Phu Soi Dao National Park",
         "addr1":"Highway 1268, Bo Phak, Chat Trakan, Phitsanulok",
         "phone":"055436001",
         "cate":"62000",
         "posx":100.94716016203165,
         "posy":17.696453416720033,
         "entx":100.94693537,
         "enty":17.69660335,
         "dist":433500,
         "postal":"65170"
      },
      {
         "name":"Soi Chok Chai 4 Soi 36 Yaek 1-4 (Soi Muban 34)",
         "addr1":", Lat Phrao, Lat Phrao, Bangkok",
         "phone":"",
         "cate":"STREET",
         "posx":100.60088211670518,
         "posy":13.811777662485838,
         "entx":100.60088227,
         "enty":13.81177771,
         "dist":21,
         "postal":""
      },
      {
         "name":"Soi Chok Chai 4 Soi 36 Yaek 1-6 (Soi Muban 34)",
         "addr1":", Lat Phrao, Lat Phrao, Bangkok",
         "phone":"",
         "cate":"STREET",
         "posx":100.6008018180728,
         "posy":13.812182424589992,
         "entx":100.60080183,
         "enty":13.8121825,
         "dist":24,
         "postal":""
      },
      {
         "name":"Soi Chok Chai 4 Soi 36 Yaek 1-2 (Soi Muban 34)",
         "addr1":", Lat Phrao, Lat Phrao, Bangkok",
         "phone":"",
         "cate":"STREET",
         "posx":100.60095503926277,
         "posy":13.811439536511898,
         "entx":100.60095504,
         "enty":13.81143959,
         "dist":59,
         "postal":""
      },
      {
         "name":"Soi Sangsit 8",
         "addr1":", Lat Phrao, Lat Phrao, Bangkok",
         "phone":"",
         "cate":"STREET",
         "posx":100.6013280339539,
         "posy":13.812485849484801,
         "entx":100.60132814,
         "enty":13.81248585,
         "dist":76,
         "postal":""
      },
      {
         "name":"Soi Chok Chai 4 Soi 36 Yaek 3 (Soi Muban 34)",
         "addr1":", Lat Phrao, Lat Phrao, Bangkok",
         "phone":"",
         "cate":"STREET",
         "posx":100.60155602172017,
         "posy":13.811737345531583,
         "entx":100.60155617,
         "enty":13.81173742,
         "dist":79,
         "postal":""
      },
      {
         "name":"Soi Sangsit 7",
         "addr1":", Lat Phrao, Lat Phrao, Bangkok",
         "phone":"",
         "cate":"STREET",
         "posx":100.60141218826175,
         "posy":13.812848450616002,
         "entx":100.60141223,
         "enty":13.8128485,
         "dist":114,
         "postal":""
      },
      {
         "name":"Soi Chok Chai 4 Soi 36 Yaek 1 (Soi Muban 34)",
         "addr1":", Lat Phrao, Lat Phrao, Bangkok",
         "phone":"",
         "cate":"STREET",
         "posx":100.59992959722877,
         "posy":13.81145621649921,
         "entx":100.59992968,
         "enty":13.81145628,
         "dist":114,
         "postal":""
      },
      {
         "name":"Soi Sangsit 9",
         "addr1":", Lat Phrao, Lat Phrao, Bangkok",
         "phone":"",
         "cate":"STREET",
         "posx":100.60208357870579,
         "posy":13.812247049063444,
         "entx":100.60208361,
         "enty":13.81224706,
         "dist":136,
         "postal":""
      },
      {
         "name":"Soi Chok Chai 4 Soi 36 Yaek 1-5 (Soi Muban 34)",
         "addr1":", Lat Phrao, Lat Phrao, Bangkok",
         "phone":"",
         "cate":"STREET",
         "posx":100.59953162446618,
         "posy":13.81193658336997,
         "entx":100.59953164,
         "enty":13.81193664,
         "dist":142,
         "postal":""
      },
      {
         "name":"Soi Chok Chai 4 Soi 36 Yaek 1-3 (Soi Muban 34)",
         "addr1":", Lat Phrao, Lat Phrao, Bangkok",
         "phone":"",
         "cate":"STREET",
         "posx":100.59958124533296,
         "posy":13.811593931168318,
         "entx":100.59958135,
         "enty":13.81159398,
         "dist":143,
         "postal":""
      },
      {
         "name":"Soi Muban Otsathit 5",
         "addr1":", Lat Phrao, Lat Phrao, Bangkok",
         "phone":"",
         "cate":"STREET",
         "posx":100.60071682557464,
         "posy":13.810672340914607,
         "entx":100.60071683,
         "enty":13.81067237,
         "dist":144,
         "postal":""
      },
      {
         "name":"Soi Sangsit 6",
         "addr1":", Lat Phrao, Lat Phrao, Bangkok",
         "phone":"",
         "cate":"STREET",
         "posx":100.6013510003686,
         "posy":13.813186408951879,
         "entx":100.60135112,
         "enty":13.81318645,
         "dist":145,
         "postal":""
      },
      {
         "name":"Soi Chok Chai 4 Soi 36 Yaek 1-1 (Soi Muban 34)",
         "addr1":", Lat Phrao, Lat Phrao, Bangkok",
         "phone":"",
         "cate":"STREET",
         "posx":100.59963069856167,
         "posy":13.811250105500221,
         "entx":100.59963074,
         "enty":13.81125016,
         "dist":154,
         "postal":""
      },
      {
         "name":"Soi Chok Chai 4 Soi 36 Yaek 5-4 (Soi Muban 34)",
         "addr1":", Lat Phrao, Lat Phrao, Bangkok",
         "phone":"",
         "cate":"STREET",
         "posx":100.60229178518057,
         "posy":13.811916969716549,
         "entx":100.6022918,
         "enty":13.81191704,
         "dist":155,
         "postal":""
      },
      {
         "name":"Soi Chok Chai 4 Soi 36 Yaek 4 (Soi Muban 34)",
         "addr1":", Lat Phrao, Lat Phrao, Bangkok",
         "phone":"",
         "cate":"STREET",
         "posx":100.60169029980898,
         "posy":13.810813492164016,
         "entx":100.60169046,
         "enty":13.81081353,
         "dist":156,
         "postal":""
      }
   ]
}
```

{% endtab %}
{% endtabs %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://nostramap-doc.fatos.biz/fatos-api/search/address.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
