Swepub is a service that harvests scholarly publication metadata from the institutional repositories of Swedish higher education institutions (HEIs) and research organisations.
The Swepub metadata is accessible for end users and is available for free to harvest or to access through data dumps or the protocols OAI-PMH and SRU. The metadata is accessible through open APIs as JSON format as well. We have also developed a lightweight API, called Xsearch, that accesses the data through HTTP in a simple and straightforward manner. Through APIs you can also view full records in Swepub MODS as XML and Swepub BIBFRAME as JSON.
List of data providers Länk till annan webbplats. (Swedish HEIs and research organisations).
The data is exactly as we receive it from the data providers without any data manipulation.
About OAI-PMH: Open Archives Initiative Länk till annan webbplats.
Supported metadata formats:
- Dublin Core Länk till annan webbplats, öppnas i nytt fönster. (metadataPrefix=oai_dc)
- MARC Länk till annan webbplats. (metadataPrefix=marc)
- MODS Länk till annan webbplats. (metadataPrefix=mods)
- Swepub MODS format specification v. 3.0 Länk till annan webbplats, öppnas i nytt fönster. (metadataPrefix=swepub_mods)
Base URL: http://api.libris.kb.se/swepub/oaipmh/SWEPUB
Update frequency: Every night. Some of the data providers support selective harvesting of new and updated data and others perform a total reload periodically. As a consequence the datestamps will vary.
SRU is an XML-based protocol for searching:
Base URL: http://api.libris.kb.se/sru/swepub
Xsearch lightweight API
Xsearch is a HTTP-based lightweight API for accessing data in many different formats. Currently we provide support for the MARC-XML, Dublin Core, JSON, RIS, MODS and RDF formats.
About Xsearch: Libris help Länk till annan webbplats.
Base URL: http://libris.kb.se/xsearch?database=swepub
In order to facilitate the reuse of Swepub we provide database dumps. Data dumps are available from both Swepub search service Länk till annan webbplats. and Swepub bibliometrics service Länk till annan webbplats. (in Swedish only) via FTP.
Data dumps from Swepub search service
All data is available in original format that contains duplicates. The data dumps contain data in XML format from the latest nightly update. The dumps are formatted as OAI-PMH "ListRecords" responses with Swepub-modified MODS as the metadata format (see section OAI-PMH).
Dumps of original data: ftp://ftp.libris.kb.se/pub/swepub/
Update frequency: Every night.
Data dumps from Swepub bibliometrics service
The following FTP-address leads you to an index page containing the data dump files from the Swepub bibliometrics service in format JSON Lines with Swepub-modified BIBFRAME as the metadata format. The dumps are available both in duplicate and deduplicated variants. The dumps contain data from the suppliers with certain enrichments to be able to make bibliometrical analyses and follow-ups.
Total data dumps are based on a complete export of all records from all years together with all available fields. Yearly data dumps are based on a complete export of all records from a specific year together with all available fields. Some of the dumps have been saved for the purpose of retrieval of historical data.
Dumps of enriched duplicated and deduplicated data: ftp://ftp.libris.kb.se/pub/spa/
Update frequency: Every month.
APIs for the services of bibliometrics, data processing, data status and subject classification
APIs to retrieve data from Swepub's database for the services of bibliometrics, data processing, data status and subject classification are documented and freely available to users. An information API is also documented for retrieving source codes, output types and research subjects used in Swepub.
Note that the APIs do not have a separate version but have the same version as the entire Swepub system. This means that with each new version of Swepub, the individual APIs may also have changed. The APIs are backwards compatible as long as the version number of the Swepub system has the same whole number (major). This means that any changes in the minor versions are additions.
APIs for full Swepub records
Duplicate records according to Swepub MODS in XML format contain the original record from the organization as it was delivered to Swepub and converted to Swepub MODS.
Full records according to Swepub BIBFRAME in the JSON format are available as both duplicated and deduplicated variants. Deduplicated record contains the record that forms the basis of the merged record, enriched with information from the other duplicate records. Both contain Swepub's enrichments and normalizations.
MODS record in Swepub: https://bibliometri.swepub.kb.se/api/v1/process/publications/[recordID]/original
Duplicated BIBFRAME record in Swepub: https://bibliometri.swepub.kb.se/api/v1/process/publications/[recordID]
Deduplicated BIBFRAME record in Swepub: https://bibliometri.swepub.kb.se/api/v1/bibliometrics/publications/[recordID]
Replace [recordID] with the record identifier from OAI-PMH.
The Firefox browser displays JSON records as an easily structured overview.