# Introduction

The XRPSCAN API platform provides a set of powerful REST APIs designed for ease of use and developer productivity. The latest (and only) supported API version is `v1`. All resources are relative to the following root endpoint:

{% code title="Mainnet" %}

```
https://api.xrpscan.com/api/v1
```

{% endcode %}

{% code title="Testnet" %}

```
https://testnet.xrpscan.com/api/v1
```

{% endcode %}

The API has public as well as private endpoints. Only the public endpoints documented in this portal are meant for public use.

## License

<figure><img src="https://licensebuttons.net/l/by-nc-sa/4.0/88x31.png" alt=""><figcaption><p>CC BY-NC-SA 4.0</p></figcaption></figure>

XRPSCAN API by XRPSCAN is licensed under a [Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License](http://creativecommons.org/licenses/by-nc-sa/4.0/). Permissions beyond the scope of this license, including commercial use are available by [contacting us](/help/contact-us.md).

{% embed url="<https://creativecommons.org/licenses/by-nc-sa/4.0/>" %}


---

# 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.xrpscan.com/api-documentation/introduction.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.
