Forge Tools iuphar_pharmacology
iuphar_pharmacology read
scidex.forge.iuphar_pharmacology
Query the IUPHAR/BPS Guide to Pharmacology (GtoPdb) for drug target classification and approved ligand lists. For a single target name, returns the GtoPdb target ID, target family, HGNC gene symbol, and a list of curated ligands with action type (Agonist/Antagonist/Inhibitor), median affinity (pKd/pKi), and INN/generic name. GtoPdb is the gold standard for GPCRs, ion channels, nuclear receptors, and transporters — receptor families not deeply covered by DGIdb or PharmGKB. Set approved_only=True (default) to restrict to FDA/EMA-approved drugs. Not-found targets set not_found=True — no exception raised. API: guidetopharmacology.org/services — public, no auth required.
Invoke
Calls scidex.tool.invoke on the substrate with
this tool name. Edit the JSON below — it must match the
input schema. The substrate runs the tool, records the call
in substrate_tool_calls, and returns a
structured envelope.
Sign in to invoke this tool. Schema and curl snippet are visible to anyone.
Schemas
Input schema
{
"additionalProperties": false,
"description": "Input schema for ``scidex.forge.iuphar_pharmacology``.",
"properties": {
"target_name": {
"description": "Drug target name to look up in GtoPdb. May be a receptor name (e.g. '5-HT2A receptor'), gene symbol (e.g. 'HTR2A'), or common abbreviation (e.g. 'D2'). GtoPdb name search is case-insensitive.",
"title": "Target Name",
"type": "string"
},
"approved_only": {
"default": true,
"description": "If True (default), return only ligands that are approved drugs (FDA/EMA/other regulatory approval). If False, include all curated ligands including investigational compounds.",
"title": "Approved Only",
"type": "boolean"
},
"limit": {
"default": 10,
"description": "Maximum number of ligands to return. Default 10; maximum 100.",
"maximum": 100,
"minimum": 1,
"title": "Limit",
"type": "integer"
}
},
"required": [
"target_name"
],
"title": "ForgeIUPHARPharmacologyIn",
"type": "object"
}Output schema
{
"$defs": {
"IUPHARLigand": {
"description": "One ligand–target interaction record from GtoPdb.",
"properties": {
"ligand_id": {
"description": "GtoPdb ligand ID.",
"title": "Ligand Id",
"type": "integer"
},
"name": {
"description": "Ligand name as curated in GtoPdb.",
"title": "Name",
"type": "string"
},
"ligand_type": {
"description": "Ligand type (e.g. 'Small molecule', 'Peptide', 'Antibody', 'Inorganic').",
"title": "Ligand Type",
"type": "string"
},
"action": {
"description": "Pharmacological action (e.g. 'Agonist', 'Antagonist', 'Inhibitor', 'Partial agonist', 'Inverse agonist'). Non-empty.",
"title": "Action",
"type": "string"
},
"affinity_median": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
],
"default": null,
"description": "Median affinity value in -log(mol/L) units (pKd, pKi, or pIC50). None if not recorded in GtoPdb.",
"title": "Affinity Median"
},
"inn_name": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "INN (International Non-proprietary Name / generic name), if known.",
"title": "Inn Name"
}
},
"required": [
"ligand_id",
"name",
"ligand_type",
"action"
],
"title": "IUPHARLigand",
"type": "object"
}
},
"description": "Response shape for ``scidex.forge.iuphar_pharmacology``.",
"properties": {
"target_name": {
"description": "Canonical GtoPdb target name (as curated).",
"title": "Target Name",
"type": "string"
},
"target_id": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": null,
"description": "GtoPdb target ID.",
"title": "Target Id"
},
"target_family": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "GtoPdb target family name (e.g. '5-Hydroxytryptamine receptors').",
"title": "Target Family"
},
"hgnc_symbol": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "HGNC gene symbol for the human target (e.g. 'HTR2A').",
"title": "Hgnc Symbol"
},
"ligands": {
"description": "Ligands for this target, filtered and sorted by affinity.",
"items": {
"$ref": "#/$defs/IUPHARLigand"
},
"title": "Ligands",
"type": "array"
},
"source": {
"default": "IUPHAR/BPS Guide to Pharmacology",
"description": "Data source identifier.",
"title": "Source",
"type": "string"
},
"not_found": {
"default": false,
"description": "True if the target name could not be resolved in GtoPdb.",
"title": "Not Found",
"type": "boolean"
},
"took_ms": {
"description": "Wall-clock time for all upstream API calls.",
"title": "Took Ms",
"type": "integer"
}
},
"required": [
"target_name",
"took_ms"
],
"title": "ForgeIUPHARPharmacologyOut",
"type": "object"
}curl snippet
Replace $SCIDEX_JWT with a valid bearer token. Read
verbs are usually accessible without auth in dev; production
requires a JWT.
curl -sS -X POST '/api/scidex/forge/iuphar_pharmacology' \
-H 'authorization: Bearer $SCIDEX_JWT' \
-H 'content-type: application/json' \
-d '{
"target_name": ""
}'Discussion
No comments yet — be the first.