---
title: "Returns a list of binned hit pathway sizes associated with the token"
method: GET
path: "/token/{token}/pathways/binned"
tags: ["token"]
---

# Returns a list of binned hit pathway sizes associated with the token

`GET /token/{token}/pathways/binned`

## Request

- Base URL: `https://release.reactome.org/AnalysisService`
- URL: `https://release.reactome.org/AnalysisService/token/{token}/pathways/binned`
- Auth: none declared
- TypeScript: <https://skmtc.dev/reactome/apis/pathway-analysis-service/docs/token/:token/pathways/binned/get.ts> (a function with typed inputs; its response is checked against the schema)

Each bin has a key that determines the range by multiplying it by the binSize: [key x binSize - key+1 x binSize). For example, for a binSize of 100 and the range for the bin with key equals 8 is [800 - 900)

## Path parameters

- `token` string, required

## Query parameters

- `resource` 'TOTAL' | 'UNIPROT' | 'ENSEMBL' | 'CHEBI' | 'IUPHAR' | 'MIRBASE' | 'NCBI_PROTEIN' | 'EMBL' | 'COMPOUND' | 'PUBCHEM_COMPOUND': the resource to sort
- `binSize` string: defines the size of each bin for the classification (min: 100)
- `species` string
- `pValue` number, double
- `includeDisease` boolean

## Other responses

- `404`: No result corresponding to the token was found
- `410`: Result deleted due to a new data release

---

[API](https://skmtc.dev/reactome/apis/pathway-analysis-service.md) - [All operations](https://skmtc.dev/reactome/apis/pathway-analysis-service/llms.txt) - [OpenAPI document](https://skmtc.dev/reactome/apis/pathway-analysis-service/revisions/935cc02cac0f?raw)
