Create an API key
API key restrictions
Based on your plan, Infura allows for the following amount of API keys:
- Free plan - Allows one API key.
- Developer plan - Allows up to five API keys.
- Team plans and higher - No limit on the number of API keys.
For more information, see to the Infura pricing page.
Infura allows you to enable multiple network endpoints and expansion APIs for your API key. If calls are made to a disabled network or service, then all requests to that network or service will fail.
To keep your account secure and cost effective, add only the necessary endpoints, as some have usage limits or charges based on request volume.
To create an API key:
- Open the Infura dashboard. Enter your login details, if required.
- Select CREATE NEW API KEY.
- From the pop-up window, provide a name, then click CREATE.
- Select the networks that you want your API key to access, and select Save Changes.
You can configure additional security for your API key by requiring an API key secret or JWTs with each API request.
Best practices for configuring API key endpoints
We recommend the following best practices when creating your API keys:
- Group API key endpoints by environment. For example, create seperate API keys for production or development environments.
- Group API key endpoints by groups or individuals sharing the API key.
- Limit the number of networks or services per API key only to the necessary endpoints.
- Group the API key endpoints based on shared security considerations such as allowlists or key request volume limits.