Details of the Object table and JSON output of drugs API of Drugbank
In this article, I will clarify the object table and JSON output of Drugbank drugs API. As a programmer, you may be familiar with these concepts, but understanding how they relate specifically to the Drugbank drugs API can be crucial in utilizing the data effectively. The object table provides a structured representation of the information available in the API, while the JSON output format enables efficient data transmission and manipulation. By gaining a deeper understanding of these concepts in the context of the Drugbank drugs API, you can make the most of the data available and streamline your programming efforts.
Object Table
Objects | Description |
drugbank_id | Other identifiers that may be associated with the drug. |
alternate_drugbank_ids | Alternate identifiers used for this drug in DrugBank. |
name | |
description | Descriptions of drug chemical properties, history and regulatory status. |
updated_at | Denotes when this drug was last updated in DrugBank. |
created_at | Date that this drug was first added to DrugBank. |
biotech_categories | |
cas_number | The Chemical Abstracts Service (CAS) registry number assigned to the drug. |
unii | Unique Ingredient Identifier (UNII) of this drug. |
groups | Other groups that this drug belongs to. May include any of: approved, vet_approved, nutraceutical, illicit, withdrawn, investigational, and experimental. |
drug_type | Either small_molecule, or biotech. Biotech is used for any drug that is derived from living systems or organisms, usually composed of high molecular weight mixtures of protein, while small_molecule describes a low molecular weight organic compound. |
synthesis_references | Citation for synthesis of the drug molecule. |
synonyms | Other names or identifiers that are associated with this drug. |
organisms | Organisms in which the drug may display activity; activity may depend on local susceptibility patterns and resistance. |
ahfs_codes | The American Hospital Formulary Service (AHFS) identifier for this drug. |
food_interactions | Food that may interact with this drug. |
drugbank_id
: This object is used to provide other identifiers that may be associated with the drug. It can help link the drug to other databases or systems.alternate_drugbank_ids
: This object provides alternate identifiers used for the drug in DrugBank. This can be helpful if a drug has multiple names or identifiers in different contexts.name
: This object provides the name of the drug.description
: This object provides descriptions of drug chemical properties, history, and regulatory status. This can be useful for understanding the characteristics and uses of the drug.updated_at
: This object provides the date and time when the drug was last updated in DrugBank. This information can be helpful for tracking changes to the drug over time.created_at
: This object provides the date and time when the drug was first added to DrugBank. This information can be helpful for tracking the history of the drug.biotech_categories
: This object provides information about the biotech categories of the drug. Biotech drugs are derived from living systems or organisms, usually composed of high molecular weight mixtures of protein.cas_number
: This object provides the Chemical Abstracts Service (CAS) registry number assigned to the drug. This can be used to uniquely identify the drug in chemical databases.unii
: This object provides the Unique Ingredient Identifier (UNII) of the drug. This can be used to uniquely identify the drug in regulatory databases.groups
: This object provides information about other groups that the drug belongs to. This may include approved, vet_approved, nutraceutical, illicit, withdrawn, investigational, and experimental groups.drug_type
: This object provides information about the type of drug. It can be either small_molecule or biotech. Small_molecule describes a low molecular weight organic compound, while biotech is used for any drug that is derived from living systems or organisms.synthesis_references
: This object provides citation information for the synthesis of the drug molecule. This can be helpful for understanding the chemical process used to create the drug.synonyms
: This object provides other names or identifiers that are associated with the drug. This can be helpful for linking the drug to other databases or systems.organisms
: This object provides information about organisms in which the drug may display activity. The drug's activity may depend on local susceptibility patterns and resistance.ahfs_codes
: This object provides the American Hospital Formulary Service (AHFS) identifier for the drug. This can be used to identify the drug in hospital formularies.food_interactions
: This object provides information about food that may interact with the drug. This can be helpful for understanding the drug's effects and potential side effects.
The information in the table is useful for a number of reasons. As a programmer, having a clear understanding of the objects and their descriptions can help in efficiently accessing and utilizing the data available through the DrugBank drugs API. The object table provides a structured representation of the information available, while the JSON output format enables efficient data transmission and manipulation. The objects and their descriptions can help programmers gain a deeper understanding of the drug data available in DrugBank, including identifiers, chemical properties, regulatory status, and potential interactions with food and organisms. This information can be crucial for developing applications and systems that require accurate and up-to-date drug information, such as drug discovery, clinical research, and patient care.
JSON output explained
This is a JSON output representing drug information for Mesalazine, a small molecule drug used as an anti-inflammatory agent in inflammatory bowel disease. The output provides several pieces of information related to the drug, including its Drugbank ID and alternate IDs, name, description, update and creation dates, chemical properties such as its CAS number and UNII, drug groups to which it belongs, drug type, synthesis references, associated organisms, AHFS codes, and food interactions. The output also provides a list of synonyms for the drug, which may be helpful for linking it to other databases or systems. Overall, this JSON output provides a comprehensive set of information about Mesalazine that can be used in various drug-related applications and systems.
{
"drugbank_id": "DB00244",
"alternate_drugbank_ids": [
"APRD01098"
],
"name": "Mesalazine",
"description": "An anti-inflammatory agent, structurally related to the salicylates, which is active in inflammatory bowel disease. It is considered to be the active moiety of sulphasalazine. (From Martindale, The Extra Pharmacopoeia, 30th ed)",
"updated_at": "2018-09-25",
"created_at": "2005-06-13",
"biotech_categories": null,
"cas_number": "89-57-6",
"unii": "4Q81I59GXC",
"groups": [
"approved"
],
"drug_type": "small_molecule",
"synthesis_references": "Thomas M. Parkinson, Joseph P. Brown, Robert E. Wingard, Jr., \"Pharmaceutical preparations containing a polymeric agent for releasing 5-aminosalicylic acid or its salts into the gastrointestinal tract.\" U.S. Patent US4298595, issued January, 1975.",
"synonyms": [
"3-carboxy-4-hydroxyaniline",
"5-ASA",
"5-aminosalicylic acid",
"Asacol",
"Asacolitin",
"Canasa",
"Claversal",
"Fisalamine",
"Iialda",
"Lixacol",
"Mesalamine",
"Mesalazina",
"Mesalazine",
"Mesalazinum",
"Mesasal",
"P-Aminosalicylsaeure",
"Pentasa",
"Rowasa",
"Salofalk",
"m-Aminosalicylic acid"
],
"organisms": [
"Humans and other mammals"
],
"ahfs_codes": [
"56:36.00"
],
"food_interactions": [
"Take without regard to meals."
]
}
Ending words
In today's article, we discussed the object table and JSON output of Drugbank drugs API, and provided a detailed description of each object in the table. We also analyzed a sample JSON output for the drug Mesalazine to demonstrate how the objects are used to convey drug information. Understanding the structure and content of the object table and JSON output is crucial for programmers who are working with the Drugbank drugs API, as it allows them to effectively access and utilize the drug information provided. The information in this conversation can be helpful for developers, researchers, and healthcare professionals who require accurate and up-to-date drug information for various applications and systems.
Note
If you're interested in accessing the Drugbank drugs API, you can do so through the third-party data marketplace of Worldindata. This marketplace offers a variety of datasets from trusted sources, including Drugbank, and allows users to access them for a fee. To request access to the Drugbank drugs API through Worldindata, you can visit their website and search for Drugbank in the marketplace. From there, you'll be able to browse the available datasets and select the one that meets your needs. Once you've selected a dataset, you'll need to create an account with Worldindata and follow their instructions to complete the access request process. With access to the Drugbank drugs API, you can leverage its comprehensive drug information to enhance your research, develop new drug-related applications, or support patient care.