---
title: "Make an RPC call."
method: POST
path: "/rpc/{apiKey}"
tags: ["Rpc"]
---

# Make an RPC call.

`POST /rpc/{apiKey}`

## Request

- Base URL: `https://chainflip-broker.io`
- URL: `https://chainflip-broker.io/rpc/{apiKey}`
- Auth: none declared

A JSON-RPC endpoint compatible with the native Chainflip broker, so code written for
it, the Chainflip SDK and Swapkit can use BaaS by pointing their broker URL here. Your
configured commission is enforced: a lower commission in the request is raised to it.
One call per request, with positional (array) params.

## Path parameters

- `apiKey` string, required

## Request body

- unknown

## Response `200`

An RPC response for the RPC call.

- unknown

## Other responses

- `400`: The request has invalid information.
- `401`: The partner does not have access.
- `403`: Swaps between these assets are not enabled for the partner.
- `500`: An error occurred.

---

[API](https://skmtc.dev/chainflip-broker/apis/chainflip-broker-as-a-service.md) · [All operations](https://skmtc.dev/chainflip-broker/apis/chainflip-broker-as-a-service/llms.txt) · [OpenAPI document](https://skmtc.dev/chainflip-broker/apis/chainflip-broker-as-a-service/revisions/3c819d79d6b9?raw)
