Swepub is a service that harvests scientific 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 the protocols OAI-PMH and SRU. We have also developed a lightweight API, called Xsearch, that accesses the data through HTTP in a simple and straightforward manner. The metadata is available as data dumps as well. Open APIs for the services for bibliometrics, data processing and subject classification are documented. Through APIs you can also view full records in Swepub MODS as XML and Swepub BIBFRAME as JSON.
List of data providers (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
Supported metadata formats:
- Dublin Core (metadataPrefix=mods)
- MODS (metadataPrefix=mods)
- Swepub MODS format specification v. 3.0 (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 and others perform a total reload every night. As a consequence the datestamps will vary.
SRU is an XML-based protocol for searching:
About SRU: Library of congress standards
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: http://librishelp.libris.kb.se/help/xsearch_eng.jsp
Base URL: http://libris.kb.se/xsearch?database=swepub
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: Total data dumps every week. Yearly data dumps every month.
APIs for the services of bibliometrics, data processing, data status and subject classification
APIs used 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.
Swepub's open APIs: https://bibliometri.swepub.kb.se/api/v1/apidocs/
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.