■ Slicer-accurate 3D-print API · rev 0.2
Send a model file. Get back real print time, filament grams, dimensions, price, G-code and a printability report — run through a production slicing engine, not a formula.
Live instrument
This panel calls the live production API. Load an STL, OBJ or 3MF (or the bundled sample cube), set a printer and material, and it is sliced for real — the readout is a genuine measurement.
// public evaluation endpoint · rate-limited, unauthenticated · production & volume use runs through the REST or agent API below.
Interface spec
Send a model with a printer and material. FabTally runs it through a production slicing engine and returns structured JSON: print time, filament grams & meters, layer count, dimensions & volume, fits-on-bed, and a price.
# slice + price a part curl -X POST https://fabtally.com/api/quote/v1/quote \ -F file=@part.stl \ -F material=pla \ -F printer=bambu-a1 \ -F quantity=1
{
"print_time_human": "20m 52s",
"filament_g": 4.13,
"layer_count": 100,
"model_stats": {
"dimensions_mm": {"x":20,"y":20,"z":20},
"volume_cm3": 8.0,
"fits_on_bed": true
},
"quote": { "total": 5.00, "currency": "USD" }
}
Machine roster
Each entry ships as a calibrated machine preset with its true bed volume and nozzle. Pass the id shown; fits-on-bed is checked against these dimensions.
Agent interface · x402
Autonomous agents buy a slice, quote, DFM report or attestation with no signup — paying per call in USDC on Base via the x402 protocol. An unpaid request returns a standard 402 carrying price, asset and pay-to; pay and the same request settles and returns the result. No docs required to transact.
| Method | Path | Returns | Price |
|---|---|---|---|
| Geometry & quote | |||
| POST | /agent/v1/analyze | Geometry only — bbox mm, volume cm³, triangles, watertight. No slice. | $0.002 |
| POST | /agent/v1/quote | Priced quote: print time, filament grams, dimensions, total. | $0.005 |
| POST | /agent/v1/preview | Base64 PNG render of the model — no slice. | $0.005 |
| Slice | |||
| POST | /agent/v1/slice | Full slice metrics + geometry + fits-on-bed. | $0.005 |
| POST | /agent/v1/slice/preview | Slice metrics plus a rendered PNG. | $0.010 |
| POST | /agent/v1/slice/gcode | Slice metrics plus downloadable G-code. | $0.015 |
| POST | /agent/v1/slice/full | Everything — metrics, preview PNG and G-code. | $0.020 |
| DFM & attestation | |||
| POST | /agent/v1/dfm | Printability report: verdict, wall-thickness, overhangs, support & material deltas. | $0.010 |
| POST | /agent/v1/orient | Orientation optimiser — slices ≤4 candidates, recommends least-support. | $0.020 |
| POST | /agent/v1/attest | Signed point-in-time observation of a public URL (ed25519). | $0.010 |
| Free | |||
| POST | /agent/v1/dfm-preview | Geometry-only DFM teaser — printable-so-far verdict, no charge. | free |
Everything an agent needs to find and call FabTally, already published.
Listed in the official MCP registry as com.fabtally/slicer — a hosted, remote streamable-HTTP server at https://fabtally.com/mcp. Point an MCP client (Claude / ChatGPT Desktop) at it for list_printers, get_print_quote, slice_model, check_printability, optimize_orientation, compare_printers, recommend_material, recommend_settings, whatif_infill, scale_advisor, validate_model, cost_breakdown, analyze_3d_model and more. Free for personal & interactive use (fair-use daily limits) — real slice metrics, full DFM, orientation and the advisors, no wallet, no payment. Just paste a link (Thingiverse, Printables, MakerWorld, GitHub, Google Drive, Dropbox, a direct STL/3MF or a zip) or upload a local file at fabtally.com/upload. Only the downloadable G-code file is paid.
Price schedule
Personal & interactive use is FREE (fair-use daily limits per user): real slice metrics — print time, filament, layers, cost — full DFM/printability, orientation optimisation, and the printer/material/settings advisors, with no wallet and no payment. The table below is the per-call x402 (USDC on Base) / prepaid-credit lane for agents, production and high volume, plus the one paid output a hobbyist doesn't need: the downloadable G-code file. Slicing runs only after payment settles, so malformed input is never charged.
| Call | What you get | Price |
|---|---|---|
| analyze | Geometry only — bbox, volume, triangles, watertight. | $0.002 |
| quote | Full priced quote: print time, filament, dimensions, price. | $0.005 |
| preview | Rendered PNG preview of the model. | $0.005 |
| slice | Slice metrics + geometry + fits-on-bed. | $0.005 |
| slice + preview | Slice metrics plus a rendered PNG. | $0.010 |
| dfm | Printability report with support & material deltas. | $0.010 |
| attest | Signed point-in-time URL observation. | $0.010 |
| slice + gcode | Slice metrics plus downloadable G-code. | $0.015 |
| orient | Orientation optimiser (multi-slice compute). | $0.020 |
| full | Everything — metrics, preview PNG and G-code. | $0.020 |
Not an agent?
No wallet, no x402. Pay by card, get an API key, and call the same endpoints at the same per-call prices — credits drawn down as you go. Packs from $5.
// Building a store, MES or high-volume integration on the REST API? Human/dev pricing is separate — contact us or read the API spec.