{"id":"abandoned-compound-miner","title":"Abandoned Compound & Uncommercialized Trial Miner","description":"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.","roi":"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.","audience":"research","channels":["x402","mcp","rapidapi","apify"],"endpoint":{"method":"POST","url":"https://agents.writerslogic.com/api/v1/mine-abandoned-compounds","path":"/api/v1/mine-abandoned-compounds","contentType":"application/json"},"price":{"amount":"2.00","currency":"USDC","network":"base","perCall":true,"failedCallsCharged":false},"inputSchema":{"type":"object","additionalProperties":false,"properties":{"biologicalTargetOrCondition":{"type":"string","minLength":2,"maxLength":200,"description":"Disease, condition or biological target (e.g. \"amyotrophic lateral sclerosis\", \"BACE1\"). Mines stopped and completed-without-follow-up clinical trials."},"materialProperty":{"type":"string","minLength":2,"maxLength":200,"description":"Desired material property (e.g. \"high ionic conductivity solid electrolyte\"). Mines the literature indexes; no trials are involved."},"compound":{"type":"string","minLength":2,"maxLength":200,"description":"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":{"type":"string","pattern":"^(?:NCT|nct)\\d{8}$","description":"A ClinicalTrials.gov trial id (e.g. \"NCT01257048\"). The compound it tested is reviewed as with `compound`."},"includeCompletedNoFollowUp":{"type":"boolean","description":"Include completed Phase 1/2 non-industry trials with no later industry Phase 2/3/4 trial of the same intervention. Default true."},"maxCandidates":{"type":"integer","minimum":1,"maximum":8,"description":"Dossiers to produce (default 4, max 8). Model cost is at most one fast call per candidate."}}},"resultSchema":{"type":"object","properties":{"verdict":{"type":"string","enum":["PROMISING","WORTH_INVESTIGATING","WEAK","INSUFFICIENT_EVIDENCE","NO_CANDIDATES"],"description":"Best dossier's verdict (PROMISING, WORTH_INVESTIGATING, WEAK, INSUFFICIENT_EVIDENCE) or NO_CANDIDATES."},"confidence_level":{"anyOf":[{"type":"string","enum":["HIGH","MEDIUM","LOW"]},{"type":"null"}],"description":"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":{"anyOf":[{"type":"object","description":"compound, verdict, de_risk_score, evidence_grade, shelving_category, nct_id, url, patent_status."},{"type":"null"}]},"summary":{"type":"string","description":"Plain-language result in two sentences."},"next_step":{"type":"string","description":"Concrete recommended action."},"partial":{"type":"boolean","description":"True when a source, model review or candidate was unavailable; see missing."},"missing":{"type":"array","items":{"type":"string"}},"query":{"type":"object"},"result":{"type":"string","enum":["CANDIDATES_FOUND","NO_CANDIDATES"]},"dossiers":{"type":"array","items":{"type":"object"}},"excluded":{"type":"array","items":{"type":"object"},"description":"Compounds removed by deterministic rules, with signals and quotes."},"funnel":{"type":"object"},"what_would_change_the_call":{"type":"array","items":{"type":"string"}},"limitations":{"type":"array","items":{"type":"string"}},"warnings":{"type":"array","items":{"type":"string"}},"candidate_errors":{"type":"array","items":{"type":"object"},"description":"Candidates whose review failed; the remaining candidates are still returned."},"disclaimer":{"type":"string"},"analyzed_at":{"type":"string"}}},"outputSchema":{"type":"object","properties":{"data":{"type":"object","properties":{"verdict":{"type":"string","enum":["PROMISING","WORTH_INVESTIGATING","WEAK","INSUFFICIENT_EVIDENCE","NO_CANDIDATES"],"description":"Best dossier's verdict (PROMISING, WORTH_INVESTIGATING, WEAK, INSUFFICIENT_EVIDENCE) or NO_CANDIDATES."},"confidence_level":{"anyOf":[{"type":"string","enum":["HIGH","MEDIUM","LOW"]},{"type":"null"}],"description":"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":{"anyOf":[{"type":"object","description":"compound, verdict, de_risk_score, evidence_grade, shelving_category, nct_id, url, patent_status."},{"type":"null"}]},"summary":{"type":"string","description":"Plain-language result in two sentences."},"next_step":{"type":"string","description":"Concrete recommended action."},"partial":{"type":"boolean","description":"True when a source, model review or candidate was unavailable; see missing."},"missing":{"type":"array","items":{"type":"string"}},"query":{"type":"object"},"result":{"type":"string","enum":["CANDIDATES_FOUND","NO_CANDIDATES"]},"dossiers":{"type":"array","items":{"type":"object"}},"excluded":{"type":"array","items":{"type":"object"},"description":"Compounds removed by deterministic rules, with signals and quotes."},"funnel":{"type":"object"},"what_would_change_the_call":{"type":"array","items":{"type":"string"}},"limitations":{"type":"array","items":{"type":"string"}},"warnings":{"type":"array","items":{"type":"string"}},"candidate_errors":{"type":"array","items":{"type":"object"},"description":"Candidates whose review failed; the remaining candidates are still returned."},"disclaimer":{"type":"string"},"analyzed_at":{"type":"string"}}},"_provenance":{"type":"object","description":"C2PA-aligned manifest and W3C VC 2.0 (eddsa-jcs-2022) issued by the hub DID; verify at POST /api/v1/verify-provenance"}},"required":["data","_provenance"]},"example":{"biologicalTargetOrCondition":"amyotrophic lateral sclerosis","includeCompletedNoFollowUp":true,"maxCandidates":4},"openapiOperation":{"operationId":"abandoned_compound_miner","summary":"Abandoned Compound & Uncommercialized Trial Miner","description":"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.\n\nPrice: 2.00 USDC on Base (x402).","x-x402-price-usdc":"2.00","x-x402-amount":"2000000","x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"2.00"}},"x-audience":"research","x-sample-url":"https://agents.writerslogic.com/api/v1/samples/abandoned-compound-miner","security":[{"x402":[]},{"apiKey":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"properties":{"biologicalTargetOrCondition":{"type":"string","minLength":2,"maxLength":200,"description":"Disease, condition or biological target (e.g. \"amyotrophic lateral sclerosis\", \"BACE1\"). Mines stopped and completed-without-follow-up clinical trials."},"materialProperty":{"type":"string","minLength":2,"maxLength":200,"description":"Desired material property (e.g. \"high ionic conductivity solid electrolyte\"). Mines the literature indexes; no trials are involved."},"compound":{"type":"string","minLength":2,"maxLength":200,"description":"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":{"type":"string","pattern":"^(?:NCT|nct)\\d{8}$","description":"A ClinicalTrials.gov trial id (e.g. \"NCT01257048\"). The compound it tested is reviewed as with `compound`."},"includeCompletedNoFollowUp":{"type":"boolean","description":"Include completed Phase 1/2 non-industry trials with no later industry Phase 2/3/4 trial of the same intervention. Default true."},"maxCandidates":{"type":"integer","minimum":1,"maximum":8,"description":"Dossiers to produce (default 4, max 8). Model cost is at most one fast call per candidate."}}},"example":{"biologicalTargetOrCondition":"amyotrophic lateral sclerosis","includeCompletedNoFollowUp":true,"maxCandidates":4}}}},"responses":{"200":{"description":"Paid result with provenance","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object","properties":{"verdict":{"type":"string","enum":["PROMISING","WORTH_INVESTIGATING","WEAK","INSUFFICIENT_EVIDENCE","NO_CANDIDATES"],"description":"Best dossier's verdict (PROMISING, WORTH_INVESTIGATING, WEAK, INSUFFICIENT_EVIDENCE) or NO_CANDIDATES."},"confidence_level":{"anyOf":[{"type":"string","enum":["HIGH","MEDIUM","LOW"]},{"type":"null"}],"description":"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":{"anyOf":[{"type":"object","description":"compound, verdict, de_risk_score, evidence_grade, shelving_category, nct_id, url, patent_status."},{"type":"null"}]},"summary":{"type":"string","description":"Plain-language result in two sentences."},"next_step":{"type":"string","description":"Concrete recommended action."},"partial":{"type":"boolean","description":"True when a source, model review or candidate was unavailable; see missing."},"missing":{"type":"array","items":{"type":"string"}},"query":{"type":"object"},"result":{"type":"string","enum":["CANDIDATES_FOUND","NO_CANDIDATES"]},"dossiers":{"type":"array","items":{"type":"object"}},"excluded":{"type":"array","items":{"type":"object"},"description":"Compounds removed by deterministic rules, with signals and quotes."},"funnel":{"type":"object"},"what_would_change_the_call":{"type":"array","items":{"type":"string"}},"limitations":{"type":"array","items":{"type":"string"}},"warnings":{"type":"array","items":{"type":"string"}},"candidate_errors":{"type":"array","items":{"type":"object"},"description":"Candidates whose review failed; the remaining candidates are still returned."},"disclaimer":{"type":"string"},"analyzed_at":{"type":"string"}}},"_provenance":{"type":"object","description":"C2PA-aligned manifest and W3C VC 2.0 (eddsa-jcs-2022) issued by the hub DID; verify at POST /api/v1/verify-provenance"}},"required":["data","_provenance"]}}}},"400":{"description":"Invalid request (no payment consumed)","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"}}}}}},"401":{"description":"Invalid X-API-KEY","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"}}}}}},"402":{"description":"Payment required or invalid","content":{"application/json":{"schema":{"type":"object","description":"x402 v2 PaymentRequired (also base64 in the PAYMENT-REQUIRED header)","properties":{"x402Version":{"type":"integer"},"error":{"type":"string"},"code":{"type":"string"},"resource":{"type":"object"},"accepts":{"type":"array","items":{"type":"object"}},"extensions":{"type":"object"}}}}}},"502":{"description":"Upstream failure; the payment is released or not settled","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"}}}}}}}},"links":{"docs":"https://agents.writerslogic.com/docs/abandoned-compound-miner/","docsJson":"https://agents.writerslogic.com/docs/abandoned-compound-miner.json","sample":"https://agents.writerslogic.com/api/v1/samples/abandoned-compound-miner","openapi":"https://agents.writerslogic.com/openapi.json","catalog":"https://agents.writerslogic.com/api/v1/catalog","verifyProvenance":"https://agents.writerslogic.com/api/v1/verify-provenance","index":"https://agents.writerslogic.com/docs/index.json"}}