> For the complete documentation index, see [llms.txt](https://docs.ipnews.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.ipnews.io/web-services-documentation/request-method-and-parameters.md).

# Request method and parameters

The REST API calling syntax. Please see the table below for the description of each parameter.

API Address

```
https://api.ipnews.io/query/query_ip?key={YOUR_API_KEY}&ip=8.8.8.8      
```

| Request        | Output | Character |
| -------------- | ------ | --------- |
| HTTPS GET/POST | Json   | UTF-8     |

Parameters

| Name | Type   | Description                                                             |
| ---- | ------ | ----------------------------------------------------------------------- |
| ip   | String | Status code of the request rSupports both IPV4 and IPV6 queries         |
| key  | String | Use the secret key and permission verification of the purchased package |
