# Block Explorer and API Keys

### Block Explorers

{% tabs %}
{% tab title="Cronos Mainnet" %}

* **Cronos Explorer:** <https://explorer.cronos.org/>
  {% endtab %}

{% tab title="Testnet" %}

* **Cronos Testnet Explorer:** <https://explorer.cronos.org/testnet>
  {% endtab %}
  {% endtabs %}

Cronos Explorer is the reference transaction and block explorer on Cronos `https://explorer.cronos.org`

### Creating Account and Getting API Key **Cronos Explorer**

The Cronos Explorer Developer APIs are designed to provide accessible and consistent Cronos data to the Cronos community.

As a means to provide equitable access to blockchain data, we've developed the Cronos Developer APIs to empower developers with direct access to Cronos's blockchain data and services via `GET/POST` requests.

### 1. Register an Account <a href="#id-1-register-an-account" id="id-1-register-an-account"></a>

Head over to the [**Account Registration**](https://explorer.cronos.org/register) page and provide email and password for your account.

<figure><img src="/files/2L11kuPx2QhpDj3qe3ut" alt=""><figcaption></figcaption></figure>

### 2. Verify Your Email <a href="#id-2-verify-your-email" id="id-2-verify-your-email"></a>

A verification code will be sent to your email address to verify your sign up request. Fill in on the verification page for completing your registration

<figure><img src="/files/wByPKuts4Jon9q4Axesr" alt=""><figcaption></figcaption></figure>

### 3. Exploring Your Account <a href="#id-3-exploring-your-account" id="id-3-exploring-your-account"></a>

Upon signing in, you will have access to your account dashboard where you can make full use of Cronos explorer's features such as viewing API keys and viewing submitted contract verification status.

<figure><img src="/files/MrcuMhGizRMlDTjxSFZY" alt="" width="563"><figcaption></figcaption></figure>

### 4. Getting an Default API Key <a href="#id-4-getting-an-default-api-key" id="id-4-getting-an-default-api-key"></a>

From your Account Dashboard, click on label **My API Keys**. From there, you may view your API Keys. By Default, each Cronos Explorer account will assign a default API Key on registration completed.

<figure><img src="/files/kP9ouzScZpRu2VvCl0y6" alt="" width="563"><figcaption></figcaption></figure>

### 5. Using APIs <a href="#id-5-using-apis" id="id-5-using-apis"></a>

Once you have obtained your API key, you can fetch data from the provided endpoints.

*Example:*

```
  curl --request GET 'https://explorer-api.cronos.org/mainnet/api/v1/{module}/{action}?apikey={your_apikey}
```

### API Documentation

Please visit <https://explorer-api-doc.cronos.org/mainnet/> for API documentation.


---

# 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.cronos.org/block-explorers/block-explorer-and-api-keys.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.
