/pharma/targets/{target-id}/drugs

  • Description

    Retrieve all drugs associated to a target.

  • URL (PATH)

    /pharma/targets/{target-id}/drugs?token={token}

  • Method

    GET

  • Authentication

    Optional (token)

  • Request parameters & Path variables
    Parameter Description
    target-id
    [alphanumeric]
    required
    Target id
    token
    [alphanumeric]
    optional
    Optional access key to save the current query in your profile
  • Example request
                                         https://disnet.ctb.upm.es/api/disnet/pharma/targets/CHEMBL1075149/drugs?token=eJtdWrIisOiJt...
                                    
  • Success response (application/json)
                                        {
      "token": null,
      "authorized": false,
      "authorizationMessage": null,
      "responseCode": "200",
      "responseMessage": "OK",
      "errorsFound": [],
      "data": [
        {
          "drugId": "CHEMBL421",
          "drugName": "SULFASALAZINE"
        },
        {
          "drugId": "CHEMBL508338",
          "drugName": "THIMEROSAL"
        },
        {
          "drugId": "CHEMBL600",
          "drugName": "ACETYLCYSTEINE"
        },
        {
          "drugId": "CHEMBL744",
          "drugName": "RILUZOLE"
        }
      ]
    }