# POI

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

## POI Search

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

Returns search results based on POI search queries and coordinate settings.

#### Query Parameters

| Name  | Type   | Description                                                                                                                        |
| ----- | ------ | ---------------------------------------------------------------------------------------------------------------------------------- |
| key   | string | Your API Key.                                                                                                                      |
| kwd   | string | <p>Name search: search word<br>Nearby search:<br>category ID (String to hex encoding)i.e. {ABC Market} to {ec9db4eba788ed8ab8}</p> |
| stype | string | <p>Search type<br>Name search: 1<br>Nearby search: 3</p>                                                                           |
| cx    | string | User's current location X coordinate (wgs84)                                                                                       |
| cy    | string | User's current location Y coordinate (wgs84)                                                                                       |
| rad   | string | Search radius (Optional for name search)                                                                                           |

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

```javascript
GET
https://api.fatos.biz/nostra/api/search/POI?key=YOUR_API_KEY&kwd=42414e4b&stype=1&cx=100.600855&cy=13.811968&minx=100.574184&miny=13.478281&maxx=101.097168&maxy=13.829890


{
   "pgno":1,
   "cnt":20,
   "totalCnt":1,
   "totalpg":1,
   "items":[
      {
         "name":"Bangkok Bank Chok Chai 4 Lat Phrao",
         "addr1":"Soi Chok Chai 4 Soi 24, Lat Phrao, Lat Phrao, Bangkok",
         "phone":"025305340",
         "cate":"27011",
         "posx":100.59697899967432,
         "posy":13.80723299458623,
         "entx":100.59678964,
         "enty":13.80722684,
         "dist":672,
         "postal":"10230"
      },
      {
         "name":"Krung Thai Bank Chok Chai 4 Soi 22",
         "addr1":"Soi Chok Chai 4 Soi 22, Lat Phrao, Lat Phrao, Bangkok",
         "phone":"025302571",
         "cate":"27012",
         "posx":100.59697095304728,
         "posy":13.806722117587924,
         "entx":100.59687766,
         "enty":13.80671649,
         "dist":718,
         "postal":"10230"
      },
             .............
             .............
      {
         "name":"Kasikorn Bank Chok Chai 4",
         "addr1":"Soi Lat Phrao 53 (Chok Chai 4), Saphan Song, Wang Thonglang, Bangkok",
         "phone":"025398735",
         "cate":"27014",
         "posx":100.59553362429142,
         "posy":13.798390505835414,
         "entx":100.59558576,
         "enty":13.79838555,
         "dist":1615,
         "postal":"10310"
      },
      {
         "name":"Government Savings Bank Green Plaza (Wang Hin)",
         "addr1":"Soi Lat Phrao Wang Hin 77 (Soi Bua Rung), Lat Phrao, Lat Phrao, Bangkok",
         "phone":"025786038",
         "cate":"27020",
         "posx":100.59141928330064,
         "posy":13.823720449581742,
         "entx":100.59155451,
         "enty":13.82361508,
         "dist":1656,
         "postal":"10230"
      },
      {
         "name":"Cimb Thai Bank Centralfestival Eastville",
         "addr1":"Soi Nakniwat 6, Lat Phrao, Lat Phrao, Bangkok",
         "phone":"",
         "cate":"27023",
         "posx":100.61363803222775,
         "posy":13.803701447322965,
         "entx":100.61522448,
         "enty":13.8017536,
         "dist":1658,
         "postal":"10230"
      },
      {
         "name":"Siam Commercial Bank Central Festival Eastville Sme Business Center",
         "addr1":"Pradit Manutham Rd., Lat Phrao, Lat Phrao, Bangkok",
         "phone":"",
         "cate":"27017",
         "posx":100.61363803222775,
         "posy":13.803701447322965,
         "entx":100.61522448,
         "enty":13.8017536,
         "dist":1658,
         "postal":"10230"
      },
      {
         "name":"UOB Bank Centralfestival Eastville",
         "addr1":"Pradit Manutham Rd., Lat Phrao, Lat Phrao, Bangkok",
         "phone":"020935888",
         "cate":"27025",
         "posx":100.61363803222775,
         "posy":13.803701447322965,
         "entx":100.61522448,
         "enty":13.8017536,
         "dist":1658,
         "postal":"10230"
      },
      {
         "name":"Bangkok Bank Centralfestival Eastville",
         "addr1":"Pradit Manutham Rd., Lat Phrao, Lat Phrao, Bangkok",
         "phone":"025536124",
         "cate":"27011",
         "posx":100.61363803222775,
         "posy":13.803701447322965,
         "entx":100.61522448,
         "enty":13.8017536,
         "dist":1658,
         "postal":"10230"
      },
      {
         "name":"Kasikorn Bank Centralfestival Eastville",
         "addr1":"Pradit Manutham Rd., Lat Phrao, Lat Phrao, Bangkok",
         "phone":"020419030",
         "cate":"27014",
         "posx":100.61363803222775,
         "posy":13.803701447322965,
         "entx":100.61522448,
         "enty":13.8017536,
         "dist":1658,
         "postal":"10230"
      },
      {
         "name":"TMB Bank Centralfestival Eastville",
         "addr1":"Pradit Manutham Rd., Lat Phrao, Lat Phrao, Bangkok",
         "phone":"025536151",
         "cate":"27015",
         "posx":100.61363803222775,
         "posy":13.803701447322965,
         "entx":100.61522448,
         "enty":13.8017536,
         "dist":1658,
         "postal":"10230"
      }
   ]
}
```

{% 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/poi.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.
