Ranomics Experiments API

Create, poll, and retrieve results for an experiment.

GitHub OpenAPI

Operations 5

POST /experiments Create an experiment #
POST /experiments/cost-estimate Non-binding cost estimate #
DELETE /experiments/{experiment_id} Withdraw an experiment #
GET /experiments/{experiment_id} Poll experiment status #
GET /experiments/{experiment_id}/results Fetch experiment results #

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/ranomics-com:ranomics-com-experiments-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. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

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

OpenAPI Specification

ranomics-com-experiments-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  contact:
    email: info@ranomics.com
    name: Ranomics Platform
    url: https://ranomics.com/platform
  description: 'Programmatic submission of binder candidates to Ranomics for yeast-display, mammalian-display, or DMS triage. Convention-compatible with Adaptyv Foundry where shapes align (Bearer auth, sequences dict, results_status enum). Result format is YDS-specific: per-sequence enrichment counts + signed download URLs, not kinetic constants.


    **Private alpha.** Mint a key via https://tools.ranomics.com/account/api-keys after the scoping team has invited you.'
  license:
    name: Proprietary — alpha access
    url: https://ranomics.com/platform
  summary: Wet-lab as an API for binder-design agents
  title: Ranomics Platform Experiments API
  version: 0.1.0
servers:
- description: Production
  url: https://tools.ranomics.com/api/v1
security:
- bearerAuth: []
tags:
- description: Create, poll, and retrieve results for an experiment.
  name: Experiments
paths:
  /experiments:
    post:
      parameters:
      - description: 'Optional. Re-submitting with the same key from the same key-holder returns the original experiment with an `Idempotent-Replay: true` header.'
        in: header
        name: Idempotency-Key
        schema:
          maxLength: 128
          minLength: 8
          type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CreateExperimentRequest'
        required: true
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Experiment'
          description: Idempotent replay of an earlier create.
        '201':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Experiment'
          description: Created.
        '400':
          $ref: '#/components/responses/Error400'
        '401':
          $ref: '#/components/responses/Error401'
        '403':
          $ref: '#/components/responses/Error403'
      summary: Create an experiment
      tags:
      - Experiments
      operationId: postExperiments
      x-operation-id-source: derived
  /experiments/cost-estimate:
    post:
      description: Returns a USD range. Catalogue targets (`target_kind=catalog` + `target_id`) get a calibrated band with `requires_human_quote=false`. Custom targets get an order-of-magnitude placeholder with `requires_human_quote=true`.
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CostEstimateRequest'
        required: true
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CostEstimate'
          description: Estimate.
        '400':
          $ref: '#/components/responses/Error400'
        '401':
          $ref: '#/components/responses/Error401'
      summary: Non-binding cost estimate
      tags:
      - Experiments
      operationId: postExperimentsCostEstimate
      x-operation-id-source: derived
  /experiments/{experiment_id}:
    delete:
      description: Withdraw (delete) one of your experiments while it is still in 'Draft' or 'WaitingForConfirmation', before a quote is issued or any lab work begins. Returns 409 once it has moved past initial review.
      parameters:
      - $ref: '#/components/parameters/ExperimentId'
      responses:
        '200':
          content:
            application/json:
              schema:
                properties:
                  experiment_id:
                    format: uuid
                    type: string
                  status:
                    enum:
                    - Withdrawn
                    type: string
                type: object
          description: Withdrawn; the experiment row was deleted.
        '401':
          $ref: '#/components/responses/Error401'
        '403':
          $ref: '#/components/responses/Error403'
        '404':
          $ref: '#/components/responses/Error404'
        '409':
          $ref: '#/components/responses/Error409'
      summary: Withdraw an experiment
      tags:
      - Experiments
      operationId: deleteExperimentsByExperimentId
      x-operation-id-source: derived
    get:
      parameters:
      - $ref: '#/components/parameters/ExperimentId'
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ExperimentStatus'
          description: Status snapshot.
        '401':
          $ref: '#/components/responses/Error401'
        '404':
          $ref: '#/components/responses/Error404'
      summary: Poll experiment status
      tags:
      - Experiments
      operationId: getExperimentsByExperimentId
      x-operation-id-source: derived
  /experiments/{experiment_id}/results:
    get:
      description: 'Returns 404 with `code: results_not_ready` until `results_status != "none"`. Result shape is yeast-display-specific: per-sequence pre/post sort counts, log2 enrichment, called_hit boolean, and signed download URLs.'
      parameters:
      - $ref: '#/components/parameters/ExperimentId'
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Results'
          description: Results.
        '401':
          $ref: '#/components/responses/Error401'
        '404':
          $ref: '#/components/responses/Error404'
      summary: Fetch experiment results
      tags:
      - Experiments
      operationId: getExperimentsByExperimentIdResults
      x-operation-id-source: derived
