Advanced API Overview
The Advanced API reference documents W3API JSON-RPC methods for indexed blockchain data retrieval across supported chains. Use it when your application needs normalized token, NFT, block, log, transaction, or chain statistics data without building and maintaining its own indexer.
The generated method reference is built from the OpenRPC specification at fern/openrpc/advanced-api/openrpc.json. The spec is the source of truth for method names, parameters, response schemas, examples, and grouping.
Endpoint
Advanced API requests use JSON-RPC 2.0 over HTTPS:
Replace <apiKey> with your project API key. Request bodies include the JSON-RPC version, method name, params object, and request ID:
The interactive Try it playground uses a docs proxy to make sample requests without exposing a project API key. Production applications should call the multichain endpoint above with their own project API key.
Successful JSON-RPC responses include a result object. Failed JSON-RPC responses include an error object with error details. Advanced API can return HTTP 200 with a JSON-RPC error, so clients should inspect the response body before treating a request as successful.
Errors
Advanced API follows JSON-RPC 2.0 response semantics and can also return implementation-specific server errors.
The interactive Try it proxy can also return HTTP errors before a request reaches Advanced API.
Method Groups
The generated reference includes 12 methods grouped by use case:
- Query API: blocks, logs, address interactions, and transaction lookups.
- Token API: balances, currencies, token prices, token holders, and token holder counts.
- NFT API: NFT ownership, NFT metadata, and NFT holder queries.
Use Quickstart to make a first request, then open Methods for the generated method list, request parameters, response schemas, and examples.