README for programs and AI agents
robotparts is a static catalog: every file below is plain JSON, CSV or SQLite on robotparts.dev, served with Access-Control-Allow-Origin: * under /v1/, /v2/ and /releases/. Release 2026.12.01.1, format robotparts/2 (amended by robotparts/2.1). The rule: nothing is invented and nothing is rewritten; a value nobody stated is null, and every value carries its source. A short version of this page is /llms.txt; the pages for people start at the home page.
Files
| Path | What | Size |
|---|---|---|
| /v2/catalog.json | the catalog's index (robotparts/2.13): {format, release, sources, folders, counts, levels, catalog_files: [{category, path, parts, bytes, sha256}]}; the parts are in catalog/<category>.json | 3 KB |
/v2/catalog/<category>.json | every part of one category (atlas, retired and folder-only), sorted by id, without price history: {format, release, category, parts}; joined in the index's order they are the whole catalog | — |
/v2/parts/<id>.json | one part: its catalog entry plus quotes, its full price history, as the last key | — |
| /v2/paths.json | {format, release, paths: {path: {id, kind, url}}, dropped: [{path, kind, ids, reason}]} | 583 KB |
| /v2/catalog.sqlite | tables parts, specs, listings, views, ports, measurements, comparisons, paths | 20.4 MB |
/v2/price-history/<category>/<YYYY-MM>.csv | every price observation, one file per category and month: part_id plus the observation keys | — |
/v2/files/<sha256><ext> | every hosted view file (MJCF, meshes), immutable, by content | — |
| /v2/sources.json | the sources model: every source (a host or an atlas) with its kind, rule, refresh command, first and last access, counts and the parts' ids at it; every asset of every part (assets: fields, urls, rows of [part, kind, field, value, url index, accessed, basis, atlas, source, brand]); each URL's newest link check (links); freshness.toml's thresholds (freshness) | 11.8 MB |
| /v2/release.json | the manifest: {format, release, sources, counts, levels, files: {name: sha256}} | 13 KB |
/releases/<release>/v2/ | catalog.json (with catalog/<category>.json from robotparts/2.13 on), paths.json and release.json of each tagged release, never changed | — |
| /v1/catalog.json | the frozen robotparts/1 catalog (SCHEMA.md), with its CSVs, SQLite and Data Package | 17.4 MB |
| /simple/ | a PEP 503 index for pip: the robotparts wheel | — |
| /search/index.json | the site search's index: {format, release, fields, parts: [[id, url, category, name, title, level, price_usd, paths, price_usd_for]]}; price_usd is the part's Price from, and price_usd_for what that figure stands for when it is an atlas's conversion (the seller's price with its currency, or "a price in" the currency when the atlas kept only that), as text, else null | — |
| /authoring/measurements.md | the measurement guide (docs/measurements.md), as Markdown | — |
A part record
Keys in this order (SCHEMA2.md §9):
id, category, brand, model, title, family- identity (null when nobody stated it)
url, datasheet_url, image_url- links the atlas or folder recorded
specs- {key: {value, unit, source_url, source_kind, note?, raw?, basis?, bound?, page?, quote?}}, verbatim
offers, assets, extras, origin- robotparts/1 meanings: the current pin's offers, [], the atlas's other fields, the atlas and commit
folder, same_as, retired- the part folder, the part this record duplicates, the last release of a retired id
level, checks- the frozen evidence ladder, 0-5, and the five booleans behind it (derived); the site shows the ready level of /v2/readiness.json, which adds a hosted photo to level 2
drivetrain, canonical, citations, conflicts- geared / direct_drive / motor; registry key → spec key; other sources citing a spec; disagreements shown, never resolved
buses, protocols, frame_datum, ports, diagnostics- the box's surface in the part frame
views- {technical-data, 3d-models, simulation-models, handover-documentation, nameplate, images, software}: each a list of {title, format, hosted, url, sha256, bytes, license, …, placeable, package, api_standard, language, note, hosting_basis, owner_note, stars, downloads, in_use}; the last five are robotparts/2.1's and missing from a 2.0 record, so read a missing one as null
listings, measured, comparisons- each listing at its newest observation; every measurement record; measured against the datasheet
paths, notes- import paths (canonical first) with their URLs; the folder's notes.md
Paths and URLs
Parts are flat, by id. Import paths are built on top and the page URL mirrors the path: actuator.steadywin.gim4305_10 ↔ /actuator/steadywin/gim4305-10/ (segments joined by /, _ written -). Kinds: canonical (<category>.<module name of the id>, forever), brand (<category>.<brand>.<model>, dropped when ambiguous), alias (curated, append-only). A reader accepts a kind it does not know.
Pages: the part page lives at the canonical URL; a brand or alias URL is a small page with rel=canonical and a meta refresh to it. Every namespace URL (/actuator/, /actuator/steadywin/) lists what is under it. Pages that are not paths live under reserved segments: /search/, /search/compare/, /authoring/, /api/, /static/.
Python
pip install --index-url https://robotparts.dev/simple/ robotparts
from robotparts import RobotPart, v2
part = v2.get("mjbots-moteus-c1") # every part; robotparts.get() is the frozen v1 catalog
v2.resolve("/actuator/steadywin/gim4305-10/") # a dotted path, a URL path or a full robotparts.dev URL
v2.find(category="actuator", brand="CubeMars", level=2)
part.spec("voltage_max"), part.si("voltage_max") # the Spec a registry key resolves to; its SI value
part.best_offer(qty=1, in_stock=True, region=None)
from robotparts.driver.mjbots import moteus_c1 # every path imports
Levels
- Listed: brand and model (or a title) are stated, and the part has a link: a product page, a datasheet or a listing.
- Datasheet ready: every key spec of the category resolves to a value the manufacturer states, with a source URL and a unit the key allows, none of them is in conflict, and robotparts.dev hosts a product photo.
- 3D ready: at least one placeable 3D model: a format CAD imports as a model, a known frame and length unit, terms someone has read, and pinned bytes; a file hosted by the owner's decision counts like any hosted file.
- Sim ready: a simulation model hosted on robotparts.dev: an MJCF in the part frame that passes the robotparts MJCF profile (SCHEMA2.md §4.3).
- Hardware ready: an active measurement with a 95% interval, plus a twin tracking error with its interval against this part's own hosted MJCF.
Derived from the record, never set by hand; levels 4 and 5 are claims a reviewer accepted, not facts robotparts verified. The level a page shows is the ready level of /v2/readiness.json (robotparts/2.11): each category's checklist, item by item, and every part's result. A record's own level and checks are the frozen robotparts/2 ladder, which has no photo item; Python reads both, part.level and part.ready.
Prices
A listing is (seller, url, variant, qty, currency, includes). price and currency are the seller's on a quote line, and on an atlas's copy the atlas's price in the seller's currency when it kept one, else its USD figure; price_usd is a quote line's price when it was in USD, or the atlas's own USD figure, which for a price in another currency is the atlas's conversion. robotparts converts no currency (SCHEMA2.md §5.2). An atlas entry that names the seller's currency but keeps no price in it (currency_original without price_original in the part's offers) becomes an observation in USD; the pages still name that currency beside its figure. Every observation is dated (observed_at), and the history only grows: a re-scrape adds observations and never erases one. "Price from" on the pages is SCHEMA2.md §5.3's min_price_usd: the lowest USD figure among listings that sell the part alone; when it is an atlas's conversion, the pages say so and name the seller's price.
Measurements
Append-only files under parts/<id>/measured/, each record with a registry key, value, unit, 95% interval, scope (part or as_mounted), specimen, contributor and pinned evidence. Many people measuring many units of one model build a statistical picture of the true datasheet, the way GPU benchmarks do. How to submit measurements.
Hosted files
A view is a link (hosted: false, url on another site) or a file robotparts.dev hosts by content at /v2/files/<sha256><ext>. A hosted file says why in hosting_basis (robotparts/2.1): licence, its terms allow redistribution; or owner, hosted by the site owner's decision although its terms grant none, with an owner_note saying who decided, when and why. Either way license is the file's real terms, never a licence its maker did not grant. CAD from a directory (TraceParts, Ultra Librarian, McMaster-Carr, …) is never hosted, on either basis.
Software metrics
A software view may state stars {count, read_on, source_url} (popularity, read on GitHub), and in_use {count, unit, read_on, source_url, kind} and downloads {count, period, read_on, source_url, kind} (use). Each is one dated, sourced reading; robotparts ranks by none of them, and counts of different kinds or periods do not compare.