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

  • Description

    Retrieve all targets to a specific drug.

  • URL (PATH)

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

  • Method

    GET

  • Authentication

    Optional (token)

  • Request parameters & Path variables
    Parameter Description
    drug-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/CHEMBL1010/targets?token=eJtdWrIisOiJt...
                                    
  • Success response (application/json)
                                        {
        "token": null,
        "authorized": false,
        "authorizationMessage": null,
        "responseCode": "200",
        "responseMessage": "OK",
        "errorsFound": [],
        "data": [
            {
                "targetId": "CHEMBL2354204",
                "targetName": "Bacterial penicillin-binding protein"
            }
        ]
    }