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.
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 & path | What it does | Auth |
|---|---|---|
| GET /robots | Search robots: q, category, industry, maker, buyer, maxPriceUsd, limit | – |
| GET /robots/{slug} | Robot details, specs, sources, industries | – |
| GET /parts | Search parts: q, type, maker, robot, maxPriceUsd, limit | – |
| GET /parts/{slug} | Part details, part number, compatible robots | – |
| GET /compatibility | Parts for ?robot=slug, optional &part= check and &type= | – |
| POST /orders | Create 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
| Tool | Arguments | REST equivalent |
|---|---|---|
| search_robots | q, category, industry, maker, buyer, maxPriceUsd, limit | GET /robots |
| search_parts | q, type, maker, robot, maxPriceUsd, limit | GET /parts |
| check_compatibility | robot (required), part, type | GET /compatibility |
| get_part | slug | GET /parts/{slug} |
| request_order | part, quantity, shipToCountry, robot, contactEmail, maxUnitPriceUsd, notes, agentId, robotSerial | POST /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
- Read endpoints and read-only MCP tools are public: 60 requests/minute per IP (or per key when one is sent).
- Order requests need a key: 10 order requests/minute per key. Responses carry
X-RateLimit-*headers;429includesRetry-After. - Keys look like
rr_live_…, are shown once when issued, and can be revoked at any time. We store only a hash. - To get a key, contact us with your company, use case and expected volume.
- Using the API, the MCP server or an API key means you agree to the Terms of Service, including the API and agent rules: you are responsible for every request and order request your agents make, and parts are supplied and fulfilled by third-party vendors, not by AI3 Inc. See also the Privacy Policy.