## API Documentation for Web3

> For the complete documentation index, see [llms.txt](/docs/llms.txt)


Interact with RPC, REST, and gRPC endpoints across 80+ blockchains using ready-to-run examples in JavaScript, Python, Go, and more. Use Quicknode products like Streams, Webhooks, and IPFS to build and run blockchain applications from one platform.

## Send Your First Request

Make a JSON-RPC call to get the latest block number on Ethereum:

```bash
curl https://docs-demo.quiknode.pro/ \
  -X POST \
  -H "Content-Type: application/json" \
  --data '{"method":"eth_blockNumber","params":[],"id":1,"jsonrpc":"2.0"}'
```

```javascript
const response = await fetch('https://docs-demo.quiknode.pro/', {
  method: 'POST',
  headers: { 'Content-Type': 'application/json' },
  body: JSON.stringify({
    method: 'eth_blockNumber',
    params: [],
    id: 1,
    jsonrpc: '2.0',
  }),
});
const data = await response.json();
console.log(data.result);
```

```python
import requests

url = "https://docs-demo.quiknode.pro/"
payload = {"method": "eth_blockNumber", "params": [], "id": 1, "jsonrpc": "2.0"}
response = requests.post(url, json=payload)
print(response.json()["result"])
```

## Products

- **[Streams](/docs/streams)**: Custom real-time blockchain data pipelines with filtering and transformation logic.
- **[Webhooks](/docs/webhooks)**: Real-time blockchain data feed and alerting for on-chain events.
- **[SQL Explorer](/docs/sql-explorer)**: Direct SQL access to indexed blockchain datasets like trades, orders, positions, and liquidations, without managing infrastructure.
- **[Key-Value Store](/docs/key-value-store)**: Large-scale dataset storage accessible through a REST API on your Quicknode endpoint.
- **[IPFS](/docs/ipfs)**: Upload and retrieve data on IPFS through the Quicknode gateway.
- **[Add-ons](/docs/add-ons)**: Endpoint add-ons that extend Quicknode with extra capabilities.
- **[Custom RPC Options](/docs/custom-rpc-options)**: Dedicated infrastructure for enterprise workloads.
- **[Earn](/docs/earn)**: Non-custodial USDC yield optimizer that automatically rebalances capital across Morpho vaults.

## Guides

Long-form tutorials and walkthroughs (440+ guides) are indexed at [guides/llms.txt](https://www.quicknode.com/guides/llms.txt).

## Developer Tooling

- **[SDK](/docs/sdk)**: Official SDK for calling Quicknode product APIs from Rust, Python, Node.js, and Ruby.
- **[CLI](/docs/cli)**: The `qn` command-line tool for managing endpoints, Streams, Webhooks, Key-Value Store data, usage, billing, and teams from a terminal, script, or CI job.
- **[Admin API](/docs/admin-api)**: REST API for managing Quicknode account resources, endpoints, teams, billing, usage, logs, metrics, endpoint security, rate limits, and tags.
