Overview
Watchdata provides a simple JSON-RPC and REST gateway to the Ethereum blockchain, giving you account balances, transaction history, and token data without syncing a node. It suits developers who want Ethereum data access with minimal setup.
Beginner Tip
Pass your API key as a query parameter (?api_key=YOUR_KEY) rather than a header — Watchdata's docs show both but the query param approach is simpler for quick testing with curl or a browser.
Available Data
Example Response
{
"id": "bitcoin",
"symbol": "btc",
"current_price": 65432.1,
"market_cap": 1280000000000,
"price_change_24h": 1250.5,
"price_change_percentage_24h": 1.95,
"total_volume": 28500000000
} Field Reference
jsonrpc JSON-RPC protocol version, always 2.0 id Echoes the request ID you sent, useful for matching async responses result Hexadecimal value returned by the method; for eth_getBalance this is the balance in wei error Present only on failure; contains code (integer) and message (string) describing what went wrong error.code Standard JSON-RPC error code, e.g. -32602 for invalid params Implementation Example
const url = "https://docs.watchdata.io/";
// Replace headers or query params with the values required by this API.
const response = await fetch(url, {
headers: {
"X-API-Key": "YOUR_API_KEY"
}
});
if (!response.ok) throw new Error(`Request failed: ${response.status}`);
const data = await response.json();
console.log(data); What Can You Build?
Note: These code examples are AI-generated and unverified. Always refer to the official API documentation for accurate usage.
Common Errors & Troubleshooting
Matrix Score Breakdown
Partially tested on Apr 5, 2026
Technical Specifications
Related Tags
Similar APIs
View All →Bitquery
Bitquery provides GraphQL APIs for querying on-chain data across 40+ blockchains including Ethereum, Solana, and BSC.
Covalent
Covalent provides programmatic access to multi-blockchain data aggregator platform via REST API.
Etherscan
⭐ Beginner's PickEtherscan's API gives programmatic access to Ethereum blockchain data — account balances, transaction histories, token transfers, smart contract ABIs, and gas prices.
Nownodes
NOWNodes provides hosted blockchain node access for 50+ cryptocurrencies via a simple API key — no need to run your own full node for Bitcoin, Ethereum, or other chains.
The Graph
The Graph is a decentralized indexing protocol that lets you query Ethereum and other blockchain networks using GraphQL.