> For clean Markdown of any page, append .md to the page URL. > For a complete documentation index, see https://docs.galleon8.com/api-reference/advanced-api/quickstart/llms.txt. > For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://docs.galleon8.com/_mcp/server. # Advanced API Quickstart > Make a first request to the W3API Advanced API. This quickstart shows how to make a first Advanced API request over HTTPS using JSON-RPC 2.0. ## Prerequisites Before you start, make sure you have: * A W3API project with Advanced API access. * A project API key copied from the Web3 API platform. * A terminal with `curl`, or a JavaScript runtime that supports `fetch`. Keep your API key private. Do not commit it to source control or expose it in frontend code. --- ## Set Your Endpoint Advanced API requests use the multichain endpoint: ```text https://rpc.ankr.com/multichain/ ``` Replace `` with your project API key. In the examples below, store the full URL as `YOUR_ADVANCED_API_ENDPOINT`. 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. --- ## Make a Request with curl Use `ankr_getTokenPrice` to request the current price for the ANKR token on Ethereum: ```bash curl -X POST YOUR_ADVANCED_API_ENDPOINT \ -H "Content-Type: application/json" \ -d '{ "jsonrpc": "2.0", "method": "ankr_getTokenPrice", "params": { "blockchain": "eth", "contractAddress": "0x990f341946a3fdb507ae7e52d17851b87168017c" }, "id": 1 }' ``` A successful response returns a JSON-RPC `result` object with token price data: ```json { "jsonrpc": "2.0", "id": 1, "result": { "usdPrice": "0.0123", "blockchain": "eth", "contractAddress": "0x990f341946a3fdb507ae7e52d17851b87168017c" } } ``` The exact price changes over time. --- ## Next Steps After the first request works, open **Methods** for the generated Advanced API reference. It includes the available Query API, Token API, and NFT API methods with request parameters, response schemas, and examples from the OpenRPC spec. > Make a first request to the W3API Advanced API.