Drug Interaction RESTful API


The Drug Interaction RESTful web API is a web service developed at the National Library of Medicine for accessing drug-drug interactions data. Representational state transfer (REST) is a style of software architecture for distributed hypermedia systems such as the World Wide Web. REST-style architectures consist of clients and servers. Clients initiate requests to servers; servers process requests and return appropriate responses. Requests and responses are built around the transfer of "representations" of "resources". A resource can be essentially any coherent and meaningful concept that may be addressed. A representation of a resource is typically a document that captures the current or intended state of a resource.

The Drug Interaction RESTful web API is a simple web service implemented using HTTP and can be thought of as a collection of resources, specified as URIs. Some characteristics of the Drug Interaction RESTful web API:
The following table lists the Interaction API resources. The query string fields are described in the detailed sections for each resource. The functional name is used in RxMix.


REST Resource Functional Name Description
/interaction findDrugInteractions Find the interactions of a drug (specified by RxCUI).
/list findInteractionsFromList Find the interactions between a list of drugs.
/sources getInteractionSources Get the sources of the interactions
/version getVersion Get the version of the data sets