/pharma/drugs?id={id}

  • Description

    Search by id and retrieve information about a drug.

  • URL (PATH)

    /pharma/drugs?id={id}&token={token}

  • Method

    GET

  • Authentication

    Optional (token)

  • Request parameters & Path variables
    Parameter Description
    id
    [alphanumeric]
    required
    A CHEMBL identifier corresponding to a drug
    token
    [alphanumeric]
    optional
    Optional access key to save the current query in your profile
  • Example request
    https://disnet.ctb.upm.es/api/disnet/pharma/drugs?id=CHEMBL940&token=eJtdWrIisOiJt...
    HTTP
  • Success response (application/json)
    {
      "token": null,
      "authorized": false,
      "authorizationMessage": null,
      "responseCode": "200",
      "responseMessage": "OK",
      "errorsFound": [],
      "data": {
        "drugId": "CHEMBL940",
        "drugName": "GABAPENTIN",
        "molecularType": "Small molecule",
        "chemicalStructure": "NCC1(CC(=O)O)CCCCC1",
        "inchiKey": "UGJMXCAKCUNAIE-UHFFFAOYSA-N"
      }
    }
    JSON
Go to the DISNET home
DISNET API
Visualize DISNET's data
DISNET team
DISNET dataset
Our publications
DISNET API
Visualize DISNET's data
DISNET team
DISNET dataset
Our publications
DISNET API
DISNET team
DISNET dataset
Our publications
Ministerio de Ciencia, Innovación y Universidades
Follow us on Twitter!
Visit our lab's website
Web Page temporarily disabled
Web Page temporarily disabled