---
title: NeaREST 最寄り駅検索APIプレゼンテーション資料
tags:  #laravel #api  
author: [市井](https://www.docswell.com/user/ichii731)
site: [Docswell](https://www.docswell.com/)
thumbnail: https://bcdn.docswell.com/page/ZPJRYY6ZE9.jpg?width=480
description: 商用利用無料・登録不要で高機能な駅関連検索APIが使えるサービス【NeaREST API】のプロモーションスライドです。 https://station.ic731.net/  仕様書・ドキュメント https://station.ic731.net/docs/near  @CEP演習 / 明治大学
published: March 28, 22
canonical: https://www.docswell.com/s/ichii731/ZNXYGK-nearest
---
# Page. 1

![Page Image](https://bcdn.docswell.com/page/ZPJRYY6ZE9.jpg)

NeaREST API
2022-03-29 / CEP


# Page. 2

![Page Image](https://bcdn.docswell.com/page/NPEXGGM17X.jpg)

NeaREST APIとは
登録不要・無料・制限なしで使える
最寄り駅検索Web API
2


# Page. 3

![Page Image](https://bcdn.docswell.com/page/63EK44GM7D.jpg)

作った動機
最寄り駅の検索は結構処理が重いため
APIは有料のものがほとんど。（NAVITIME等…）
無料のAPIは1つだけしか無く、そのサービスが実質
的なスタンダードに。
→そのサービスが提供終了すれば無料がなくなる。
その他にも選択肢をもたせるのは非常に大切な事だ
と思い、今回開発した。
3


# Page. 4

![Page Image](https://bcdn.docswell.com/page/4L73LLN2J5.jpg)

デモアプリ
4


# Page. 5

![Page Image](https://bcdn.docswell.com/page/V87DNNW6JG.jpg)

例) 東京都庁の最寄り駅
-
駅名
郵便番号
住所
現在地からの距離
→最大20件まで取得可能
5


# Page. 6

![Page Image](https://bcdn.docswell.com/page/4VJP55XZJ8.jpg)

高速化の実現
1. リクエストを受信
2. 1万件以上の駅データベースの中から
地理空間処理⇒“近い順“検索
30ms(0.03秒)以下
平均
3. それぞれの駅との距離を演算
4. データを返却
6


# Page. 7

![Page Image](https://bcdn.docswell.com/page/L2EVPPLMEQ.jpg)

使用技術
7


# Page. 8

![Page Image](https://bcdn.docswell.com/page/Z57GPPXX7L.jpg)

Twitter: @ichii731
GitHub: @ichii731
Instagram: @ichii731
ありがとうございました
it0731@outlook.jp
https://station.ic731.net


