# 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 |


---

# 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://docs.ipnews.io/web-services-documentation/request-method-and-parameters.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.
