Covalent
Covalent is a structured data infrastructure provider with access to historical and current onchain data for 200+ supported blockchains, including Linea mainnet and Sepolia testnet.
Covalent maintains a full replica of every supported blockchain, meaning you have access to:
- Every wallet's token balances
- Full transaction histories
- Every contract log event
- All NFTs including assets and metadata
Use Covalent if you need:
- Wallet, Transactions, NFT, DEX, Staking or core blockchain data (log events, blocks)
- Normalized, aggregated and enhanced multichain data, well beyond what you get from RPC providers
- Enterprise-grade performance
APIs​
The Covalent APIs enable developers to quickly and easily access structured onchain data. This means consistent response schemas regardless of the blockchain. Available APIs and corresponding use cases include:
Wallet API​
- Features: All token balances (ERC20, 721, 1155, native), token transfers and prices (spot and historical) for a wallet.
- Use cases: Wallets, portfolio trackers, token gating, airdrop snapshots.
NFT API​
- Features: Media assets, metadata, sales, owners, trait & attribute filters, thumbnails, and previews.
- Use cases: NFT galleries and marketplaces, real world asset (RWA) tracking, token gating.
DEX API​
- Features: Positions, rewards, pool and token details for major DEX protocols.
- Use cases: Analytics dashboards, leaderboards, reward calculators.
Cross-Chain Activity API​
- Features: Single API call to fetch a list of active chains and the latest transaction date on each for an address.
- Use cases: App onboarding.
Transactions API​
- Features: All historical transactions with human-readable log events. Includes gas usage/spend summaries.
- Use cases: Accounting and tax tools, branded in-app transaction receipts.
Security API​
- Features: NFT and ERC20 token allowances, including value-at-risk.
- Use cases: Revoke features in wallets, security applications.
Blockchain API​
- Features: Block details, log events by contract address or topic hash, gas prices.
- Use cases: Custom block explorers.
Developer tools​
There are 3 primary developer tools for using the APIs:
-
Unified API - enterprise-grade endpoints to use with any programming language. Switch blockchains with one path parameter.
curl -X GET https://api.covalenthq.com/v1/linea-mainnet/address/0xc882b111a75c0c657fc507c04fbfcd2cc984f071/balances_v2/ \
-H 'Content-Type: application/json' \
-u YOUR_API_KEY: -
Client SDKs - official client libraries including TypeScript, Go and Python.
npm install @covalenthq/client-sdk
import { CovalentClient } from "@covalenthq/client-sdk";
(async () => {
try {
const client = new CovalentClient("YOUR_API_KEY");
const transactions = client.TransactionService.getAllTransactionsForAddress("linea-mainnet", "0xc882b111a75c0c657fc507c04fbfcd2cc984f071");
for await (const tx of transactions) {
console.log("tx", tx);
}
} catch (error) {
console.log(error.message);
}
})(); -
GoldRush Kit - beautifully designed React components for your dApp frontend
Get started​
- API Key - sign up for free
- Docs - comprehensive knowledge base for all things Covalent
- Guides - learn how to build for various use cases and expand your onchain knowledge
Increment​
Increment is a novel no-code charting and reporting tool powered by Covalent. Simply type SQL, get charts.
Use cases​
Increment can be used for:
Get started​
- Increment - login via the Covalent Platform
- Docs - learn how to use Increment to build dynamic, custom charts
- Data models demo - build analytics in three clicks