To get developer API (application programming interface) access to several of the Google services, you need to have an API key. This is so Google can tell who is accessing the service, and ensure that each person stays below the courtesy daily limit for the number of requests.
Here we look at how to allow access for, and get a key for, the Google Web Fonts API.
- Head to the Google APIs Console. If you’re not already logged in to Google, you’ll need to do that when requested.
- On the left menu, select the Services item. If the Terms of Service appear, read and accept them.
- You should be presented with a list of services provided by Google. Scroll to the bottom and click the button next to the Web Fonts item, so it turns from off to on.
- On the left menu, select the API Access item. The API key is near the bottom of that pane, in the section titled “Simple API Access.”
You can now enter your personal API key in whichever tool or URL needed it. For example, enter it at the end of https://www.googleapis.com/webfonts/v1/webfonts?key= and you’ll see a full list of web fonts provided by Google.