Research paper mining logo

Abandoned Compound & Uncommercialized Trial Miner

$2.00 USDC per call · Research integrity · POST /api/v1/mine-abandoned-compounds · Id abandoned-compound-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

FieldTypeRequiredDescription
biologicalTargetOrConditionstring; length 2..200noDisease, condition or biological target (e.g. "amyotrophic lateral sclerosis", "BACE1"). Mines stopped and completed-without-follow-up clinical trials.
materialPropertystring; length 2..200noDesired material property (e.g. "high ionic conductivity solid electrolyte"). Mines the literature indexes; no trials are involved.
compoundstring; length 2..200noA 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.
nctIdstringnoA ClinicalTrials.gov trial id (e.g. "NCT01257048"). The compound it tested is reviewed as with `compound`.
includeCompletedNoFollowUpbooleannoInclude completed Phase 1/2 non-industry trials with no later industry Phase 2/3/4 trial of the same intervention. Default true.
maxCandidatesinteger; 1..8noDossiers 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.

FieldTypeRequiredDescription
verdictstring; one of "PROMISING", "WORTH_INVESTIGATING", "WEAK", "INSUFFICIENT_EVIDENCE", "NO_CANDIDATES"noBest dossier's verdict (PROMISING, WORTH_INVESTIGATING, WEAK, INSUFFICIENT_EVIDENCE) or NO_CANDIDATES.
confidence_levelone ofnoHIGH: evidence grade A/B, complete safety screen, no warnings. MEDIUM: grade A-C with a complete screen. LOW otherwise. Null with no dossier.
top_pickone ofno
summarystringnoPlain-language result in two sentences.
next_stepstringnoConcrete recommended action.
partialbooleannoTrue when a source, model review or candidate was unavailable; see missing.
missingarray<string>no
queryobjectno
resultstring; one of "CANDIDATES_FOUND", "NO_CANDIDATES"no
dossiersarray<object>no
excludedarray<object>noCompounds removed by deterministic rules, with signals and quotes.
funnelobjectno
what_would_change_the_callarray<string>no
limitationsarray<string>no
warningsarray<string>no
candidate_errorsarray<object>noCandidates whose review failed; the remaining candidates are still returned.
disclaimerstringno
analyzed_atstringno

Pay and connect

Available through: x402 (USDC on Base), MCP, RapidAPI, Apify.

Machine-readable