/pharma/drugs/{drugId}/interactions

  • Description

    Find drugs that interact with the query drug

  • URL (PATH)

    /pharma/drugs/{drugId}/interactions?token=:token

  • Method

    GET

  • Auth required

    Optional (token)

  • Request parameters
    Parameter Description
    token
    [alphanumeric]
    example: token=eyJhbGciOiJI...
    Optional access key to save the current query inside the user's profile
    drugId *required
    [alphanumeric]
    CHEMBL42
    A drug identifier
  • Example request
                                         http://disnet.ctb.upm.es/api/disnet/pharma/drugs/CHEMBL42/interactions?token=eJtdWrIisOiJt...
                                    
  • Success response (application/json)
                                        {
      "token": null,
      "authorized": false,
      "authorizationMessage": null,
      "responseCode": "200",
      "responseMessage": "OK",
      "errorsFound": [],
      "data": [
        "CHEMBL58323",
        "CHEMBL462605",
    ...
        "CHEMBL448",
        "CHEMBL529888"
      ]
    }