Alchemy Quickstart Guide

Learn how to use Node APIs, Data APIs, Subgraphs, Webhooks, Smart Wallets and Rollups to create powerful Web3 apps and experiences.

Alchemy is your complete web3 development platform. Whether you’re accessing blockchain data, building smooth, web2-like dApp experiences or launching your own rollup, we have everything you need.

This guide is designed to help you get started across our major product areas. Feel free to jump to the section that interests you most:

  1. Node APIs
  2. Data: APIs, Subgraphs & Webhooks
  3. Smart Wallets
  4. Rollups

Node APIs

Node APIs are the standard JSON-RPC endpoints exposed by blockchain clients. We support 45+ chains today, with new ones added every month.

Getting Started:

  1. Grab your API key from the Alchemy Dashboard.
  2. Make your first request to any supported JSON-RPC endpoint. For example:
$curl -X POST https://eth-mainnet.g.alchemy.com/v2/apiKey \
> -H "Content-Type: application/json" \
> -d '{
> "jsonrpc": "2.0",
> "method": "eth_blockNumber",
> "params": [],
> "id": 1
>}'

Sample Response:

1{
2 "jsonrpc": "2.0",
3 "id": "1",
4 "result": "0x2377"
5}

This works with any HTTP library — axios, fetch, and more.

👉 Explore supported chains and methods in our Node API Reference.


Data: APIs, Subgraphs & Webhooks

Data APIs

These are high-level APIs built by us to simplify blockchain development. Unlike standard Node APIs, these are powerful abstractions that return rich data in fewer requests.

We provide Data APIs for:

  • NFTs
  • Tokens
  • Transactions
  • Prices
  • Transfers
  • And more — across multiple networks.

Example: Get NFTs for an address

$curl -G https://eth-mainnet.g.alchemy.com/nft/v3/${apiKey}/getNFTsForOwner \
> -d owner=0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045

This endpoint returns all NFTs owned by a wallet — perfect for NFT galleries, dashboards, and marketplaces.


Subgraphs

Need custom, complex queries? Subgraphs let you define your own GraphQL APIs over blockchain data.

Check out our Subgraphs Quickstart to learn how to build and deploy them on Alchemy Subgraphs.


Webhooks

When polling isn’t enough, Webhooks let you receive real-time on-chain event notifications. Use them to stream:

  • Wallet activity at scale
  • Smart contract events
  • Full block data (incl. traces)

Webhooks are customizable using GraphQL-style filters so you only get the data you care about.

📘 Dive into the Webhooks Quickstart to get started.

👉 Explore all of our Data capabilities here.


Smart Wallets

Ship smart wallets in minutes with the Account Kit SDK:

  • Onboard everyone with email/social login
  • Let users transact gas-free with sponsored transactions
  • Support invisible signing for users
  • Enable automations, permissions and more with powerful wallet policies

Ship for web and mobile with React, React Native, or other JS frameworks.

🎬 Try the Demo App to see what’s possible.

Sample code: Send a gas-free transaction with a smart wallet

1// yarn add @account-kit/infra @account-kit/smart-contracts
2import {
3 alchemy,
4 createAlchemySmartAccountClient,
5 sepolia,
6} from "@account-kit/infra";
7import { createLightAccount } from "@account-kit/smart-contracts";
8import { LocalAccountSigner } from "@aa-sdk/core";
9import { generatePrivateKey } from "viem/accounts";
10
11const alchemyTransport = alchemy({
12 apiKey: "YOUR_API_KEY", // from Alchemy dashboard
13});
14
15export const client = createAlchemySmartAccountClient({
16 transport: alchemyTransport,
17 policyId: "YOUR_POLICY_ID", // create a gas policy in the dashboard
18 chain: sepolia,
19 account: await createLightAccount({
20 chain: sepolia,
21 transport: alchemyTransport,
22 signer: LocalAccountSigner.privateKeyToAccountSigner(generatePrivateKey()),
23 }),
24});

📚 Learn more in our Account Kit Docs.


Rollups

Want to launch your own chain? Alchemy Rollups let you deploy a production-grade rollup in minutes — no code required.

You’ll get a dedicated chain with full control over cost, speed, and functionality, plus built-in RPCs, block explorer and developer tools.

We support major frameworks including OP Stack, Arbitrum Orbit, and zkSync ZK Stack.

👉 Learn how to deploy a rollup