# API documentation

Below is a sample **GET** request along with its corresponding response, taken from the API documentation of The Graphite Explorer. For a more comprehensive understanding of the available endpoints, parameters, and response formats, we encourage you to explore [<mark style="color:green;">**the full documentation**</mark>](https://docs.main.atgraphite.com/).

### <mark style="color:green;">Example:</mark> Accounts - Get balance for a single address

Returns the balance of a given address.

**Sample request**

```javascript
https://api.main.atgraphite.com/api
   ?module=account
   &action=balance
   &address=0xde0b295669a9fd93d5f28d9ec85e40f4cb697bae
   &tag=latest
   &apikey=YourApiKeyToken
```

**Request query parameters**

<table><thead><tr><th width="138">Parameter</th><th>Description</th></tr></thead><tbody><tr><td>address*</td><td>the string representing the address to check for balance</td></tr><tr><td>tag*</td><td>the string pre-defined block parameter, either <mark style="color:green;"><strong><code>earliest</code></strong></mark>, <mark style="color:green;"><strong><code>pending</code></strong></mark> or <mark style="color:green;"><strong><code>latest</code></strong></mark></td></tr></tbody></table>

**Sample response**

{% code fullWidth="false" %}

```json
{
    "status": "1",
    "message": "OK",
    "result": "40891626854930000000000" 
}
```

{% endcode %}

<mark style="color:green;">**The full documentation**</mark> can be found at the link below:

{% embed url="<https://docs.main.atgraphite.com/>" %}
