Reactome pathways API

Reactome Data: Pathway related queries

Operations 7

GET /data/pathway/{id}/containedEvents All the events contained in the given event #
GET /data/pathway/{id}/containedEvents/{attributeName} A single property for each event contained in the given event #
GET /data/pathways/low/diagram/entity/{id} A list of lower level pathways with diagram containing a given entity or event #
GET /data/pathways/low/diagram/entity/{id}/allForms A list of lower level pathways with diagram containing any form of a given entity #
GET /data/pathways/low/entity/{id} A list of lower level pathways containing a given entity or event #
GET /data/pathways/low/entity/{id}/allForms A list of lower level pathways containing any form of a given entity #
GET /data/pathways/top/{species} All Reactome top level pathways #

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/reactome-pathways-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

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

reactome-pathways-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Pathway Analysis Service database Pathways API
  description: Provides an API for pathway over-representation and expression analysis as well as species comparison tool.
  termsOfService: /license
  contact:
    name: Reactome
    url: https://reactome.org
    email: help@reactome.org
  license:
    name: Creative Commons Attribution 3.0 Unsupported License
    url: https://creativecommons.org/licenses/by/3.0/legalcode
  version: '2.0'
servers:
- url: /AnalysisService
tags:
- name: pathways
  description: 'Reactome Data: Pathway related queries'
