RRudeRobotics
Menu

Developers · API v1

Let robots buy their own parts

A versioned REST API and an MCP server over the RudeRobotics catalogue. A robot (or the agent that runs it) can look itself up, find a compatible battery, brush or propeller, and file an order request when it wears out.

Order requests only, no payments. Order request only. RudeRobotics does not take payment through the API; a human confirms price, availability and payment terms with you before anything ships.

Quick start

Base URL: https://ruderobotics.com/api/v1. Reads need no key.

# 1. Find your robot
curl "https://ruderobotics.com/api/v1/robots?q=mini+4+pro"

# 2. What fits it?
curl "https://ruderobotics.com/api/v1/compatibility?robot=dji-mini-4-pro&type=batteries"

# 3. File an order request (API key required, no payment taken)
curl -X POST "https://ruderobotics.com/api/v1/orders" \
  -H "Authorization: Bearer $RR_API_KEY" -H "Content-Type: application/json" \
  -d '{"part":"dji-mini-4-pro-intelligent-flight-battery","quantity":2,
       "robot":"dji-mini-4-pro","shipToCountry":"SG","maxUnitPriceUsd":120,
       "agentId":"drone-fleet-07","notes":"battery health below 70%"}'

The response is 201 with an order object: id, status: "received", type: "order_request", payment.taken: false, indicative unit price and total, a compatibility check and any warnings. A human then emails a firm quote.

Endpoints

Method & pathWhat it doesAuth
GET /robotsSearch robots: q, category, industry, maker, buyer, maxPriceUsd, limit–
GET /robots/{slug}Robot details, specs, sources, industries–
GET /partsSearch parts: q, type, maker, robot, maxPriceUsd, limit–
GET /parts/{slug}Part details, part number, compatible robots–
GET /compatibilityParts for ?robot=slug, optional &part= check and &type=–
POST /ordersCreate an order request (stored for a human to quote)Bearer key

Errors are JSON: {"error":{"code":"…","message":"…"}}. Prices are indicative, taken from the cited retailer or maker page, with price.usd as an approximate conversion.

MCP server

Streamable HTTP endpoint (stateless, built with the official MCP TypeScript SDK): https://ruderobotics.com/mcp

ToolArgumentsREST equivalent
search_robotsq, category, industry, maker, buyer, maxPriceUsd, limitGET /robots
search_partsq, type, maker, robot, maxPriceUsd, limitGET /parts
check_compatibilityrobot (required), part, typeGET /compatibility
get_partslugGET /parts/{slug}
request_orderpart, quantity, shipToCountry, robot, contactEmail, maxUnitPriceUsd, notes, agentId, robotSerialPOST /orders (key)

Client config (e.g. Claude Desktop, Cursor or any MCP client that supports remote servers):

{
  "mcpServers": {
    "ruderobotics": {
      "url": "https://ruderobotics.com/mcp",
      "headers": { "Authorization": "Bearer rr_live_…" }
    }
  }
}

TypeScript:

import { Client } from "@modelcontextprotocol/sdk/client/index.js";
import { StreamableHTTPClientTransport } from "@modelcontextprotocol/sdk/client/streamableHttp.js";

const client = new Client({ name: "my-robot", version: "1.0.0" });
await client.connect(new StreamableHTTPClientTransport(new URL("https://ruderobotics.com/mcp"), {
  requestInit: { headers: { Authorization: `Bearer ${process.env.RR_API_KEY}` } },
}));
const fit = await client.callTool({ name: "check_compatibility", arguments: { robot: "unitree-go2", type: "batteries" } });

API keys & limits

Developers: agent commerce API & MCP server | RudeRobotics