components:
  schemas:
    CostEstimate:
      properties:
        estimated_range_usd:
          items:
            type: integer
          maxItems: 2
          minItems: 2
          type: array
        experiment_type:
          type: string
        note:
          type: string
        requires_human_quote:
          description: '`false` for calibrated catalogue entries; `true` for custom targets.'
          type: boolean
        scoping_url:
          format: uri
          type: string
        target_id:
          description: Echoed back when the estimate was keyed to a catalogue entry.
          type: string
        target_kind:
          type: string
        target_name:
          type: string
      required:
      - experiment_type
      - requires_human_quote
      type: object
    ResultsStatusEnum:
      enum:
      - none
      - partial
      - all
      type: string
    Experiment:
      properties:
        created_at:
          format: date-time
          type: string
        experiment_id:
          format: uuid
          type: string
        experiment_spec:
          $ref: '#/components/schemas/ExperimentSpec'
        last_transition_at:
          format: date-time
          type: string
        name:
          type: string
        notes_customer:
          type: string
        results_status:
          $ref: '#/components/schemas/ResultsStatusEnum'
        status:
          $ref: '#/components/schemas/StatusEnum'
        status_log:
          items:
            properties:
              at:
                format: date-time
                type: string
              by:
                type: string
              status:
                $ref: '#/components/schemas/StatusEnum'
            type: object
          type: array
        webhook_url:
          type: string
      required:
      - experiment_id
      - status
      - results_status
      - experiment_spec
      type: object
    Results:
      description: Yeast-display result shape. Per-sequence enrichment counts and called_hit booleans, plus signed download URLs for the enrichment table, hits FASTA, and the raw NGS reads (the last only when the customer opted in at submission).
      properties:
        downloads:
          properties:
            enrichment_table_csv:
              format: uri
              type: string
            hits_fasta:
              format: uri
              type: string
            raw_reads_fastq:
              format: uri
              type: string
          type: object
        experiment_id:
          format: uuid
          type: string
        results_status:
          $ref: '#/components/schemas/ResultsStatusEnum'
        rounds:
          items:
            properties:
              input_diversity:
                type: integer
              output_diversity:
                type: integer
              round_id:
                type: string
              sort_gate:
                type: string
            type: object
          type: array
        sequences:
          items:
            properties:
              called_hit:
                type: boolean
              log2_enrichment:
                type: number
              percentile:
                type: number
              post_count:
                type: integer
              pre_count:
                type: integer
              sequence:
                type: string
              user_key:
                type: string
            type: object
          type: array
        status:
          $ref: '#/components/schemas/StatusEnum'
      type: object
    CostEstimateRequest:
      properties:
        candidate_count:
          minimum: 1
          type: integer
        experiment_type:
          enum:
          - yeast_display
          - mammalian_display
          - dms
          type: string
        library_diversity:
          minimum: 1
          type: integer
        target_id:
          description: Required when `target_kind=catalog`. Available ids from GET /api/v1/targets.
          type: string
        target_kind:
          description: Default `custom`. Set to `catalog` and pass `target_id` to get a calibrated band.
          enum:
          - catalog
          - custom
          type: string
      required:
      - experiment_type
      type: object
    ExperimentSpec:
      properties:
        experiment_type:
          enum:
          - yeast_display
          - mammalian_display
          - dms
          type: string
        library_design:
          $ref: '#/components/schemas/LibraryDesign'
        sequences:
          additionalProperties:
            type: string
          description: 'Map of `{user_key: AMINO_STRING}`. Each value is uppercase one-letter amino-acid codes; use `:` to separate chains for multi-chain submissions (Adaptyv-compatible).'
          type: object
        target:
          $ref: '#/components/schemas/Target'
      required:
      - experiment_type
      - target
      - sequences
      type: object
    Target:
      description: Supply EITHER `target_id` (catalogue path) or `custom` (one-off antigen). Mutually exclusive.
      properties:
        custom:
          description: One-off antigen. Routes through human scoping; cost-estimate returns a placeholder range.
          properties:
            antigen_sequence:
              type: string
            name:
              type: string
            notes:
              type: string
          required:
          - name
          type: object
        target_id:
          description: Catalogue target id from `GET /api/v1/targets`. The experiment is constructed against the catalogue entry and skips human scoping.
          type: string
      type: object
    StatusEnum:
      enum:
      - Draft
      - WaitingForConfirmation
      - QuoteSent
      - WaitingForMaterials
      - LibraryConstruction
      - Sorting
      - NGS
      - DataAnalysis
      - InReview
      - Done
      - Cancelled
      type: string
    LibraryDesign:
      additionalProperties: true
      properties:
        diversity_estimate:
          minimum: 1
          type: integer
        mode:
          enum:
          - designed_panel
          - combinatorial
          - site_saturation
          - error_prone
          - nnk
          type: string
        notes:
          type: string
      type: object
    ExperimentStatus:
      properties:
        experiment_id:
          format: uuid
          type: string
        last_transition_at:
          format: date-time
          type: string
        notes_customer:
          type: string
        results_status:
          $ref: '#/components/schemas/ResultsStatusEnum'
        status:
          $ref: '#/components/schemas/StatusEnum'
        status_log:
          items:
            type: object
          type: array
      required:
      - experiment_id
      - status
      - results_status
      type: object
    CreateExperimentRequest:
      properties:
        experiment_spec:
          $ref: '#/components/schemas/ExperimentSpec'
        name:
          maxLength: 200
          type: string
        webhook_url:
          description: 'Optional. POST is signed with X-Ranomics-Signature: t=<ts>,v1=<hex hmac-sha256>. The HMAC key is the **per-tenant** webhook signing secret shown once at /account/api-keys (whsec_…). Payload shape: see the WebhookEvent schema.'
          format: uri
          type: string
      required:
      - experiment_spec
      type: object
    Error:
      properties:
        error:
          additionalProperties: true
          properties:
            code:
              type: string
            message:
              type: string
          required:
          - code
          - message
          type: object
      required:
      - error
      type: object
  parameters:
    ExperimentId:
      in: path
      name: experiment_id
      required: true
      schema:
        format: uuid
        type: string
  responses:
    Error401:
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
      description: Missing, invalid, revoked or expired API key.
    Error404:
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
      description: Not found.
    Error403:
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
      description: Read-only key on an endpoint that needs a full-access key.
    Error400:
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
      description: Validation error.
    Error409:
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
      description: State conflict.
  securitySchemes:
    bearerAuth:
      bearerFormat: Opaque rk_live_… token
      scheme: bearer
      type: http