paths:
  /data/pathway/{id}/containedEvents:
    get:
      tags:
      - pathways
      summary: All the events contained in the given event
      description: Events are the building blocks used in Reactome to represent all biological processes, and they include pathways and reactions. Typically, an event can contain other events. For example, a pathway can contain smaller pathways and reactions. This method recursively retrieves all the events contained in any given event.
      operationId: getContainedEvents
      parameters:
      - name: id
        in: path
        description: The event for which the contained events are requested
        required: true
        schema:
          type: string
        example: R-HSA-5673001
      - name: view
        in: query
        description: Global parameter - Customise the view to be more concise and/or aggregate relationships
        required: false
        schema:
          type: string
          default: flatten
          enum:
          - flatten
          - nested
          - nested-aggregated
          example: null
      - name: includeRef
        in: query
        description: Global parameter - If true, replace element ref to dbId by standard JSOG object {@ref}
        required: false
        schema:
          type: boolean
          default: false
          example: null
      responses:
        '404':
          description: No contained events found in the given event
          content:
            application/json:
              schema:
                type: array
                items:
                  type: object
        '500':
          description: Internal Server Error
          content:
            application/json:
              schema:
                type: array
                items:
                  type: object
  /data/pathway/{id}/containedEvents/{attributeName}:
    get:
      tags:
      - pathways
      summary: A single property for each event contained in the given event
      description: Events are the building blocks used in Reactome to represent all biological processes, and they include pathways and reactions. Typically, an event can contain other events. For example, a pathway can contain smaller pathways (subpathways) and reactions.<br> This method recursively retrieves a single attribute for each of the events contained in the given event.
      operationId: getContainedEvents_1
      parameters:
      - name: id
        in: path
        description: The event for which the contained events are requested
        required: true
        schema:
          type: string
        example: R-HSA-5673001
      - name: attributeName
        in: path
        description: Attribute to be filtered
        required: true
        schema:
          type: string
        example: stId
      - name: view
        in: query
        description: Global parameter - Customise the view to be more concise and/or aggregate relationships
        required: false
        schema:
          type: string
          default: flatten
          enum:
          - flatten
          - nested
          - nested-aggregated
          example: null
      - name: includeRef
        in: query
        description: Global parameter - If true, replace element ref to dbId by standard JSOG object {@ref}
        required: false
        schema:
          type: boolean
          default: false
          example: null
      responses:
        '404':
          description: No contained events found in the given event or invalid attribute name
          content:
            text/plain:
              schema:
                type: string
        '500':
          description: Internal Server Error
          content:
            text/plain:
              schema:
                type: string
  /data/pathways/low/diagram/entity/{id}:
    get:
      tags:
      - pathways
      summary: A list of lower level pathways with diagram containing a given entity or event
      description: This method traverses the event hierarchy and retrieves the list of all lower level pathways that have a diagram and contain the given PhysicalEntity or Event.
      operationId: getPathwaysWithDiagramFor
      parameters:
      - name: id
        in: path
        description: The entity that has to be present in the pathways
        required: true
        schema:
          type: string
        example: R-HSA-199420
      - name: species
        in: query
        description: 'The species for which the pathways are requested. Taxonomy identifier (eg: 9606) or species name (eg: ''Homo sapiens'')'
        required: false
        schema:
          type: string
        example: 9606
      - name: view
        in: query
        description: Global parameter - Customise the view to be more concise and/or aggregate relationships
        required: false
        schema:
          type: string
          default: flatten
          enum:
          - flatten
          - nested
          - nested-aggregated
          example: null
      - name: includeRef
        in: query
        description: Global parameter - If true, replace element ref to dbId by standard JSOG object {@ref}
        required: false
        schema:
          type: boolean
          default: false
          example: null
      responses:
        '404':
          description: Identifier is not present in any pathways with diagram
          content:
            application/json:
              schema:
                type: array
                items:
                  type: object
        '500':
          description: Internal Server Error
          content:
            application/json:
              schema:
                type: array
                items:
                  type: object
  /data/pathways/low/diagram/entity/{id}/allForms:
    get:
      tags:
      - pathways
      summary: A list of lower level pathways with diagram containing any form of a given entity
      description: This method traverses the event hierarchy and retrieves the list of all lower level pathways that have a diagram and contain the given PhysicalEntity in any of its variant forms. These variant forms include for example different post-translationally modified versions of a single protein, or the same chemical in different compartments.
      operationId: getPathwaysWithDiagramForAllFormsOf
      parameters:
      - name: id
        in: path
        description: The entity (in any of its forms) that has to be present in the pathways
        required: true
        schema:
          type: string
        example: R-HSA-199420
      - name: species
        in: query
        description: 'The species for which the pathways are requested. Taxonomy identifier (eg: 9606) or species name (eg: ''Homo sapiens'')'
        required: false
        schema:
          type: string
        example: 9606
      - name: view
        in: query
        description: Global parameter - Customise the view to be more concise and/or aggregate relationships
        required: false
        schema:
          type: string
          default: flatten
          enum:
          - flatten
          - nested
          - nested-aggregated
          example: null
      - name: includeRef
        in: query
        description: Global parameter - If true, replace element ref to dbId by standard JSOG object {@ref}
        required: false
        schema:
          type: boolean
          default: false
          example: null
      responses:
        '404':
          description: Identifier (in any of its forms) is not present in any pathways with diagram
          content:
            application/json:
              schema:
                type: array
                items:
                  type: object
        '500':
          description: Internal Server Error
          content:
            application/json:
              schema:
                type: array
                items:
                  type: object
  /data/pathways/low/entity/{id}:
    get:
      tags:
      - pathways
      summary: A list of lower level pathways containing a given entity or event
      description: This method traverses the event hierarchy and retrieves the list of all lower level pathways that contain the given PhysicalEntity or Event.
      operationId: getPathwaysFor
      parameters:
      - name: id
        in: path
        description: The entity that has to be present in the pathways
        required: true
        schema:
          type: string
        example: R-HSA-199420
      - name: species
        in: query
        description: 'The species for which the pathways are requested. Taxonomy identifier (eg: 9606) or species name (eg: ''Homo sapiens'')'
        required: false
        schema:
          type: string
        example: 9606
      - name: view
        in: query
        description: Global parameter - Customise the view to be more concise and/or aggregate relationships
        required: false
        schema:
          type: string
          default: flatten
          enum:
          - flatten
          - nested
          - nested-aggregated
          example: null
      - name: includeRef
        in: query
        description: Global parameter - If true, replace element ref to dbId by standard JSOG object {@ref}
        required: false
        schema:
          type: boolean
          default: false
          example: null
      responses:
        '404':
          description: Identifier is not present in any pathways
          content:
            application/json:
              schema:
                type: array
                items:
                  type: object
        '500':
          description: Internal Server Error
          content:
            application/json:
              schema:
                type: array
                items:
                  type: object
  /data/pathways/low/entity/{id}/allForms:
    get:
      tags:
      - pathways
      summary: A list of lower level pathways containing any form of a given entity
      description: This method traverses the event hierarchy and retrieves the list of all lower level pathways that contain the given PhysicalEntity in any of its variant forms. These variant forms include for example different post-translationally modified versions of a single protein, or the same chemical in different compartments.
      operationId: getPathwaysForAllFormsOf
      parameters:
      - name: id
        in: path
        description: The entity (in any of its forms) that has to be present in the pathways
        required: true
        schema:
          type: string
        example: R-HSA-199420
      - name: species
        in: query
        description: 'The species for which the pathways are requested. Taxonomy identifier (eg: 9606) or species name (eg: ''Homo sapiens'')'
        required: false
        schema:
          type: string
        example: 9606
      - name: view
        in: query
        description: Global parameter - Customise the view to be more concise and/or aggregate relationships
        required: false
        schema:
          type: string
          default: flatten
          enum:
          - flatten
          - nested
          - nested-aggregated
          example: null
      - name: includeRef
        in: query
        description: Global parameter - If true, replace element ref to dbId by standard JSOG object {@ref}
        required: false
        schema:
          type: boolean
          default: false
          example: null
      responses:
        '404':
          description: Identifier (in any of its forms) is not present in any pathways
          content:
            application/json:
              schema:
                type: array
                items:
                  type: object
        '500':
          description: Internal Server Error
          content:
            application/json:
              schema:
                type: array
                items:
                  type: object
  /data/pathways/top/{species}:
    get:
      tags:
      - pathways
      summary: All Reactome top level pathways
      description: This method retrieves the list of top level pathways for the given species
      operationId: getTopLevelPathways
      parameters:
      - name: species
        in: path
        description: 'Specifies the species by the taxonomy identifier (eg: 9606) or species name (eg: ''Homo+sapiens'')'
        required: true
        schema:
          type: string
        example: 9606
      - name: view
        in: query
        description: Global parameter - Customise the view to be more concise and/or aggregate relationships
        required: false
        schema:
          type: string
          default: flatten
          enum:
          - flatten
          - nested
          - nested-aggregated
          example: null
      - name: includeRef
        in: query
        description: Global parameter - If true, replace element ref to dbId by standard JSOG object {@ref}
        required: false
        schema:
          type: boolean
          default: false
          example: null
      responses:
        '404':
          description: No TopLevelPathways were found for species
          content:
            application/json:
              schema:
                type: array
                items:
                  type: object
        '500':
          description: Internal Server Error
          content:
            application/json:
              schema:
                type: array
                items:
                  type: object