# Ethereum API

The Crypto APIs Ethereum API, part of the Blockchain API, lets you read balances, token transfers and blocks on Ethereum and send transactions without running a node. One API key covers mainnet and sepolia. Webhooks tell your server when a payment confirms, and we never hold your private keys.

## Key facts

| | |
| --- | --- |
| Networks | Mainnet, Sepolia |
| Model | Account (EVM) |
| Endpoints | 63 |
| Confirmations webhook | Yes, per address |
| Custody | Non-custodial, you sign |
| Free trial | 14 days, no card |

## How do I get the latest Ethereum block?

Send one GET request with your API key; the same request works on sepolia when you replace mainnet with sepolia in the path.

```
curl https://rest.cryptoapis.io/blocks/evm/ethereum/mainnet/latest/details \
  -H "X-API-Key: YOUR_API_KEY"
```

## Which Ethereum endpoints are available?

The main calls. Every path takes the network: mainnet or sepolia.

| What it does | Method and path | Reference |
| --- | --- | --- |
| Latest block | `GET /blocks/evm/ethereum/mainnet/latest/details` | [Docs](https://developers.cryptoapis.io/v-2.2024-12-12-175/RESTapis/blocks-evm/get-last-mined-block-evm/get) |
| Block by height | `GET /blocks/evm/ethereum/mainnet/height/{blockHeight}/details` | [Docs](https://developers.cryptoapis.io/v-2.2024-12-12-175/RESTapis/blocks-evm/get-block-details-by-block-height-evm/get) |
| Address balance | `GET /addresses-latest/evm/ethereum/mainnet/{address}/balance` | [Docs](https://developers.cryptoapis.io/v-2.2024-12-12-175/RESTapis/address-latest-evm/get-address-balance-evm/get) |
| Transactions of an address | `GET /addresses-latest/evm/ethereum/mainnet/{address}/transactions` | [Docs](https://developers.cryptoapis.io/v-2.2024-12-12-175/RESTapis/address-latest-evm/list-confirmed-transactions-by-address-evm/get) |
| Token transfers of an address | `GET /addresses-latest/evm/ethereum/mainnet/{address}/tokens-transfers` | [Docs](https://developers.cryptoapis.io/v-2.2024-12-12-175/RESTapis/address-latest-evm/list-confirmed-tokens-transfers-by-address-evm/get) |
| Transaction by hash | `GET /transactions/evm/ethereum/mainnet/{transactionHash}` | [Docs](https://developers.cryptoapis.io/v-2.2024-12-12-175/RESTapis/transactions-data-evm/get-transaction-details-by-transaction-hash-evm/get) |
| Fee recommendations | `GET /blockchain-fees/evm/ethereum/mainnet/mempool` | [Docs](https://developers.cryptoapis.io/v-2.2024-12-12-175/RESTapis/blockchain-fees-evm/get-fee-recommendations-evm/get) |
| Derive addresses from an xPub | `GET /utils/ethereum/mainnet/xpubs/{extendedPublicKey}/derive-addresses` | [Docs](https://developers.cryptoapis.io/v-2.2024-12-12-175/RESTapis/features/derive-hd-wallet-xpub-ypub-zpub-change-or-receiving-addresses/get) |
| Prepare an unsigned transaction | `POST /prepare-transactions/evm/ethereum/mainnet/native-coins` | [Docs](https://developers.cryptoapis.io/v-2.2024-12-12-175/RESTapis/prepare-transactions-evms/prepare-transaction-from-address-evm/post) |
| Broadcast a signed transaction | `POST /broadcast-transactions/ethereum/mainnet` | [Docs](https://developers.cryptoapis.io/v-2.2024-12-12-175/RESTapis/broadcast-locally-sign-transactions/broadcast-locally-signed-transaction/post) |
| Webhook on a confirmed payment | `POST /blockchain-events/ethereum/mainnet/address-coins-transactions-confirmed` | [Docs](https://developers.cryptoapis.io/v-2.2024-12-12-175/RESTapis/create-subscriptions-for/new-confirmed-coins-transactions/post) |

## Ethereum API questions

**Is there a free Ethereum API?** You can try it free for 14 days. The Blockchain API free trial covers Ethereum and every feature, with no card. It ends after 14 days or when its credits run out; after that, calls need a subscription, listed on the pricing page.

**How do I get the balance of a Ethereum address?** Call the address balance endpoint with the address; it returns the confirmed ETH balance. Token balances live in the token contracts, so list the address's token transfers to see them.

**How do I broadcast a Ethereum transaction?** Sign the transaction on your own server, then send the signed raw transaction to the broadcast endpoint, authenticated with your API key, and Crypto APIs pushes it to the Ethereum network and returns the transaction ID. We can prepare the unsigned transaction for you first.

**Do you support Ethereum sepolia?** Yes. Every Ethereum endpoint works on mainnet and sepolia. Change mainnet to sepolia in the path; the same API key works on both.

**What makes Ethereum different to work with?** It is an account-model EVM chain — every address has a single balance and a nonce. Tokens live in their own contracts rather than in the account balance, so reading them means calling the token contract; and every transaction needs the account's next nonce, which the same API returns.

**How do I know when a Ethereum transaction is confirmed?** Create a webhook subscription for the address. Crypto APIs calls your URL when a transaction to or from it confirms on Ethereum.

## The power of Ethereum

Released in 2015 by Vitalik Buterin, Ethereum is the biggest blockchain marvel since Bitcoin. It has become the most used blockchain network in the world and was the launchpad for NFTs.

The Ethereum blockchain uses Ether as its currency, which takes second place only to Bitcoin. Ethereum introduced smart contacts expanding the concepts of Bitcoin and taking the platform beyond simple payment distributions.

| About Ethereum | |
| --- | --- |
| Released | 2015 |
| Consensus | Proof of stake (PoS) |
| Block time | 12 seconds |
| Smart contracts | Yes |

## Other EVM chains, same request shape

- [BNB Smart Chain API](/chains/binance-smart-chain)
- [Polygon API](/chains/polygon)
- [Base API](/chains/base)

## Pointers

- [Blockchain API](/products/blockchain-api)
- [All networks](/what-we-support)
- [Pricing](/pricing)
- [Developer portal](https://developers.cryptoapis.io/)
