ARCNM pay
v1.0.1CAD part manufacturing cost, EUR 0.89 per calculation: pay per call in USDC, no account
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
price_parts Price parts
Use for a new CAD file (STEP or DXF): its binding offer and, paid, its result; to follow a purchase use get_result, for a paid part at another lot size use preview_cost. Costs EUR 0.89 per made part per environment, VAT included, no account; bought and catalogue parts free; billable only when paid, never for a failed calculation. One file (file_base64) or many (items), at most 16 MB a call as base64 (more: POST /pay/price); offer_id alone: an earlier offer, without the file; neither: the environments, parameters, limits and unit price, free. Answers: unpaid, an error carrying the x402 payment…
| Parameter | Type | Description |
|---|---|---|
annual_volume | Pieces a year. | |
costing_date | Not used yet: an offer is priced as of the day it runs. | |
country | Your country, ISO 3166-1 alpha-2. | |
currency | ISO 4217: each environment states its prices in it with its own rates. Default: each environment's own. | |
drawing_base64 | A drawing of the part: not read and not kept, the price is the geometry's (the offer's item says so in `drawing`). | |
environments | Up to 16 environments to price in, in order (the first is the baseline): ids price_parts lists when called with no arguments, `id@version`, or `{id, version}`. Default: DE-BY. | |
file_base64 | string | The CAD file (STEP or DXF) as base64, or a data: URI; gzip-compressed is accepted. |
filename | Its name, e.g. bracket.step. | |
invoice_to | Who the invoice names: name and address. The price is the same. | |
items | array | Many files in one offer and one payment, each with its own file_base64, filename, material and sheet_gauge_mm. |
lot_size | Pieces per lot the run is priced at. Default: 1. | |
lot_sizes | The lots the answer states, at most 12. Default: 1, 10, 100 and 1000. | |
material | The material. | |
offer_id | An earlier offer. | |
sheet_gauge_mm | Sheet thickness in millimetres: with `material`, required for a DXF flat pattern. | |
vat_id | Your EU VAT ID, for an invoice that names it. The price is the same; the VAT inside it follows where you are (a VAT ID is not verified yet). |
get_result Get result
Use to follow a purchase price_parts made: its status while it runs, then its result and receipt, and what it still owes, if anything; for a new file use price_parts, for a paid part at another lot size use preview_cost. Needs the purchase_id and result_token the paid answer carried. Answers: status running or settling with progress and retry_after (call again); status paid with the summary (every item in every environment at the lots asked, the cheapest environment per lot) and the receipt; view=full for one cell or component in full, a page at a time (cursor). A purchase that owes an amount…
| Parameter | Type | Description |
|---|---|---|
purchase_id * | string | The purchase's id (a UUID). |
result_token * | string | The result_token the paid answer carried (30 days). |
component | string | One component, by its key in `components`. |
cursor | string | The next page. |
environment | string | One environment, by id. |
item | string | One item, from 1. |
lot_sizes | string | Lots to state, comma separated: a part is restated at any lot, free; an assembly states the lots it was priced at. |
view | string | `summary` (default): items, cells and lots. `full`: a cell (or with `component`, a component) as `GET /calculations/{id}` states it. `cost_sheet`: the itemised sheet of a part or a component at `lot_s… |
preview_cost Preview cost
Use for a purchase already paid, to see one part or component at another lot size: its itemised cost sheet at lot_size, from the paid result, with no new file and nothing new calculated; for a new file use price_parts, for the status, the summary or what is owed use get_result. Needs purchase_id and result_token; item and environment pick the cell (default: the first), component a part of an assembly (an assembly has no sheet of its own). Answers: status paid, view cost_sheet, with item, environment, component, lot_size and cost_sheet; a purchase not paid yet answers as get_result does. Read-o…
| Parameter | Type | Description |
|---|---|---|
purchase_id * | string | The purchase's id (a UUID). |
result_token * | string | The result_token the paid answer carried (30 days). |
component | string | One component, by its key in `components`. |
environment | string | One environment, by id. |
item | string | One item, from 1. |
lot_size | string | The lot of `view=cost_sheet`. |