You are here REST API - SDKs is an online tool for preserving the webpages put up by the Library of Congress for documents related to the U.S. Congress. generates both full-size and short permanent URLs for documents, as links provided by the Library of Congress often expire and do not redirect. The API allows developers to access' functionality to generate urls within other applications. The API offers just one method: to generate urls.