---
title: "Compute RIN on-the-fly from a PDB file"
method: GET
path: "/scop3p/api/v1/rin/compute/{pdb_id}"
tags: ["RIN"]
---

# Compute RIN on-the-fly from a PDB file

`GET /scop3p/api/v1/rin/compute/{pdb_id}`

## Request

- Base URL: `https://iomics.ugent.be` (the document declares no server; this is the origin it was published from)
- URL: `https://iomics.ugent.be/scop3p/api/v1/rin/compute/{pdb_id}`
- Auth: none declared
- TypeScript: <https://skmtc.dev/ugent/apis/scop3p-api/docs/scop3p/api/v1/rin/compute/:pdb_id/get.ts> (a function with typed inputs; its response is checked against the schema)

## Path parameters

- `pdb_id` string, required

## Query parameters

- `chain` string
- `cutoff` number

## Response `200`

RIN graph computed from the downloaded PDB file.

- RINResponse
  - `nodes` RINNodeResponse[], required
    - `id` string, required
  - `edges` RINEdgeResponse[], required
    - `source` string, required
    - `target` string, required
    - `distance` string, required
    - `edge_weight` string, required

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/ugent/apis/scop3p-api.md) - [All operations](https://skmtc.dev/ugent/apis/scop3p-api/llms.txt) - [OpenAPI document](https://skmtc.dev/ugent/apis/scop3p-api/revisions/d3d41ff396f7?raw)
