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