diff --git a/glad/util.py b/glad/util.py
index <HASH>..<HASH> 100644
--- a/glad/util.py
+++ b/glad/util.py
@@ -10,5 +10,5 @@ _API_NAMES = {
 
 def api_name(api):
     api = api.lower()
-    return _API_NAMES[api]
+    return _API_NAMES.get(api, api.upper())
glad: don't fail on an unknown api.