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.


REST Resource Description
/interaction Find the interactions of a drug (specified by RxCUI).
/list Find the interactions between a list of drugs.
/sources newGet the sources of the interactions
/version Get the version of the data sets