OCLC's Search API will do this (http://www.oclc.org/developer/develop/web-services/worldcat-search-api/bibliographic-resource.en.html); not sure about the Discovery API which will eventually replace it.
From: Code for Libraries [mailto:[log in to unmask]] On Behalf Of Eric Lease Morgan
Sent: Thursday, January 21, 2016 8:58 AM
To: [log in to unmask]
Subject: [CODE4LIB] oclc member code
Given an OCLC member code, such as BXM for Boston College, is it possible to use some sort of OCLC API to search WorldCat (or some other database) and return information about Boston College? —Eric Lease Morgan