WritersLogic Verifiable AI Agent Hub Mine Abandoned Compounds API

The Mine Abandoned Compounds API from WritersLogic Verifiable AI Agent Hub — 1 operation(s) for mine abandoned compounds.

GitHub OpenAPI

Operations 1

POST /api/v1/mine-abandoned-compounds Abandoned Compound & Uncommercialized Trial Miner #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/writerslogic-com:writerslogic-com-mine-abandoned-compounds-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

writerslogic-com-mine-abandoned-compounds-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: WritersLogic Verifiable AI Agent Hub Mine Abandoned…
  version: 2.0.0
  description: Pay-per-call agents settled in USDC on Base via x402. Every response carries a signed provenance envelope.
  contact:
    name: WritersLogic
    url: https://writerslogic.com/agents
    email: agents@writerslogic.com
servers:
- url: https://agents.writerslogic.com
tags:
- name: Mine Abandoned Compounds
paths:
  /api/v1/mine-abandoned-compounds:
    post:
      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.


        Price: 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
      tags:
      - Mine Abandoned Compounds
components:
  securitySchemes:
    x402:
      type: apiKey
      in: header
      name: PAYMENT-SIGNATURE
      description: x402 v2 payment payload (base64) sent after a 402 challenge
    apiKey:
      type: apiKey
      in: header
      name: X-API-KEY