curl -X POST https://win.oneshotagent.com/v1/tools/lookup/compound-targets \
-H "Content-Type: application/json" \
-H "payment-signature: <base64 x402 payment>" \
-d '{
"chembl_id": "CHEMBL1201580"
}'
const response = await fetch("https://win.oneshotagent.com/v1/tools/lookup/compound-targets", {
method: "POST",
headers: {
"Content-Type": "application/json",
"payment-signature": paymentProof,
},
body: JSON.stringify({
"chembl_id": "CHEMBL1201580"
}),
});
const result = await agent.tool('lookup/compound-targets', {
chembl_id: 'CHEMBL1201580'
});
console.log(result.result);
console.log(result.evidence);
{
"success": true,
"data": {
"request_id": "uuid",
"receipt_id": "rcpt_...",
"status": "completed",
"tool": "compound_targets",
"result": {
"matched": true,
"candidates": [],
"chembl_id": "CHEMBL1201580",
"name": "ADALIMUMAB",
"drug_type": "Antibody",
"max_clinical_stage": "APPROVAL",
"action_types": [
"INHIBITOR"
],
"target_types": [
"single protein"
],
"mechanisms": [
{
"mechanism": "TNF-alpha inhibitor",
"action_type": "INHIBITOR",
"target_name": "Tumor necrosis factor",
"targets": [
{
"ensembl_gene_id": "ENSG00000232810",
"symbol": "TNF"
}
],
"references": [
{
"source": "DailyMed",
"urls": [
"http://dailymed.nlm.nih.gov/dailymed/lookup.cfm?setid=608d4f0d-b19f-46d3-749a-7159aa5f933d"
]
}
]
}
]
},
"evidence": {
"source": "Open Targets Platform (EMBL-EBI and partners)",
"source_kind": "public",
"retrieved_at": "2026-10-22T12:00:00.000Z",
"calls": [
{
"retrieved_at": "2026-10-22T12:00:00.000Z"
}
],
"as_of": null
}
}
}
Life sciences
Compound Targets
Find a compound’s protein targets and mechanisms of action, with supporting references.
POST
/
v1
/
tools
/
lookup
/
compound-targets
curl -X POST https://win.oneshotagent.com/v1/tools/lookup/compound-targets \
-H "Content-Type: application/json" \
-H "payment-signature: <base64 x402 payment>" \
-d '{
"chembl_id": "CHEMBL1201580"
}'
const response = await fetch("https://win.oneshotagent.com/v1/tools/lookup/compound-targets", {
method: "POST",
headers: {
"Content-Type": "application/json",
"payment-signature": paymentProof,
},
body: JSON.stringify({
"chembl_id": "CHEMBL1201580"
}),
});
const result = await agent.tool('lookup/compound-targets', {
chembl_id: 'CHEMBL1201580'
});
console.log(result.result);
console.log(result.evidence);
{
"success": true,
"data": {
"request_id": "uuid",
"receipt_id": "rcpt_...",
"status": "completed",
"tool": "compound_targets",
"result": {
"matched": true,
"candidates": [],
"chembl_id": "CHEMBL1201580",
"name": "ADALIMUMAB",
"drug_type": "Antibody",
"max_clinical_stage": "APPROVAL",
"action_types": [
"INHIBITOR"
],
"target_types": [
"single protein"
],
"mechanisms": [
{
"mechanism": "TNF-alpha inhibitor",
"action_type": "INHIBITOR",
"target_name": "Tumor necrosis factor",
"targets": [
{
"ensembl_gene_id": "ENSG00000232810",
"symbol": "TNF"
}
],
"references": [
{
"source": "DailyMed",
"urls": [
"http://dailymed.nlm.nih.gov/dailymed/lookup.cfm?setid=608d4f0d-b19f-46d3-749a-7159aa5f933d"
]
}
]
}
]
},
"evidence": {
"source": "Open Targets Platform (EMBL-EBI and partners)",
"source_kind": "public",
"retrieved_at": "2026-10-22T12:00:00.000Z",
"calls": [
{
"retrieved_at": "2026-10-22T12:00:00.000Z"
}
],
"as_of": null
}
}
}
Reports what the Open Targets Platform public database says about a drug or clinical candidate’s protein targets and mechanisms of action, with gene symbols and references. For research; not medical advice. Give exactly one of chembl_id or name. A PubChem CID is not accepted: pass the compound’s name, which Compound Resolve and Compound Properties return. A name search selects the first hit and lists up to three candidates so you can retry by ChEMBL id. An unknown compound returns matched: false. Does not return indications, adverse events, warnings, measured bioactivity or synthesis and preparation data.
Authentication
Requires x402 payment in thepayment-signature header.
Request Body
string
ChEMBL molecule identifier; lowercase is accepted. CHEMBL followed by 1 to 9 digits, without a leading zero.
string
Drug or compound name; the first search hit is used. 2 to 100 characters.
Response (200 OK)
Top-level envelope:success (boolean) and data (object). All fields below are nested under data.
string
Durable job ID for audit and lookup
string
Job status:
completedstring
Always
compound_targetsobject
The answer, described under Result below
object
Where the answer came from and when
string
The public body the data comes from. Always
Open Targets Platform (EMBL-EBI and partners).string
public when the data comes from a public body, commercial otherwisestring
When the lookup was made, as an ISO 8601 UTC time
string
When the source says the fact was last updated, or
null when the source gives no dateResult
Nested underdata.result.
boolean
Matched.
object[]
Candidates.
string
Chembl id.
string
Name.
string
Chembl id.
null when the source gives no value.string
Name.
null when the source gives no value.string
Drug type.
null when the source gives no value.string
Max clinical stage.
null when the source gives no value.string[]
Action types.
string[]
Target types.
object[]
Mechanisms.
string
Mechanism.
null when the source gives no value.string
Action type.
null when the source gives no value.string
Target name.
null when the source gives no value.object[]
Targets.
string
Ensembl gene id.
string
Symbol.
null when the source gives no value.object[]
References.
string
Source.
null when the source gives no value.string[]
Urls.
curl -X POST https://win.oneshotagent.com/v1/tools/lookup/compound-targets \
-H "Content-Type: application/json" \
-H "payment-signature: <base64 x402 payment>" \
-d '{
"chembl_id": "CHEMBL1201580"
}'
const response = await fetch("https://win.oneshotagent.com/v1/tools/lookup/compound-targets", {
method: "POST",
headers: {
"Content-Type": "application/json",
"payment-signature": paymentProof,
},
body: JSON.stringify({
"chembl_id": "CHEMBL1201580"
}),
});
const result = await agent.tool('lookup/compound-targets', {
chembl_id: 'CHEMBL1201580'
});
console.log(result.result);
console.log(result.evidence);
{
"success": true,
"data": {
"request_id": "uuid",
"receipt_id": "rcpt_...",
"status": "completed",
"tool": "compound_targets",
"result": {
"matched": true,
"candidates": [],
"chembl_id": "CHEMBL1201580",
"name": "ADALIMUMAB",
"drug_type": "Antibody",
"max_clinical_stage": "APPROVAL",
"action_types": [
"INHIBITOR"
],
"target_types": [
"single protein"
],
"mechanisms": [
{
"mechanism": "TNF-alpha inhibitor",
"action_type": "INHIBITOR",
"target_name": "Tumor necrosis factor",
"targets": [
{
"ensembl_gene_id": "ENSG00000232810",
"symbol": "TNF"
}
],
"references": [
{
"source": "DailyMed",
"urls": [
"http://dailymed.nlm.nih.gov/dailymed/lookup.cfm?setid=608d4f0d-b19f-46d3-749a-7159aa5f933d"
]
}
]
}
]
},
"evidence": {
"source": "Open Targets Platform (EMBL-EBI and partners)",
"source_kind": "public",
"retrieved_at": "2026-10-22T12:00:00.000Z",
"calls": [
{
"retrieved_at": "2026-10-22T12:00:00.000Z"
}
],
"as_of": null
}
}
}
See Pricing for this tool’s price. A wallet (x402) call receives it in the 402 quote before anything is charged; a call paid from prepaid credits is charged when the API accepts the request and answers
200.Notes
- Results return inline. The finished job stays available at
/v1/requests/{request_id}