RabbitMQ Bindings API

The Bindings API from RabbitMQ — 2 operation(s) for bindings.

GitHub OpenAPI
Business capability
IT Infrastructure Management BC-600.50

Operations 3

Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay

GET /bindings List all exchange-to-queue bindings · List all bindings #
Ask an LLM
“Which exchanges bind to which queues in my RabbitMQ cluster?”
“Can I see every binding in a vhost at once?”
Tell an agent
List all bindings in the cluster.
Show every exchange-to-queue binding.
GET /bindings/{vhost}/e/{exchange}/q/{queue} List bindings between an exchange and a queue · List bindings between exchange and queue #
Ask an LLM
“What routing keys bind a specific exchange to a queue?”
“Can I check whether a queue is bound to an exchange in a vhost?”
Tell an agent
List bindings between exchange {exchange} and queue {queue} in vhost {vhost}.
Show the routing keys binding {queue} to {exchange} in {vhost}.
POST /bindings/{vhost}/e/{exchange}/q/{queue} Bind an exchange to a queue · Create binding #
Ask an LLM
“How do I route messages from an exchange to a queue?”
“Can I bind a queue to an exchange with a routing key?”
Tell an agent
Bind queue {queue} to exchange {exchange} in vhost {vhost}.
Create a binding from {exchange} to {queue} in {vhost} with routing key {routing_key}.

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/rabbitmq:rabbitmq-bindings-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

rabbitmq-bindings-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: RabbitMQ Management HTTP Bindings API
  description: The RabbitMQ Management Plugin provides an HTTP-based API for management and monitoring of RabbitMQ nodes and clusters. It allows management of exchanges, queues, bindings, virtual hosts, users, permissions, policies, and more.
  version: 3.13.0
  contact:
    name: RabbitMQ
    url: https://www.rabbitmq.com/
  license:
    name: MPL 2.0
    url: https://www.mozilla.org/en-US/MPL/2.0/
servers:
- url: http://localhost:15672/api
  description: Default RabbitMQ Management API
security:
- basicAuth: []
tags:
- name: Bindings
paths:
  /bindings:
    get:
      summary: List all bindings
      operationId: listBindings
      tags:
      - Bindings
      responses:
        '200':
          description: List of bindings
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/Binding'
  /bindings/{vhost}/e/{exchange}/q/{queue}:
    get:
      summary: List bindings between exchange and queue
      operationId: listBindingsBetween
      tags:
      - Bindings
      parameters:
      - name: vhost
        in: path
        required: true
        schema:
          type: string
      - name: exchange
        in: path
        required: true
        schema:
          type: string
      - name: queue
        in: path
        required: true
        schema:
          type: string
      responses:
        '200':
          description: List of bindings
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/Binding'
    post:
      summary: Create binding
      operationId: createBinding
      tags:
      - Bindings
      parameters:
      - name: vhost
        in: path
        required: true
        schema:
          type: string
      - name: exchange
        in: path
        required: true
        schema:
          type: string
      - name: queue
        in: path
        required: true
        schema:
          type: string
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                routing_key:
                  type: string
                arguments:
                  type: object
      responses:
        '201':
          description: Binding created
components:
  schemas:
    Binding:
      type: object
      properties:
        source:
          type: string
        vhost:
          type: string
        destination:
          type: string
        destination_type:
          type: string
          enum:
          - queue
          - exchange
        routing_key:
          type: string
        arguments:
          type: object
        properties_key:
          type: string
  securitySchemes:
    basicAuth:
      type: http
      scheme: basic