> 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-id.md).

# Search Station With Station ID

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

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

#### Path Parameters

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

## Parameter Guidelines

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

## Demo

Retrieve all station information for station id 0926:

{% embed url="<https://api.kosontechnology.com/shanghai-get-station-Info.php?stat_id=0926>" %}
Retrieve station 0926 data
{% endembed %}

## Download

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

{% embed url="<https://api.kosontechnology.com/shanghai-get-station-Info.php?stat_id=0926&download>" %}
Download station 0926 data
{% endembed %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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://api-gitbook.kosontechnology.com/shanghai-metro-api/search-station-with-station-id.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.
