Skip to main content

API key


All requests to Infura must have a valid API key appended to the request URL or they will fail.

The API key was previously called the project ID. Find the API key in the Endpoints tab of your API settings.

Add the API key to requests

curl<YOUR-API-KEY> \
-H "Content-Type: application/json" \
-d '{"jsonrpc":"2.0","method":"eth_accounts","params":[],"id":1}'