Key lookup for API