With our GraphQL API (opens new window), you can programatically pull information about Font Awesome icons and releases.

Advertisement

Need a hand?

You can use a GraphiQL client (opens new window) to explore the schema and build queries.

Make a Request for Public Metadata

Most fields in the schema are public and require no authorization.

Here's a curl command to get the latest version of Font Awesome:

curl -H "Content-Type: application/json" \-d '{ "query": "query { release (version: \"latest\") { version } }" }' \https://api.fontawesome.com
{"data":{"release":{"version":"VERSION"}}}
Advertisement

Make an Authorized Request

Requests whose queries access fields that require authorization should include an access token in the Authorization header. (Use the Token Endpoint to resolve your API token into an access token.)

Suppose you have an active access token 123.abc.467def, and that you have two kits in your account: one named "Alpha" and the other named "Beta". This query will return the list of kit names:

curl -H "Content-Type: application/json" \-H "Authorization: Bearer 123.abc.467def" \-d '{ "query": "{ me { kits { name } } }" }' \https://api.fontawesome.com
{"data":{"me":{"kits":[{"name":"Alpha"},{"name":"Beta"}]}}}

You're viewing the Version 6 Beta

It's all the awesome of 5, but now more six-y! Version 6 brings over 13,000 icons across 5 styles – including the new Thin style! – and includes more and faster services.

Get the Deets on Version 6

Head Back to Our Current Version 5 Release

Need a Hand?

If you’re stuck or have a question, check our Troubleshooting docs, all of the Font Awesome threads on Stack Overflow, or contact our community on GitHub.

Or get Real Human Support™ with a Pro Subscription!