> For the complete documentation index, see [llms.txt](https://api-gitbook.kosontechnology.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://api-gitbook.kosontechnology.com/shanghai-metro-api/search-station-with-station-name.md).

# Search Station With Station Name

<mark style="color:blue;">`GET`</mark> `https://api.kosontechnology.com/shanghai-search-station.php`

This API Script is designed to retrieve station information from Shanghai Metro API using provided parameter

#### Path Parameters

| Name                                         | Type   | Description                     |
| -------------------------------------------- | ------ | ------------------------------- |
| stat\_name<mark style="color:red;">\*</mark> | String | To specify desired station name |
| download                                     | String | To download json file           |

##

## Parameter Guidelines

Refer to [SHANGHAI METRO API](/shanghai-metro-api.md) to have `stat_name` and `download` guideline.

## Demo

Retrieve all station information for station name JiuTing:

{% embed url="<https://api.kosontechnology.com/shanghai-search-station.php?stat_name=JiuTing>" %}
Retrieve station Jiuting data
{% endembed %}

## Download

Add download parameter at the end of link to download output in JSON format:

{% embed url="<https://api.kosontechnology.com/shanghai-search-station.php?stat_name=JiuTing&download>" %}
Download station Jiuting data
{% endembed %}
