
Abandoned Compound & Uncommercialized Trial Miner
Finds shelved drug and biologic candidates worth a second look. Give a disease or target (mines ClinicalTrials.gov for terminated, withdrawn and suspended trials and for completed Phase 1/2 non-industry trials with no later industry Phase 2/3/4 trial), a compound you already have in mind (drug name or ChEMBL id), a trial (NCT id), or a desired material property (literature mode, no trials). Every candidate is screened in code: the stop reason is classified by keyword rules (one fast model call only for an ambiguous reason or a missing mechanism, accepted only with a verbatim quote), ChEMBL and the FDA Orange Book exclude approved, withdrawn and boxed-warning molecules, and any safety, toxicity or drug-versus-placebo adverse-event excess excludes the candidate. The response leads with a verdict (PROMISING, WORTH_INVESTIGATING, WEAK, INSUFFICIENT_EVIDENCE or NO_CANDIDATES), a confidence level, the top pick and a concrete next step, then a Repurposing Dossier per survivor: trials with NCT links, mechanism, shelving reason, safety and dosage facts with quotes, estimated IP window, US regulatory pathway with non-compliant routes flagged, evidence grade, computed concerns and a deterministic de-risk score. If an index or the model is unavailable you still get a signed partial result that names what is missing. The screens can only exclude, never clear a compound, and a registry search misses unregistered and non-US programs. Not medical, legal, patent or regulatory advice.
What you get
Turns a disease, target, compound or trial into a ranked shortlist of vetted repurposing dossiers for shelved compounds in about 20 seconds, with safety stops and approved drugs excluded by code, a quote-verified shelving reason and patent-window and FDA-pathway flags, replacing days of registry and literature screening.
Call it
Send the JSON body below to https://agents.writerslogic.com/api/v1/mine-abandoned-compounds. An unpaid request answers 402 with the price and how to pay; a request that fails with a 5xx status is not charged.
curl -i -X POST https://agents.writerslogic.com/api/v1/mine-abandoned-compounds \
-H 'content-type: application/json' \
-d '{"biologicalTargetOrCondition":"amyotrophic lateral sclerosis","includeCompletedNoFollowUp":true,"maxCandidates":4}'
Input
| Field | Type | Required | Description |
|---|---|---|---|
biologicalTargetOrCondition | string; length 2..200 | no | Disease, condition or biological target (e.g. "amyotrophic lateral sclerosis", "BACE1"). Mines stopped and completed-without-follow-up clinical trials. |
materialProperty | string; length 2..200 | no | Desired material property (e.g. "high ionic conductivity solid electrolyte"). Mines the literature indexes; no trials are involved. |
compound | string; length 2..200 | no | A compound you already have in mind, as a drug name or ChEMBL id (e.g. "edaravone", "CHEMBL290916"). Returns whether it is an abandoned, safe-to-pursue candidate or why it was excluded (marketed, safety signal, active development). Replaces the condition search. |
nctId | string | no | A ClinicalTrials.gov trial id (e.g. "NCT01257048"). The compound it tested is reviewed as with `compound`. |
includeCompletedNoFollowUp | boolean | no | Include completed Phase 1/2 non-industry trials with no later industry Phase 2/3/4 trial of the same intervention. Default true. |
maxCandidates | integer; 1..8 | no | Dossiers to produce (default 4, max 8). Model cost is at most one fast call per candidate. |
Example request body
{
"biologicalTargetOrCondition": "amyotrophic lateral sclerosis",
"includeCompletedNoFollowUp": true,
"maxCandidates": 4
}
Result
The response is { "data": ..., "_provenance": ... }. data carries these fields; _provenance is a signed W3C Verifiable Credential with a C2PA-style manifest, checked free at POST /api/v1/verify-provenance.
| Field | Type | Required | Description |
|---|---|---|---|
verdict | string; one of "PROMISING", "WORTH_INVESTIGATING", "WEAK", "INSUFFICIENT_EVIDENCE", "NO_CANDIDATES" | no | Best dossier's verdict (PROMISING, WORTH_INVESTIGATING, WEAK, INSUFFICIENT_EVIDENCE) or NO_CANDIDATES. |
confidence_level | one of | no | HIGH: evidence grade A/B, complete safety screen, no warnings. MEDIUM: grade A-C with a complete screen. LOW otherwise. Null with no dossier. |
top_pick | one of | no | |
summary | string | no | Plain-language result in two sentences. |
next_step | string | no | Concrete recommended action. |
partial | boolean | no | True when a source, model review or candidate was unavailable; see missing. |
missing | array<string> | no | |
query | object | no | |
result | string; one of "CANDIDATES_FOUND", "NO_CANDIDATES" | no | |
dossiers | array<object> | no | |
excluded | array<object> | no | Compounds removed by deterministic rules, with signals and quotes. |
funnel | object | no | |
what_would_change_the_call | array<string> | no | |
limitations | array<string> | no | |
warnings | array<string> | no | |
candidate_errors | array<object> | no | Candidates whose review failed; the remaining candidates are still returned. |
disclaimer | string | no | |
analyzed_at | string | no |
Pay and connect
Available through: x402 (USDC on Base), MCP, RapidAPI, Apify.
Machine-readable
- This agent as JSON (schemas, example, OpenAPI operation)
- Free signed sample response
- OpenAPI 3.1 · Catalog · Index of every agent