# Getting started

Access to our general-purpose endpoints require an API key, which can be acquired from our dashboard: <https://dashboard.fiews.io/>

<table data-header-hidden><thead><tr><th width="252.13415508510542">Network</th><th width="343.9694858552554">Endpoint URL</th></tr></thead><tbody><tr><td><strong>Network</strong></td><td><strong>Endpoint URL</strong></td></tr><tr><td>Ethereum Mainnet</td><td><code>https://mainnet.ethereum.api.fiews.io/v2/rpc/&#x3C;YOUR_API_KEY></code></td></tr><tr><td>Ethereum Mainnet (WS)</td><td><code>wss://mainnet.ethereum.api.fiews.io/v2/ws/&#x3C;YOUR_API_KEY></code></td></tr></tbody></table>

### Example cURL request

A simple request using cURL is shown below. This request will call the `net_version` method, which gets the ID of the network.

```bash
curl https://mainnet.ethereum.api.fiews.io/v2/rpc/<YOUR_API_KEY> -d \
    '{"jsonrpc":"2.0","id":"1","method":"net_version","params":[]}'
```

The response from this call should be: `{"jsonrpc":"2.0","id":"1","result":"1"}` The result, 1, indicates that we are connected to the Ethereum testnet.


---

# 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.fiews.io/general-purpose/getting-started.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.
