API reference
Materials
The Materials API looks up material grades and manages per-tenant overrides: search grades, resolve one by URN, and create, update, or delete cost overrides.
The Materials API looks up material grades and manages per-tenant overrides: search grades, resolve one by URN, and create, update, or delete cost overrides.
Auto-generated from the public OpenAPI spec — this page never drifts from the running API. Base URL
https://api.arcnm.io. Authenticate with theX-API-Keyheader (see Authentication).
List Material Attribute Vocabulary
GET /api/v1/materials/attribute-vocabulary
Every material attribute the platform carries, and what it drives.
A material master sheet is only worth filling in if the figures reach something. This endpoint states, per key, which part of the costing engine reads it — or, where nothing does, says so in those words and gives the reason. There is no third state: a key that reached the engine and was never read would price your part identically whether you set it or not, and nothing on the quote would tell you.
Two scopes appear together because they are indistinguishable by the
time pricing sees them: grade keys are the ones you can state on
your own materials and override on catalogue ones, and group keys
are stated by the workpiece-material group and inherited by every
grade on it that does not state its own.
The grade set is exactly what the write paths accept, and they
accept nothing else: attributes on a grade or an override is a
closed vocabulary, and an unknown key or an out-of-set verdict is
refused rather than stored. A key that carries a closed set of
verdicts — the route gates like laser_cuttable or weldability_class
— lists them in values; a numeric key carries a unit instead and
leaves values null.
Ordered: the wired attributes first, then the display-only ones, alphabetically within each.
Request
curl -X GET https://api.arcnm.io/api/v1/materials/attribute-vocabulary \
-H "X-API-Key: $ARCNM_API_KEY"
import requests
resp = requests.get(
"https://api.arcnm.io/api/v1/materials/attribute-vocabulary",
headers={"X-API-Key": "YOUR_API_KEY"},
)
resp.raise_for_status()
print(resp.json())
const resp = await fetch("https://api.arcnm.io/api/v1/materials/attribute-vocabulary", {
method: "GET",
headers: {
"X-API-Key": process.env.ARCNM_API_KEY!,
},
})
const data = await resp.json()
Responses
| Status | Description |
|---|---|
200 |
Successful Response |
422 |
Validation Error |
default |
Error — the error envelope; branch on error.code. |
Errors
Standard error responses — see the Errors catalog for the full envelope, request_id, and retry-safety table.
| Status | Code | When |
|---|---|---|
401 |
invalid_api_key |
Missing, malformed, or revoked API key. |
403 |
insufficient_scope |
The key is valid but lacks a scope this endpoint requires. |
429 |
rate_limited |
Per-key or per-org rate limit exceeded — back off with jitter and retry. |
Delete Designation
DELETE /api/v1/materials/designations/{designation_id}
Remove one of your designations. Calculations already priced through it keep the grade they were priced on; the next calculation of a part whose drawing carries the spelling no longer binds it.
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
designation_id |
path | string | yes | Identifier of the designation. |
Request
curl -X DELETE https://api.arcnm.io/api/v1/materials/designations/{designation_id} \
-H "X-API-Key: $ARCNM_API_KEY"
import requests
resp = requests.delete(
"https://api.arcnm.io/api/v1/materials/designations/{designation_id}",
headers={"X-API-Key": "YOUR_API_KEY"},
)
resp.raise_for_status()
print(resp.json())
const resp = await fetch("https://api.arcnm.io/api/v1/materials/designations/{designation_id}", {
method: "DELETE",
headers: {
"X-API-Key": process.env.ARCNM_API_KEY!,
},
})
const data = await resp.json()
Responses
| Status | Description |
|---|---|
200 |
Successful Response |
422 |
Validation Error |
default |
Error — the error envelope; branch on error.code. |
Errors
Standard error responses — see the Errors catalog for the full envelope, request_id, and retry-safety table.
| Status | Code | When |
|---|---|---|
401 |
invalid_api_key |
Missing, malformed, or revoked API key. |
403 |
insufficient_scope |
The key is valid but lacks a scope this endpoint requires. |
404 |
not_found |
A referenced resource doesn't exist or isn't visible to your organisation. |
409 |
conflict |
A conflicting change, or an Idempotency-Key reused with a different body. |
429 |
rate_limited |
Per-key or per-org rate limit exceeded — back off with jitter and retry. |
Response body 200
| Field | Type | Description |
|---|---|---|
message |
string | Human-readable confirmation that the resource was deleted. |
Example response
{
"message": "string"
}
List Grades
GET /api/v1/materials/grades
List the material grades available to you.
That is the standards catalogue plus any grade your organization has registered for itself.
q searches across primary_code, display_code, name,
urn AND every alias's code/display_code. A user typing
"AISI 304", "SUS304" or "S30400" therefore finds 1.4301 from this
single endpoint — no need to fall back to POST /lookup.
Returns the total matching row count (not page size) so the frontend can paginate properly.
Paginated. Pass
cursor(from the previous response) to fetch the next page;limitcaps the page size.
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
category |
query | carbon_steel | alloy_steel | stainless_steel | tool_steel | cast_iron | aluminium | copper_alloy | nickel_alloy | titanium_alloy | magnesium_alloy | zinc_alloy | thermoplastic | thermoset | elastomer | composite | other |
no | Filter by material category (e.g. stainless_steel, aluminium). |
iso_group |
query | P | M | K | N | S | H |
no | Filter by ISO 513 machining group (P, M, K, N, S, H). |
q |
query | string | no | Free-text search across grade codes, names, URNs, and aliases. |
include_inactive |
query | boolean | no | Include grades your organization has deactivated. They stay out of the list by default; set this to find one again and reactivate it. |
cursor |
query | string | no | Opaque position token from the previous page's next_cursor (or the Link / X-Next-Cursor response header). Omit it for the first page. Keep every other query parameter identical for the whole walk — a cursor replayed against different filters is rejected. |
limit |
query | integer | no | Maximum rows to return in one page. |
offset |
query | integer | no | Rows to skip. Superseded by cursor, which is stable under concurrent writes; kept for existing integrations. Bounded — past the cap, page with cursor. |
Request
curl -X GET https://api.arcnm.io/api/v1/materials/grades \
-H "X-API-Key: $ARCNM_API_KEY"
import requests
resp = requests.get(
"https://api.arcnm.io/api/v1/materials/grades",
headers={"X-API-Key": "YOUR_API_KEY"},
)
resp.raise_for_status()
print(resp.json())
const resp = await fetch("https://api.arcnm.io/api/v1/materials/grades", {
method: "GET",
headers: {
"X-API-Key": process.env.ARCNM_API_KEY!,
},
})
const data = await resp.json()
Responses
| Status | Description |
|---|---|
200 |
Successful Response |
422 |
Validation Error |
default |
Error — the error envelope; branch on error.code. |
Errors
Standard error responses — see the Errors catalog for the full envelope, request_id, and retry-safety table.
| Status | Code | When |
|---|---|---|
401 |
invalid_api_key |
Missing, malformed, or revoked API key. |
403 |
insufficient_scope |
The key is valid but lacks a scope this endpoint requires. |
429 |
rate_limited |
Per-key or per-org rate limit exceeded — back off with jitter and retry. |
Response body 200
| Field | Type | Description |
|---|---|---|
count |
integer | Total number of grades matching the query (not the page size). |
data |
MaterialGradePublic[] | The material grades on this page. |
has_more |
boolean | Whether more grades match beyond this page. |
next_cursor |
string | Position token for the next page — pass it back as cursor. Null on the last page. |
Example response
{
"count": 0,
"data": [
{
"aliases": [
{}
],
"attributes": {},
"category": "carbon_steel",
"created_at": "2026-06-01T12:00:00Z",
"density_kg_per_m3": 0,
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"is_active": true,
"iso_machining_group": "P",
"name": "string",
"org_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"primary_code": "string",
"primary_standard_code": "en10027-1",
"primary_standard_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"successor_grade_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"updated_at": "2026-06-01T12:00:00Z",
"urn": "string",
"workpiece_group_code": "string",
"workpiece_group_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6"
}
],
"has_more": false,
"next_cursor": "string"
}
Create Org Grade
POST /api/v1/materials/grades
Register a material grade private to your organization.
For a material the standards catalogue does not carry — a house designation, an internal blank, a supplier-specific grade. Only your organization can see or resolve it, and it prices exactly like a catalogue grade: give it a €/kg rate on an environment, or let the category default stand until you do.
The designation is fixed once registered, and one that already resolves for you — a catalogue code, a standard alias, or another of your own grades — is refused.
Request body (application/json)
| Field | Type | Required | Description |
|---|---|---|---|
attributes |
object | no | The material statement for this grade: mechanical and physical figures (yield_mpa, tensile_mpa, hardness_hb, …) and the categorical route gates (laser_cuttable, weldability_class, heat_treatable, …). A closed vocabulary, not free-form: an unknown key or a verdict outside a gate's set is refused (422) rather than stored, because a key nothing reads and a misspelled one are indistinguishable on the quote. GET /materials/attribute-vocabulary lists every accepted key, its unit or its verdicts, and what the costing engine does with it. |
category |
carbon_steel | alloy_steel | stainless_steel | tool_steel | cast_iron | aluminium | copper_alloy | nickel_alloy | titanium_alloy | magnesium_alloy | zinc_alloy | thermoplastic | thermoset | elastomer | composite | other |
yes | Broad material family the grade belongs to (e.g. carbon_steel, aluminium). |
density_kg_per_m3 |
number | yes | Material density in kilograms per cubic metre — steel is about 7850, aluminium about 2700. Mind the unit: a value in g/cm³ is 1000x too small and is rejected. |
designation |
string | yes | Your designation for the grade (e.g. 'WS-42-Blank'). Letters, digits, dots and hyphens; rendered as entered, stored URN-safe. Must not collide with a catalogue code. |
iso_machining_group |
P | M | K | N | S | H |
yes | ISO 513 machining group (P/M/K/N/S/H). Shown on the grade; the cutting data itself comes from workpiece_group_code when set, and from the category's default bin otherwise. |
name |
string | yes | Human-readable name of the material. |
workpiece_group_code |
string | no | Leaf of the workpiece material tree this grade machines as — P2.2 for a hardened-and-tempered low-alloy steel, M3.1 for a duplex stainless, N1.2 for an age-hardened aluminium. Pick it from GET /materials/workpiece-groups. This is what selects the grade's cutting speeds and forces; leave it unset to price on the category's default cutting data. |
Request
curl -X POST https://api.arcnm.io/api/v1/materials/grades \
-H "X-API-Key: $ARCNM_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"category": "carbon_steel",
"designation": "string",
"name": "string",
"iso_machining_group": "P",
"density_kg_per_m3": 0
}'
import requests
resp = requests.post(
"https://api.arcnm.io/api/v1/materials/grades",
headers={"X-API-Key": "YOUR_API_KEY"},
json={
"category": "carbon_steel",
"designation": "string",
"name": "string",
"iso_machining_group": "P",
"density_kg_per_m3": 0
},
)
resp.raise_for_status()
print(resp.json())
const resp = await fetch("https://api.arcnm.io/api/v1/materials/grades", {
method: "POST",
headers: {
"X-API-Key": process.env.ARCNM_API_KEY!,
"Content-Type": "application/json",
},
body: JSON.stringify({
"category": "carbon_steel",
"designation": "string",
"name": "string",
"iso_machining_group": "P",
"density_kg_per_m3": 0
}),
})
const data = await resp.json()
Responses
| Status | Description |
|---|---|
201 |
Successful Response |
422 |
Validation Error |
default |
Error — the error envelope; branch on error.code. |
Errors
Standard error responses — see the Errors catalog for the full envelope, request_id, and retry-safety table.
| Status | Code | When |
|---|---|---|
401 |
invalid_api_key |
Missing, malformed, or revoked API key. |
403 |
insufficient_scope |
The key is valid but lacks a scope this endpoint requires. |
409 |
conflict |
A conflicting change, or an Idempotency-Key reused with a different body. |
429 |
rate_limited |
Per-key or per-org rate limit exceeded — back off with jitter and retry. |
Response body 201
| Field | Type | Description |
|---|---|---|
aliases |
MaterialGradeAliasPublic[] | Cross-references mapping this grade's code across other standards and trade names. Filled on single-grade reads (GET /materials/grades/{id}, /grades/by-urn/{urn}, /grades/{id}/master); list, lookup and batch results always carry an empty list to keep them small — read the grade (e.g. get_grade_master) for its aliases. |
attributes |
object | The grade's material statement — mechanical and physical figures plus the categorical route gates. A closed vocabulary; see GET /materials/attribute-vocabulary for every key and what it drives. |
category |
carbon_steel | alloy_steel | stainless_steel | tool_steel | cast_iron | aluminium | copper_alloy | nickel_alloy | titanium_alloy | magnesium_alloy | zinc_alloy | thermoplastic | thermoset | elastomer | composite | other |
Broad material family the grade belongs to (e.g. steel, aluminium, polymer). |
created_at |
string | Timestamp when the grade record was created. |
density_kg_per_m3 |
number | Material density in kilograms per cubic metre. |
id |
string | Unique identifier of the material grade. |
is_active |
boolean | Whether the grade is currently active and selectable; false when retired. |
iso_machining_group |
P | M | K | N | S | H |
ISO 513 machining group (P/M/K/N/S/H) used to gauge machinability. |
name |
string | Human-readable name of the material grade. |
org_id |
string | Null → platform-catalogue grade shared by every organization; set → this organization's private grade. |
primary_code |
string | Standards-compliant cased display code; the same value as display_code. |
primary_standard_code |
en10027-1 | en10027-2 | en10025 | en10083 | en10084 | en10088 | en10346 | en-iso-4957 | en573-1 | en573-2 | en1412 | din17007 | en1560 | en1561 | en1563 | iso1043-1 | iso1043-2 | iso18064 | uns | aisi-sae | jis | astm | en10130 | en10111 | en10149 | en10085 | en10087 | en10089 | en10028 | en10216 | en10305 | en10293 | en10302 | iso683-17 | en1562 | en1564 | en16079 | en573-3 | en1706 | en1982 | en1753 | en12844 | en60893 | iso1629 | din17100 | din17200 | din17210 | din17440 | din1691 | din1692 | din1693 | din1725 | din17660 | eclass | unspsc | org |
URN-safe code of the primary standard (en10027-2, iso1043-1, …). Hydrated by the routes layer so frontends can render a badge without a second round-trip. |
primary_standard_id |
string | Identifier of the standard that defines this grade's primary code. |
successor_grade_id |
string | Identifier of the grade that supersedes this one; null when still current. |
updated_at |
string | Timestamp when the grade record was last updated. |
urn |
string | Canonical URN that uniquely and stably identifies this grade across systems. |
workpiece_group_code |
string | The group's short code (e.g. P1.2, M1.1, K2.2), hydrated by the routes layer so a UI can render it without a second round-trip. |
workpiece_group_id |
string | Identifier of the workpiece material group (ISO 513 letter → composition subgroup → hardness band) whose cutting data prices this grade; null when the grade falls back to its category's default cutting data. |
Example response
{
"aliases": [
{
"code": "string",
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"is_canonical": false,
"is_preferred_display": true,
"material_grade_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"standard_code": "en10027-1",
"standard_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6"
}
],
"attributes": {},
"category": "carbon_steel",
"created_at": "2026-06-01T12:00:00Z",
"density_kg_per_m3": 0,
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"is_active": true,
"iso_machining_group": "P",
"name": "string",
"org_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"primary_code": "string",
"primary_standard_code": "en10027-1",
"primary_standard_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"successor_grade_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"updated_at": "2026-06-01T12:00:00Z",
"urn": "string",
"workpiece_group_code": "string",
"workpiece_group_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6"
}
Delete Org Grade
DELETE /api/v1/materials/grades/{grade_id}
Delete an org-private grade. Refused (409) while environment
material or scrap prices or calculations still reference it —
deactivate it instead (PATCH {is_active: false}) to keep history
intact.
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
grade_id |
path | string | yes | Identifier of the grade. |
Request
curl -X DELETE https://api.arcnm.io/api/v1/materials/grades/{grade_id} \
-H "X-API-Key: $ARCNM_API_KEY"
import requests
resp = requests.delete(
"https://api.arcnm.io/api/v1/materials/grades/{grade_id}",
headers={"X-API-Key": "YOUR_API_KEY"},
)
resp.raise_for_status()
print(resp.json())
const resp = await fetch("https://api.arcnm.io/api/v1/materials/grades/{grade_id}", {
method: "DELETE",
headers: {
"X-API-Key": process.env.ARCNM_API_KEY!,
},
})
const data = await resp.json()
Responses
| Status | Description |
|---|---|
200 |
Successful Response |
422 |
Validation Error |
default |
Error — the error envelope; branch on error.code. |
Errors
Standard error responses — see the Errors catalog for the full envelope, request_id, and retry-safety table.
| Status | Code | When |
|---|---|---|
401 |
invalid_api_key |
Missing, malformed, or revoked API key. |
403 |
insufficient_scope |
The key is valid but lacks a scope this endpoint requires. |
404 |
not_found |
A referenced resource doesn't exist or isn't visible to your organisation. |
409 |
conflict |
A conflicting change, or an Idempotency-Key reused with a different body. |
429 |
rate_limited |
Per-key or per-org rate limit exceeded — back off with jitter and retry. |
Response body 200
| Field | Type | Description |
|---|---|---|
message |
string | Human-readable confirmation that the resource was deleted. |
Example response
{
"message": "string"
}
Get Grade
GET /api/v1/materials/grades/{grade_id}
Read one material grade by id, including its designations and aliases.
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
grade_id |
path | string | yes | Identifier of the grade. |
Request
curl -X GET https://api.arcnm.io/api/v1/materials/grades/{grade_id} \
-H "X-API-Key: $ARCNM_API_KEY"
import requests
resp = requests.get(
"https://api.arcnm.io/api/v1/materials/grades/{grade_id}",
headers={"X-API-Key": "YOUR_API_KEY"},
)
resp.raise_for_status()
print(resp.json())
const resp = await fetch("https://api.arcnm.io/api/v1/materials/grades/{grade_id}", {
method: "GET",
headers: {
"X-API-Key": process.env.ARCNM_API_KEY!,
},
})
const data = await resp.json()
Responses
| Status | Description |
|---|---|
200 |
Successful Response |
422 |
Validation Error |
default |
Error — the error envelope; branch on error.code. |
Errors
Standard error responses — see the Errors catalog for the full envelope, request_id, and retry-safety table.
| Status | Code | When |
|---|---|---|
401 |
invalid_api_key |
Missing, malformed, or revoked API key. |
403 |
insufficient_scope |
The key is valid but lacks a scope this endpoint requires. |
404 |
not_found |
A referenced resource doesn't exist or isn't visible to your organisation. |
429 |
rate_limited |
Per-key or per-org rate limit exceeded — back off with jitter and retry. |
Response body 200
| Field | Type | Description |
|---|---|---|
aliases |
MaterialGradeAliasPublic[] | Cross-references mapping this grade's code across other standards and trade names. Filled on single-grade reads (GET /materials/grades/{id}, /grades/by-urn/{urn}, /grades/{id}/master); list, lookup and batch results always carry an empty list to keep them small — read the grade (e.g. get_grade_master) for its aliases. |
attributes |
object | The grade's material statement — mechanical and physical figures plus the categorical route gates. A closed vocabulary; see GET /materials/attribute-vocabulary for every key and what it drives. |
category |
carbon_steel | alloy_steel | stainless_steel | tool_steel | cast_iron | aluminium | copper_alloy | nickel_alloy | titanium_alloy | magnesium_alloy | zinc_alloy | thermoplastic | thermoset | elastomer | composite | other |
Broad material family the grade belongs to (e.g. steel, aluminium, polymer). |
created_at |
string | Timestamp when the grade record was created. |
density_kg_per_m3 |
number | Material density in kilograms per cubic metre. |
id |
string | Unique identifier of the material grade. |
is_active |
boolean | Whether the grade is currently active and selectable; false when retired. |
iso_machining_group |
P | M | K | N | S | H |
ISO 513 machining group (P/M/K/N/S/H) used to gauge machinability. |
name |
string | Human-readable name of the material grade. |
org_id |
string | Null → platform-catalogue grade shared by every organization; set → this organization's private grade. |
primary_code |
string | Standards-compliant cased display code; the same value as display_code. |
primary_standard_code |
en10027-1 | en10027-2 | en10025 | en10083 | en10084 | en10088 | en10346 | en-iso-4957 | en573-1 | en573-2 | en1412 | din17007 | en1560 | en1561 | en1563 | iso1043-1 | iso1043-2 | iso18064 | uns | aisi-sae | jis | astm | en10130 | en10111 | en10149 | en10085 | en10087 | en10089 | en10028 | en10216 | en10305 | en10293 | en10302 | iso683-17 | en1562 | en1564 | en16079 | en573-3 | en1706 | en1982 | en1753 | en12844 | en60893 | iso1629 | din17100 | din17200 | din17210 | din17440 | din1691 | din1692 | din1693 | din1725 | din17660 | eclass | unspsc | org |
URN-safe code of the primary standard (en10027-2, iso1043-1, …). Hydrated by the routes layer so frontends can render a badge without a second round-trip. |
primary_standard_id |
string | Identifier of the standard that defines this grade's primary code. |
successor_grade_id |
string | Identifier of the grade that supersedes this one; null when still current. |
updated_at |
string | Timestamp when the grade record was last updated. |
urn |
string | Canonical URN that uniquely and stably identifies this grade across systems. |
workpiece_group_code |
string | The group's short code (e.g. P1.2, M1.1, K2.2), hydrated by the routes layer so a UI can render it without a second round-trip. |
workpiece_group_id |
string | Identifier of the workpiece material group (ISO 513 letter → composition subgroup → hardness band) whose cutting data prices this grade; null when the grade falls back to its category's default cutting data. |
Example response
{
"aliases": [
{
"code": "string",
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"is_canonical": false,
"is_preferred_display": true,
"material_grade_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"standard_code": "en10027-1",
"standard_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6"
}
],
"attributes": {},
"category": "carbon_steel",
"created_at": "2026-06-01T12:00:00Z",
"density_kg_per_m3": 0,
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"is_active": true,
"iso_machining_group": "P",
"name": "string",
"org_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"primary_code": "string",
"primary_standard_code": "en10027-1",
"primary_standard_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"successor_grade_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"updated_at": "2026-06-01T12:00:00Z",
"urn": "string",
"workpiece_group_code": "string",
"workpiece_group_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6"
}
Update Org Grade
PATCH /api/v1/materials/grades/{grade_id}
Partial update of an org-private grade. designation and
category are immutable (both are baked into the URN); use
is_active: false to retire a grade from pickers without
deleting history.
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
grade_id |
path | string | yes | Identifier of the grade. |
Request body (application/json)
| Field | Type | Required | Description |
|---|---|---|---|
attributes |
object | no | The material statement for this grade: mechanical and physical figures (yield_mpa, tensile_mpa, hardness_hb, …) and the categorical route gates (laser_cuttable, weldability_class, heat_treatable, …). A closed vocabulary, not free-form: an unknown key or a verdict outside a gate's set is refused (422) rather than stored, because a key nothing reads and a misspelled one are indistinguishable on the quote. GET /materials/attribute-vocabulary lists every accepted key, its unit or its verdicts, and what the costing engine does with it. |
density_kg_per_m3 |
number | no | Material density in kilograms per cubic metre. Mind the unit: a value in g/cm³ is 1000x too small and is rejected. |
is_active |
boolean | no | Set false to retire the grade from pickers without deleting history. |
iso_machining_group |
P | M | K | N | S | H |
no | ISO 513 machining group (P/M/K/N/S/H). |
name |
string | no | Human-readable name of the material. |
workpiece_group_code |
string | no | Leaf of the workpiece material tree the grade machines as (see GET /materials/workpiece-groups); an empty string clears it so the grade prices on its category's default cutting data again. |
Request
curl -X PATCH https://api.arcnm.io/api/v1/materials/grades/{grade_id} \
-H "X-API-Key: $ARCNM_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"attributes": {},
"density_kg_per_m3": 0,
"is_active": true,
"iso_machining_group": "P",
"name": "string",
"workpiece_group_code": "string"
}'
import requests
resp = requests.patch(
"https://api.arcnm.io/api/v1/materials/grades/{grade_id}",
headers={"X-API-Key": "YOUR_API_KEY"},
json={
"attributes": {},
"density_kg_per_m3": 0,
"is_active": True,
"iso_machining_group": "P",
"name": "string",
"workpiece_group_code": "string"
},
)
resp.raise_for_status()
print(resp.json())
const resp = await fetch("https://api.arcnm.io/api/v1/materials/grades/{grade_id}", {
method: "PATCH",
headers: {
"X-API-Key": process.env.ARCNM_API_KEY!,
"Content-Type": "application/json",
},
body: JSON.stringify({
"attributes": {},
"density_kg_per_m3": 0,
"is_active": true,
"iso_machining_group": "P",
"name": "string",
"workpiece_group_code": "string"
}),
})
const data = await resp.json()
Responses
| Status | Description |
|---|---|
200 |
Successful Response |
422 |
Validation Error |
default |
Error — the error envelope; branch on error.code. |
Errors
Standard error responses — see the Errors catalog for the full envelope, request_id, and retry-safety table.
| Status | Code | When |
|---|---|---|
401 |
invalid_api_key |
Missing, malformed, or revoked API key. |
403 |
insufficient_scope |
The key is valid but lacks a scope this endpoint requires. |
404 |
not_found |
A referenced resource doesn't exist or isn't visible to your organisation. |
409 |
conflict |
A conflicting change, or an Idempotency-Key reused with a different body. |
429 |
rate_limited |
Per-key or per-org rate limit exceeded — back off with jitter and retry. |
Response body 200
| Field | Type | Description |
|---|---|---|
aliases |
MaterialGradeAliasPublic[] | Cross-references mapping this grade's code across other standards and trade names. Filled on single-grade reads (GET /materials/grades/{id}, /grades/by-urn/{urn}, /grades/{id}/master); list, lookup and batch results always carry an empty list to keep them small — read the grade (e.g. get_grade_master) for its aliases. |
attributes |
object | The grade's material statement — mechanical and physical figures plus the categorical route gates. A closed vocabulary; see GET /materials/attribute-vocabulary for every key and what it drives. |
category |
carbon_steel | alloy_steel | stainless_steel | tool_steel | cast_iron | aluminium | copper_alloy | nickel_alloy | titanium_alloy | magnesium_alloy | zinc_alloy | thermoplastic | thermoset | elastomer | composite | other |
Broad material family the grade belongs to (e.g. steel, aluminium, polymer). |
created_at |
string | Timestamp when the grade record was created. |
density_kg_per_m3 |
number | Material density in kilograms per cubic metre. |
id |
string | Unique identifier of the material grade. |
is_active |
boolean | Whether the grade is currently active and selectable; false when retired. |
iso_machining_group |
P | M | K | N | S | H |
ISO 513 machining group (P/M/K/N/S/H) used to gauge machinability. |
name |
string | Human-readable name of the material grade. |
org_id |
string | Null → platform-catalogue grade shared by every organization; set → this organization's private grade. |
primary_code |
string | Standards-compliant cased display code; the same value as display_code. |
primary_standard_code |
en10027-1 | en10027-2 | en10025 | en10083 | en10084 | en10088 | en10346 | en-iso-4957 | en573-1 | en573-2 | en1412 | din17007 | en1560 | en1561 | en1563 | iso1043-1 | iso1043-2 | iso18064 | uns | aisi-sae | jis | astm | en10130 | en10111 | en10149 | en10085 | en10087 | en10089 | en10028 | en10216 | en10305 | en10293 | en10302 | iso683-17 | en1562 | en1564 | en16079 | en573-3 | en1706 | en1982 | en1753 | en12844 | en60893 | iso1629 | din17100 | din17200 | din17210 | din17440 | din1691 | din1692 | din1693 | din1725 | din17660 | eclass | unspsc | org |
URN-safe code of the primary standard (en10027-2, iso1043-1, …). Hydrated by the routes layer so frontends can render a badge without a second round-trip. |
primary_standard_id |
string | Identifier of the standard that defines this grade's primary code. |
successor_grade_id |
string | Identifier of the grade that supersedes this one; null when still current. |
updated_at |
string | Timestamp when the grade record was last updated. |
urn |
string | Canonical URN that uniquely and stably identifies this grade across systems. |
workpiece_group_code |
string | The group's short code (e.g. P1.2, M1.1, K2.2), hydrated by the routes layer so a UI can render it without a second round-trip. |
workpiece_group_id |
string | Identifier of the workpiece material group (ISO 513 letter → composition subgroup → hardness band) whose cutting data prices this grade; null when the grade falls back to its category's default cutting data. |
Example response
{
"aliases": [
{
"code": "string",
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"is_canonical": false,
"is_preferred_display": true,
"material_grade_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"standard_code": "en10027-1",
"standard_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6"
}
],
"attributes": {},
"category": "carbon_steel",
"created_at": "2026-06-01T12:00:00Z",
"density_kg_per_m3": 0,
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"is_active": true,
"iso_machining_group": "P",
"name": "string",
"org_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"primary_code": "string",
"primary_standard_code": "en10027-1",
"primary_standard_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"successor_grade_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"updated_at": "2026-06-01T12:00:00Z",
"urn": "string",
"workpiece_group_code": "string",
"workpiece_group_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6"
}
List Grade Designations
GET /api/v1/materials/grades/{grade_id}/designations
Your organization's own designations for this material grade.
The spellings your drawings use — a house code, an old works standard, a supplier's name for the same material. A designation resolves to this grade wherever a material is named: on a drawing title block, in a quote request, in the picker.
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
grade_id |
path | string | yes | Identifier of the grade. |
Request
curl -X GET https://api.arcnm.io/api/v1/materials/grades/{grade_id}/designations \
-H "X-API-Key: $ARCNM_API_KEY"
import requests
resp = requests.get(
"https://api.arcnm.io/api/v1/materials/grades/{grade_id}/designations",
headers={"X-API-Key": "YOUR_API_KEY"},
)
resp.raise_for_status()
print(resp.json())
const resp = await fetch("https://api.arcnm.io/api/v1/materials/grades/{grade_id}/designations", {
method: "GET",
headers: {
"X-API-Key": process.env.ARCNM_API_KEY!,
},
})
const data = await resp.json()
Responses
| Status | Description |
|---|---|
200 |
Successful Response |
422 |
Validation Error |
default |
Error — the error envelope; branch on error.code. |
Errors
Standard error responses — see the Errors catalog for the full envelope, request_id, and retry-safety table.
| Status | Code | When |
|---|---|---|
401 |
invalid_api_key |
Missing, malformed, or revoked API key. |
403 |
insufficient_scope |
The key is valid but lacks a scope this endpoint requires. |
404 |
not_found |
A referenced resource doesn't exist or isn't visible to your organisation. |
429 |
rate_limited |
Per-key or per-org rate limit exceeded — back off with jitter and retry. |
Create Grade Designation
POST /api/v1/materials/grades/{grade_id}/designations
Teach the catalogue one of your own spellings for this grade.
Register WS-42 against 1.4301 and every drawing whose title block
says WS-42 is priced as 1.4301 from the next calculation on —
density, cutting data and €/kg all follow the grade. Works for
catalogue grades and for grades your organization registered itself.
Only your organization sees it. A spelling that already resolves for you — a catalogue code, a standard alias, another of your own designations — is refused.
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
grade_id |
path | string | yes | Identifier of the grade. |
Request body (application/json)
| Field | Type | Required | Description |
|---|---|---|---|
designation |
string | yes | The spelling your drawings use (e.g. 'WS-42', 'Hausblech 77'). Rendered as entered, stored in a lookup-normalised form. One that already resolves for you is refused. |
Request
curl -X POST https://api.arcnm.io/api/v1/materials/grades/{grade_id}/designations \
-H "X-API-Key: $ARCNM_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"designation": "string"
}'
import requests
resp = requests.post(
"https://api.arcnm.io/api/v1/materials/grades/{grade_id}/designations",
headers={"X-API-Key": "YOUR_API_KEY"},
json={
"designation": "string"
},
)
resp.raise_for_status()
print(resp.json())
const resp = await fetch("https://api.arcnm.io/api/v1/materials/grades/{grade_id}/designations", {
method: "POST",
headers: {
"X-API-Key": process.env.ARCNM_API_KEY!,
"Content-Type": "application/json",
},
body: JSON.stringify({
"designation": "string"
}),
})
const data = await resp.json()
Responses
| Status | Description |
|---|---|
201 |
Successful Response |
422 |
Validation Error |
default |
Error — the error envelope; branch on error.code. |
Errors
Standard error responses — see the Errors catalog for the full envelope, request_id, and retry-safety table.
| Status | Code | When |
|---|---|---|
401 |
invalid_api_key |
Missing, malformed, or revoked API key. |
403 |
insufficient_scope |
The key is valid but lacks a scope this endpoint requires. |
404 |
not_found |
A referenced resource doesn't exist or isn't visible to your organisation. |
409 |
conflict |
A conflicting change, or an Idempotency-Key reused with a different body. |
429 |
rate_limited |
Per-key or per-org rate limit exceeded — back off with jitter and retry. |
Response body 201
| Field | Type | Description |
|---|---|---|
code |
string | Lookup-normalised form of the designation (lowercase). |
created_at |
string | Timestamp when the designation was registered. |
display_code |
string | The designation as it was entered. |
id |
string | Unique identifier of the designation. |
material_grade_id |
string | Identifier of the grade this designation resolves to. |
source |
manual | learned | imported |
How the designation was added: typed on the grade (manual), mapped from the unmapped-designation queue (learned), or written by an import (imported). |
Example response
{
"code": "string",
"created_at": "2026-06-01T12:00:00Z",
"display_code": "string",
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"material_grade_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"source": "manual"
}
Get Grade Master
GET /api/v1/materials/grades/{grade_id}/master
The material master record for one grade.
SAP-style split: the grade row is the client-level basic data
(canonical catalogue, or your org-private grade), the override is
your organization's layer (SKU, trade name, property overrides), and
pricing is the plant-level costing view — the €/kg each of your
costing environments would actually use today, each entry labelled
env_rate (that environment's own material rate wins) or
platform_default (the seed fallback applies). Reuses the calc
path's own resolver, so display and pricing cannot disagree.
group is what the grade's workpiece-material group states —
thermal figures, sheet-forming parameters, and the route gates that
decide which processes the material may take at all. A grade inherits
every key it does not state itself, so most materials' laser, weld and
treatment verdicts are here rather than on the grade. Each key names
the node of the tree that states it, and is marked where the grade's
own figure or your override overrides it.
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
grade_id |
path | string | yes | Identifier of the grade. |
Request
curl -X GET https://api.arcnm.io/api/v1/materials/grades/{grade_id}/master \
-H "X-API-Key: $ARCNM_API_KEY"
import requests
resp = requests.get(
"https://api.arcnm.io/api/v1/materials/grades/{grade_id}/master",
headers={"X-API-Key": "YOUR_API_KEY"},
)
resp.raise_for_status()
print(resp.json())
const resp = await fetch("https://api.arcnm.io/api/v1/materials/grades/{grade_id}/master", {
method: "GET",
headers: {
"X-API-Key": process.env.ARCNM_API_KEY!,
},
})
const data = await resp.json()
Responses
| Status | Description |
|---|---|
200 |
Successful Response |
422 |
Validation Error |
default |
Error — the error envelope; branch on error.code. |
Errors
Standard error responses — see the Errors catalog for the full envelope, request_id, and retry-safety table.
| Status | Code | When |
|---|---|---|
401 |
invalid_api_key |
Missing, malformed, or revoked API key. |
403 |
insufficient_scope |
The key is valid but lacks a scope this endpoint requires. |
404 |
not_found |
A referenced resource doesn't exist or isn't visible to your organisation. |
429 |
rate_limited |
Per-key or per-org rate limit exceeded — back off with jitter and retry. |
Response body 200
| Field | Type | Description |
|---|---|---|
effective_flags |
MaterialFlagValue[] | Merged route-gate view — which processes this material may take, your verdicts winning over catalogue ones. States the grade's own layer only; a verdict the grade inherits from its workpiece-material group is carried by group instead. |
effective_properties |
MaterialPropertyValue[] | Merged property view in vocabulary order — your values win over catalogue figures, each entry labelled with its source. |
grade |
MaterialGradePublic | The grade record (canonical catalogue or your org-private grade), aliases included. |
group |
MaterialGroupStatement | What the grade's workpiece-material group states, and which node of the tree states each key — where most of a material's process behaviour actually comes from. Null when the grade is on no group. |
override |
OrgMaterialOverridePublic | Your organization's override row for this grade; null when none exists. |
pricing |
MaterialMasterPricing | Per-environment €/kg with provenance, plus the platform fallback. |
Example response
{
"effective_flags": [
{
"canonical_value": "string",
"consumer": "",
"key": "string",
"source": "canonical",
"value": "string"
}
],
"effective_properties": [
{
"basis": "minimum",
"canonical_value": 0,
"consumer": "",
"key": "string",
"source": "canonical",
"unit": "string",
"value": 0
}
],
"grade": {
"aliases": [
{
"code": "string",
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"is_canonical": false,
"is_preferred_display": true,
"material_grade_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"standard_code": "en10027-1",
"standard_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6"
}
],
"attributes": {},
"category": "carbon_steel",
"created_at": "2026-06-01T12:00:00Z",
"density_kg_per_m3": 0,
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"is_active": true,
"iso_machining_group": "P",
"name": "string",
"org_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"primary_code": "string",
"primary_standard_code": "en10027-1",
"primary_standard_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"successor_grade_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"updated_at": "2026-06-01T12:00:00Z",
"urn": "string",
"workpiece_group_code": "string",
"workpiece_group_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6"
},
"group": {
"abrasiveness_class": "string",
"attributes": [
{
"consumer": "",
"display_only": false,
"inherited": true,
"key": "string",
"shadow_value": 0,
"shadowed_by": "grade",
"stated_by": "string",
"stated_by_name": "string",
"unit": "string",
"value": 0
}
],
"chain": [
"string"
],
"chip_class": "string",
"code": "string",
"hardness_band": "string",
"iso_letter": "string",
"machinability_index_pct": 0,
"name": "string",
"work_hardening_class": "string"
},
"override": {
"attributes": {},
"created_at": "2026-06-01T12:00:00Z",
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"internal_code": "string",
"material_grade_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"notes": "string",
"org_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"trade_name": "string",
"updated_at": "2026-06-01T12:00:00Z",
"urn": "string"
},
"pricing": {
"default_basis": "category",
"default_basis_key": "other",
"default_currency": "EUR",
"default_price_per_kg": 0,
"environments": [
{
"currency": "EUR",
"env_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"env_name": "string",
"env_region": "string",
"price_per_kg": 0,
"source": "env_rate",
"valid_from": "2026-06-01",
"valid_to": "2026-06-01"
}
]
}
}
Upsert Grade Override
PUT /api/v1/materials/grades/{grade_id}/override
Upsert your organization's master-data layer for a grade.
Creates the org's override row for the grade when none exists,
otherwise updates it in place. Identification fields
(internal_code, trade_name, notes) follow patch
semantics — only keys present in the body are touched, null
clears. properties is validated against the closed vocabulary
(strength, hardness, elongation, Charpy toughness per test temperature,
stiffness, thermal conductivity, melting point, carbon equivalent —
every key sanity-ranged in its own unit);
a numeric value overrides the catalogue figure, null clears your
override so the catalogue figure applies again.
Property overrides are quoting/display master data — they do NOT change the physics inputs (density, ISO 513 group stay canonical) and they do NOT change €/kg (that lives in the environment rates).
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
grade_id |
path | string | yes | Identifier of the grade. |
Request body (application/json)
| Field | Type | Required | Description |
|---|---|---|---|
internal_code |
string | no | Org-internal SKU / part code for this material; null clears it. |
notes |
string | no | Free-text notes attached to this material by the organization; null clears them. |
properties |
object | no | Property overrides keyed by the closed vocabulary — strength (yield_mpa, tensile_mpa), hardness (hardness_hb, hardness_hrc), ductility (elongation_pct), toughness (charpy_j_20c … charpy_j_m50c), stiffness and thermal (elastic_modulus_gpa, thermal_conductivity_w_mk, melting_point_c) and weldability (carbon_equivalent_ceq). A numeric value overrides the catalogue figure; null clears your override so the catalogue figure applies again. Keys not mentioned are left unchanged. |
trade_name |
string | no | Vendor trade name (e.g. 'Inconel 718'); null clears it. |
Request
curl -X PUT https://api.arcnm.io/api/v1/materials/grades/{grade_id}/override \
-H "X-API-Key: $ARCNM_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"internal_code": "string",
"notes": "string",
"properties": {},
"trade_name": "string"
}'
import requests
resp = requests.put(
"https://api.arcnm.io/api/v1/materials/grades/{grade_id}/override",
headers={"X-API-Key": "YOUR_API_KEY"},
json={
"internal_code": "string",
"notes": "string",
"properties": {},
"trade_name": "string"
},
)
resp.raise_for_status()
print(resp.json())
const resp = await fetch("https://api.arcnm.io/api/v1/materials/grades/{grade_id}/override", {
method: "PUT",
headers: {
"X-API-Key": process.env.ARCNM_API_KEY!,
"Content-Type": "application/json",
},
body: JSON.stringify({
"internal_code": "string",
"notes": "string",
"properties": {},
"trade_name": "string"
}),
})
const data = await resp.json()
Responses
| Status | Description |
|---|---|
200 |
Successful Response |
422 |
Validation Error |
default |
Error — the error envelope; branch on error.code. |
Errors
Standard error responses — see the Errors catalog for the full envelope, request_id, and retry-safety table.
| Status | Code | When |
|---|---|---|
401 |
invalid_api_key |
Missing, malformed, or revoked API key. |
403 |
insufficient_scope |
The key is valid but lacks a scope this endpoint requires. |
404 |
not_found |
A referenced resource doesn't exist or isn't visible to your organisation. |
409 |
conflict |
A conflicting change, or an Idempotency-Key reused with a different body. |
429 |
rate_limited |
Per-key or per-org rate limit exceeded — back off with jitter and retry. |
Response body 200
| Field | Type | Description |
|---|---|---|
attributes |
object | Your organization's material statement for this grade — the mechanical and physical figures and the categorical route gates it states, each one winning over the catalogue's. A closed vocabulary; GET /materials/attribute-vocabulary lists every key, its unit or its verdicts, and what the costing engine does with it. A row written before the vocabulary closed may still carry a key outside it: it is served back unchanged and prices exactly as it did, but the next write to this row must drop it. |
created_at |
string | Timestamp when the override was created. |
id |
string | Unique identifier of the override. |
internal_code |
string | Org-internal SKU / part code for this material. |
material_grade_id |
string | Identifier of the canonical grade this override extends; null when fully org-private. |
notes |
string | Free-text notes attached to this material by the organization. |
org_id |
string | Identifier of the organization that owns this override. |
trade_name |
string | Vendor trade name (e.g. 'Inconel 718'). |
updated_at |
string | Timestamp when the override was last updated. |
urn |
string | Canonical or org-private URN identifying the material. |
Example response
{
"attributes": {},
"created_at": "2026-06-01T12:00:00Z",
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"internal_code": "string",
"material_grade_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"notes": "string",
"org_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"trade_name": "string",
"updated_at": "2026-06-01T12:00:00Z",
"urn": "string"
}
Get Grade By Urn
GET /api/v1/materials/grades/by-urn/{urn}
Read a material grade by its URN, for example
urn:arc:mat:stainless_steel:en10027-2:1.4301. Use it
when you have a standard designation rather than an id.
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
urn |
path | string | yes | Material grade URN to resolve (e.g. urn:arc:mat:stainless_steel:en10027-2:1.4301). |
Request
curl -X GET https://api.arcnm.io/api/v1/materials/grades/by-urn/{urn} \
-H "X-API-Key: $ARCNM_API_KEY"
import requests
resp = requests.get(
"https://api.arcnm.io/api/v1/materials/grades/by-urn/{urn}",
headers={"X-API-Key": "YOUR_API_KEY"},
)
resp.raise_for_status()
print(resp.json())
const resp = await fetch("https://api.arcnm.io/api/v1/materials/grades/by-urn/{urn}", {
method: "GET",
headers: {
"X-API-Key": process.env.ARCNM_API_KEY!,
},
})
const data = await resp.json()
Responses
| Status | Description |
|---|---|
200 |
Successful Response |
422 |
Validation Error |
default |
Error — the error envelope; branch on error.code. |
Errors
Standard error responses — see the Errors catalog for the full envelope, request_id, and retry-safety table.
| Status | Code | When |
|---|---|---|
401 |
invalid_api_key |
Missing, malformed, or revoked API key. |
403 |
insufficient_scope |
The key is valid but lacks a scope this endpoint requires. |
404 |
not_found |
A referenced resource doesn't exist or isn't visible to your organisation. |
429 |
rate_limited |
Per-key or per-org rate limit exceeded — back off with jitter and retry. |
Response body 200
| Field | Type | Description |
|---|---|---|
aliases |
MaterialGradeAliasPublic[] | Cross-references mapping this grade's code across other standards and trade names. Filled on single-grade reads (GET /materials/grades/{id}, /grades/by-urn/{urn}, /grades/{id}/master); list, lookup and batch results always carry an empty list to keep them small — read the grade (e.g. get_grade_master) for its aliases. |
attributes |
object | The grade's material statement — mechanical and physical figures plus the categorical route gates. A closed vocabulary; see GET /materials/attribute-vocabulary for every key and what it drives. |
category |
carbon_steel | alloy_steel | stainless_steel | tool_steel | cast_iron | aluminium | copper_alloy | nickel_alloy | titanium_alloy | magnesium_alloy | zinc_alloy | thermoplastic | thermoset | elastomer | composite | other |
Broad material family the grade belongs to (e.g. steel, aluminium, polymer). |
created_at |
string | Timestamp when the grade record was created. |
density_kg_per_m3 |
number | Material density in kilograms per cubic metre. |
id |
string | Unique identifier of the material grade. |
is_active |
boolean | Whether the grade is currently active and selectable; false when retired. |
iso_machining_group |
P | M | K | N | S | H |
ISO 513 machining group (P/M/K/N/S/H) used to gauge machinability. |
name |
string | Human-readable name of the material grade. |
org_id |
string | Null → platform-catalogue grade shared by every organization; set → this organization's private grade. |
primary_code |
string | Standards-compliant cased display code; the same value as display_code. |
primary_standard_code |
en10027-1 | en10027-2 | en10025 | en10083 | en10084 | en10088 | en10346 | en-iso-4957 | en573-1 | en573-2 | en1412 | din17007 | en1560 | en1561 | en1563 | iso1043-1 | iso1043-2 | iso18064 | uns | aisi-sae | jis | astm | en10130 | en10111 | en10149 | en10085 | en10087 | en10089 | en10028 | en10216 | en10305 | en10293 | en10302 | iso683-17 | en1562 | en1564 | en16079 | en573-3 | en1706 | en1982 | en1753 | en12844 | en60893 | iso1629 | din17100 | din17200 | din17210 | din17440 | din1691 | din1692 | din1693 | din1725 | din17660 | eclass | unspsc | org |
URN-safe code of the primary standard (en10027-2, iso1043-1, …). Hydrated by the routes layer so frontends can render a badge without a second round-trip. |
primary_standard_id |
string | Identifier of the standard that defines this grade's primary code. |
successor_grade_id |
string | Identifier of the grade that supersedes this one; null when still current. |
updated_at |
string | Timestamp when the grade record was last updated. |
urn |
string | Canonical URN that uniquely and stably identifies this grade across systems. |
workpiece_group_code |
string | The group's short code (e.g. P1.2, M1.1, K2.2), hydrated by the routes layer so a UI can render it without a second round-trip. |
workpiece_group_id |
string | Identifier of the workpiece material group (ISO 513 letter → composition subgroup → hardness band) whose cutting data prices this grade; null when the grade falls back to its category's default cutting data. |
Example response
{
"aliases": [
{
"code": "string",
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"is_canonical": false,
"is_preferred_display": true,
"material_grade_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"standard_code": "en10027-1",
"standard_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6"
}
],
"attributes": {},
"category": "carbon_steel",
"created_at": "2026-06-01T12:00:00Z",
"density_kg_per_m3": 0,
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"is_active": true,
"iso_machining_group": "P",
"name": "string",
"org_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"primary_code": "string",
"primary_standard_code": "en10027-1",
"primary_standard_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"successor_grade_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"updated_at": "2026-06-01T12:00:00Z",
"urn": "string",
"workpiece_group_code": "string",
"workpiece_group_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6"
}
Lookup
POST /api/v1/materials/lookup
Exact resolve of a material reference to a single canonical grade.
On a near-miss this still 404s (back-compat), but the error now carries
up to five ranked candidates in its details so a caller can pick
and retry without a second call. For a fuzzy 'did you mean' list that never
dead-ends, use POST /materials/suggest instead.
Request body (application/json)
| Field | Type | Required | Description |
|---|---|---|---|
query |
string | yes | URN, EN/UNS/AISI/JIS code, trade name, or org internal code. |
standard |
en10027-1 | en10027-2 | en10025 | en10083 | en10084 | en10088 | en10346 | en-iso-4957 | en573-1 | en573-2 | en1412 | din17007 | en1560 | en1561 | en1563 | iso1043-1 | iso1043-2 | iso18064 | uns | aisi-sae | jis | astm | en10130 | en10111 | en10149 | en10085 | en10087 | en10089 | en10028 | en10216 | en10305 | en10293 | en10302 | iso683-17 | en1562 | en1564 | en16079 | en573-3 | en1706 | en1982 | en1753 | en12844 | en60893 | iso1629 | din17100 | din17200 | din17210 | din17440 | din1691 | din1692 | din1693 | din1725 | din17660 | eclass | unspsc | org |
no | Optional hint — restrict alias search to this standard. |
Request
curl -X POST https://api.arcnm.io/api/v1/materials/lookup \
-H "X-API-Key: $ARCNM_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"query": "string"
}'
import requests
resp = requests.post(
"https://api.arcnm.io/api/v1/materials/lookup",
headers={"X-API-Key": "YOUR_API_KEY"},
json={
"query": "string"
},
)
resp.raise_for_status()
print(resp.json())
const resp = await fetch("https://api.arcnm.io/api/v1/materials/lookup", {
method: "POST",
headers: {
"X-API-Key": process.env.ARCNM_API_KEY!,
"Content-Type": "application/json",
},
body: JSON.stringify({
"query": "string"
}),
})
const data = await resp.json()
Responses
| Status | Description |
|---|---|
200 |
Successful Response |
422 |
Validation Error |
default |
Error — the error envelope; branch on error.code. |
Errors
Standard error responses — see the Errors catalog for the full envelope, request_id, and retry-safety table.
| Status | Code | When |
|---|---|---|
401 |
invalid_api_key |
Missing, malformed, or revoked API key. |
403 |
insufficient_scope |
The key is valid but lacks a scope this endpoint requires. |
409 |
conflict |
A conflicting change, or an Idempotency-Key reused with a different body. |
429 |
rate_limited |
Per-key or per-org rate limit exceeded — back off with jitter and retry. |
Response body 200
| Field | Type | Description |
|---|---|---|
grade |
MaterialGradePublic | The canonical material grade the query resolved to. |
matched_via |
urn | legacy_urn | primary_code | alias | org_override | org_designation | org_private |
Path the resolver used: urn |
standard_used |
en10027-1 | en10027-2 | en10025 | en10083 | en10084 | en10088 | en10346 | en-iso-4957 | en573-1 | en573-2 | en1412 | din17007 | en1560 | en1561 | en1563 | iso1043-1 | iso1043-2 | iso18064 | uns | aisi-sae | jis | astm | en10130 | en10111 | en10149 | en10085 | en10087 | en10089 | en10028 | en10216 | en10305 | en10293 | en10302 | iso683-17 | en1562 | en1564 | en16079 | en573-3 | en1706 | en1982 | en1753 | en12844 | en60893 | iso1629 | din17100 | din17200 | din17210 | din17440 | din1691 | din1692 | din1693 | din1725 | din17660 | eclass | unspsc | org |
Material standard the match resolved against; null if not standard-specific. |
Example response
{
"grade": {
"aliases": [
{
"code": "string",
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"is_canonical": false,
"is_preferred_display": true,
"material_grade_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"standard_code": "en10027-1",
"standard_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6"
}
],
"attributes": {},
"category": "carbon_steel",
"created_at": "2026-06-01T12:00:00Z",
"density_kg_per_m3": 0,
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"is_active": true,
"iso_machining_group": "P",
"name": "string",
"org_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"primary_code": "string",
"primary_standard_code": "en10027-1",
"primary_standard_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"successor_grade_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"updated_at": "2026-06-01T12:00:00Z",
"urn": "string",
"workpiece_group_code": "string",
"workpiece_group_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6"
},
"matched_via": "urn",
"standard_used": "en10027-1"
}
Lookup Batch
POST /api/v1/materials/lookup/batch
Bulk-resolve up to 100 queries in one round-trip.
Drawing analysis emits N candidate strings per part; the worker
and the frontend typeahead both call this endpoint instead of N
individual /lookup requests. Misses are returned in-band with
result=null so callers can correlate hits/misses by position.
Request body (application/json)
| Field | Type | Required | Description |
|---|---|---|---|
queries |
string[] | yes | Material query strings to resolve in one round-trip (1–100). |
standard |
en10027-1 | en10027-2 | en10025 | en10083 | en10084 | en10088 | en10346 | en-iso-4957 | en573-1 | en573-2 | en1412 | din17007 | en1560 | en1561 | en1563 | iso1043-1 | iso1043-2 | iso18064 | uns | aisi-sae | jis | astm | en10130 | en10111 | en10149 | en10085 | en10087 | en10089 | en10028 | en10216 | en10305 | en10293 | en10302 | iso683-17 | en1562 | en1564 | en16079 | en573-3 | en1706 | en1982 | en1753 | en12844 | en60893 | iso1629 | din17100 | din17200 | din17210 | din17440 | din1691 | din1692 | din1693 | din1725 | din17660 | eclass | unspsc | org |
no | Optional hint applied to every query in the batch. |
Request
curl -X POST https://api.arcnm.io/api/v1/materials/lookup/batch \
-H "X-API-Key: $ARCNM_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"queries": [
"string"
]
}'
import requests
resp = requests.post(
"https://api.arcnm.io/api/v1/materials/lookup/batch",
headers={"X-API-Key": "YOUR_API_KEY"},
json={
"queries": [
"string"
]
},
)
resp.raise_for_status()
print(resp.json())
const resp = await fetch("https://api.arcnm.io/api/v1/materials/lookup/batch", {
method: "POST",
headers: {
"X-API-Key": process.env.ARCNM_API_KEY!,
"Content-Type": "application/json",
},
body: JSON.stringify({
"queries": [
"string"
]
}),
})
const data = await resp.json()
Responses
| Status | Description |
|---|---|
200 |
Successful Response |
422 |
Validation Error |
default |
Error — the error envelope; branch on error.code. |
Errors
Standard error responses — see the Errors catalog for the full envelope, request_id, and retry-safety table.
| Status | Code | When |
|---|---|---|
401 |
invalid_api_key |
Missing, malformed, or revoked API key. |
403 |
insufficient_scope |
The key is valid but lacks a scope this endpoint requires. |
409 |
conflict |
A conflicting change, or an Idempotency-Key reused with a different body. |
429 |
rate_limited |
Per-key or per-org rate limit exceeded — back off with jitter and retry. |
Response body 200
| Field | Type | Description |
|---|---|---|
entries |
MaterialLookupBatchEntry[] | One result slot per query, in the order the queries were supplied. |
matched_count |
integer | Number of queries in the batch that resolved to a grade. |
miss_count |
integer | Number of queries in the batch that did not resolve. |
Example response
{
"entries": [
{
"query": "string",
"result": {
"grade": {},
"matched_via": "urn",
"standard_used": "en10027-1"
}
}
],
"matched_count": 0,
"miss_count": 0
}
List Overrides
GET /api/v1/materials/overrides
List your organisation's material overrides, newest first: your own internal codes, trade names, notes and attributes on material grades.
Request
curl -X GET https://api.arcnm.io/api/v1/materials/overrides \
-H "X-API-Key: $ARCNM_API_KEY"
import requests
resp = requests.get(
"https://api.arcnm.io/api/v1/materials/overrides",
headers={"X-API-Key": "YOUR_API_KEY"},
)
resp.raise_for_status()
print(resp.json())
const resp = await fetch("https://api.arcnm.io/api/v1/materials/overrides", {
method: "GET",
headers: {
"X-API-Key": process.env.ARCNM_API_KEY!,
},
})
const data = await resp.json()
Responses
| Status | Description |
|---|---|
200 |
Successful Response |
422 |
Validation Error |
default |
Error — the error envelope; branch on error.code. |
Errors
Standard error responses — see the Errors catalog for the full envelope, request_id, and retry-safety table.
| Status | Code | When |
|---|---|---|
401 |
invalid_api_key |
Missing, malformed, or revoked API key. |
403 |
insufficient_scope |
The key is valid but lacks a scope this endpoint requires. |
429 |
rate_limited |
Per-key or per-org rate limit exceeded — back off with jitter and retry. |
Create Override
POST /api/v1/materials/overrides
Add your organisation's own data to a material grade: an internal code, a trade name, notes and attributes. A grade carries one override; a second answers 409. Calculations run afterwards use it.
Request body (application/json)
| Field | Type | Required | Description |
|---|---|---|---|
attributes |
object | no | Your organization's material statement for this grade: mechanical and physical figures (yield_mpa, tensile_mpa, hardness_hb, …) and the categorical route gates (laser_cuttable, weldability_class, heat_treatable, …). A closed vocabulary, not free-form: an unknown key or a verdict outside a gate's set is refused (422) rather than stored, because a key nothing reads and a misspelled one are indistinguishable on the quote. GET /materials/attribute-vocabulary lists every accepted key, its unit or its verdicts, and what the costing engine does with it. |
internal_code |
string | no | Org-internal SKU / part code for this material. |
material_grade_id |
string | no | Canonical grade this override extends. NULL → fully org-private material not in the global catalogue (requires urn populated). |
notes |
string | no | Free-text notes attached to this material by the organization. |
trade_name |
string | no | Vendor trade name (e.g. 'Inconel 718'). |
urn |
string | no | Canonical or org-private URN (urn:arc:mat:…:…). |
Request
curl -X POST https://api.arcnm.io/api/v1/materials/overrides \
-H "X-API-Key: $ARCNM_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"attributes": {},
"internal_code": "string",
"material_grade_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"notes": "string",
"trade_name": "string",
"urn": "string"
}'
import requests
resp = requests.post(
"https://api.arcnm.io/api/v1/materials/overrides",
headers={"X-API-Key": "YOUR_API_KEY"},
json={
"attributes": {},
"internal_code": "string",
"material_grade_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"notes": "string",
"trade_name": "string",
"urn": "string"
},
)
resp.raise_for_status()
print(resp.json())
const resp = await fetch("https://api.arcnm.io/api/v1/materials/overrides", {
method: "POST",
headers: {
"X-API-Key": process.env.ARCNM_API_KEY!,
"Content-Type": "application/json",
},
body: JSON.stringify({
"attributes": {},
"internal_code": "string",
"material_grade_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"notes": "string",
"trade_name": "string",
"urn": "string"
}),
})
const data = await resp.json()
Responses
| Status | Description |
|---|---|
201 |
Successful Response |
422 |
Validation Error |
default |
Error — the error envelope; branch on error.code. |
Errors
Standard error responses — see the Errors catalog for the full envelope, request_id, and retry-safety table.
| Status | Code | When |
|---|---|---|
401 |
invalid_api_key |
Missing, malformed, or revoked API key. |
403 |
insufficient_scope |
The key is valid but lacks a scope this endpoint requires. |
409 |
conflict |
A conflicting change, or an Idempotency-Key reused with a different body. |
429 |
rate_limited |
Per-key or per-org rate limit exceeded — back off with jitter and retry. |
Response body 201
| Field | Type | Description |
|---|---|---|
attributes |
object | Your organization's material statement for this grade — the mechanical and physical figures and the categorical route gates it states, each one winning over the catalogue's. A closed vocabulary; GET /materials/attribute-vocabulary lists every key, its unit or its verdicts, and what the costing engine does with it. A row written before the vocabulary closed may still carry a key outside it: it is served back unchanged and prices exactly as it did, but the next write to this row must drop it. |
created_at |
string | Timestamp when the override was created. |
id |
string | Unique identifier of the override. |
internal_code |
string | Org-internal SKU / part code for this material. |
material_grade_id |
string | Identifier of the canonical grade this override extends; null when fully org-private. |
notes |
string | Free-text notes attached to this material by the organization. |
org_id |
string | Identifier of the organization that owns this override. |
trade_name |
string | Vendor trade name (e.g. 'Inconel 718'). |
updated_at |
string | Timestamp when the override was last updated. |
urn |
string | Canonical or org-private URN identifying the material. |
Example response
{
"attributes": {},
"created_at": "2026-06-01T12:00:00Z",
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"internal_code": "string",
"material_grade_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"notes": "string",
"org_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"trade_name": "string",
"updated_at": "2026-06-01T12:00:00Z",
"urn": "string"
}
Delete Override
DELETE /api/v1/materials/overrides/{override_id}
Delete one of your organisation's material overrides; the grade goes back to its standard data. This cannot be undone.
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
override_id |
path | string | yes | Identifier of the override. |
Request
curl -X DELETE https://api.arcnm.io/api/v1/materials/overrides/{override_id} \
-H "X-API-Key: $ARCNM_API_KEY"
import requests
resp = requests.delete(
"https://api.arcnm.io/api/v1/materials/overrides/{override_id}",
headers={"X-API-Key": "YOUR_API_KEY"},
)
resp.raise_for_status()
print(resp.json())
const resp = await fetch("https://api.arcnm.io/api/v1/materials/overrides/{override_id}", {
method: "DELETE",
headers: {
"X-API-Key": process.env.ARCNM_API_KEY!,
},
})
const data = await resp.json()
Responses
| Status | Description |
|---|---|
200 |
Successful Response |
422 |
Validation Error |
default |
Error — the error envelope; branch on error.code. |
Errors
Standard error responses — see the Errors catalog for the full envelope, request_id, and retry-safety table.
| Status | Code | When |
|---|---|---|
401 |
invalid_api_key |
Missing, malformed, or revoked API key. |
403 |
insufficient_scope |
The key is valid but lacks a scope this endpoint requires. |
404 |
not_found |
A referenced resource doesn't exist or isn't visible to your organisation. |
409 |
conflict |
A conflicting change, or an Idempotency-Key reused with a different body. |
429 |
rate_limited |
Per-key or per-org rate limit exceeded — back off with jitter and retry. |
Response body 200
| Field | Type | Description |
|---|---|---|
message |
string | Human-readable confirmation that the resource was deleted. |
Example response
{
"message": "string"
}
Update Override
PATCH /api/v1/materials/overrides/{override_id}
Partial update. Only fields explicitly present in the body are
applied — pass null to clear a field, omit to leave unchanged.
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
override_id |
path | string | yes | Identifier of the override. |
Request body (application/json)
| Field | Type | Required | Description |
|---|---|---|---|
attributes |
object | no | Your organization's material statement for this grade: mechanical and physical figures (yield_mpa, tensile_mpa, hardness_hb, …) and the categorical route gates (laser_cuttable, weldability_class, heat_treatable, …). A closed vocabulary, not free-form: an unknown key or a verdict outside a gate's set is refused (422) rather than stored, because a key nothing reads and a misspelled one are indistinguishable on the quote. GET /materials/attribute-vocabulary lists every accepted key, its unit or its verdicts, and what the costing engine does with it. |
internal_code |
string | no | Org-internal SKU or part code for this material. |
material_grade_id |
string | no | Identifier of the canonical grade this override extends; null when fully org-private. |
notes |
string | no | Free-text notes attached to this material by the organization. |
trade_name |
string | no | Vendor trade name for this material (e.g. 'Inconel 718'). |
urn |
string | no | Canonical or org-private URN identifying the material. |
Request
curl -X PATCH https://api.arcnm.io/api/v1/materials/overrides/{override_id} \
-H "X-API-Key: $ARCNM_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"attributes": {},
"internal_code": "string",
"material_grade_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"notes": "string",
"trade_name": "string",
"urn": "string"
}'
import requests
resp = requests.patch(
"https://api.arcnm.io/api/v1/materials/overrides/{override_id}",
headers={"X-API-Key": "YOUR_API_KEY"},
json={
"attributes": {},
"internal_code": "string",
"material_grade_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"notes": "string",
"trade_name": "string",
"urn": "string"
},
)
resp.raise_for_status()
print(resp.json())
const resp = await fetch("https://api.arcnm.io/api/v1/materials/overrides/{override_id}", {
method: "PATCH",
headers: {
"X-API-Key": process.env.ARCNM_API_KEY!,
"Content-Type": "application/json",
},
body: JSON.stringify({
"attributes": {},
"internal_code": "string",
"material_grade_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"notes": "string",
"trade_name": "string",
"urn": "string"
}),
})
const data = await resp.json()
Responses
| Status | Description |
|---|---|
200 |
Successful Response |
422 |
Validation Error |
default |
Error — the error envelope; branch on error.code. |
Errors
Standard error responses — see the Errors catalog for the full envelope, request_id, and retry-safety table.
| Status | Code | When |
|---|---|---|
401 |
invalid_api_key |
Missing, malformed, or revoked API key. |
403 |
insufficient_scope |
The key is valid but lacks a scope this endpoint requires. |
404 |
not_found |
A referenced resource doesn't exist or isn't visible to your organisation. |
409 |
conflict |
A conflicting change, or an Idempotency-Key reused with a different body. |
429 |
rate_limited |
Per-key or per-org rate limit exceeded — back off with jitter and retry. |
Response body 200
| Field | Type | Description |
|---|---|---|
attributes |
object | Your organization's material statement for this grade — the mechanical and physical figures and the categorical route gates it states, each one winning over the catalogue's. A closed vocabulary; GET /materials/attribute-vocabulary lists every key, its unit or its verdicts, and what the costing engine does with it. A row written before the vocabulary closed may still carry a key outside it: it is served back unchanged and prices exactly as it did, but the next write to this row must drop it. |
created_at |
string | Timestamp when the override was created. |
id |
string | Unique identifier of the override. |
internal_code |
string | Org-internal SKU / part code for this material. |
material_grade_id |
string | Identifier of the canonical grade this override extends; null when fully org-private. |
notes |
string | Free-text notes attached to this material by the organization. |
org_id |
string | Identifier of the organization that owns this override. |
trade_name |
string | Vendor trade name (e.g. 'Inconel 718'). |
updated_at |
string | Timestamp when the override was last updated. |
urn |
string | Canonical or org-private URN identifying the material. |
Example response
{
"attributes": {},
"created_at": "2026-06-01T12:00:00Z",
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"internal_code": "string",
"material_grade_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"notes": "string",
"org_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"trade_name": "string",
"updated_at": "2026-06-01T12:00:00Z",
"urn": "string"
}
Pricing Coverage
GET /api/v1/materials/pricing-coverage
What every grade costs, and which environments set that price.
One round-trip for the master-data list: entries carries the €/kg
of each grade an environment has its own rate for, and defaults
carries the platform price per category that every other grade is
charged at. Uses the same effective-dating / currency predicates as
the calculation path, so the prices shown can never disagree with the
price actually charged.
Request
curl -X GET https://api.arcnm.io/api/v1/materials/pricing-coverage \
-H "X-API-Key: $ARCNM_API_KEY"
import requests
resp = requests.get(
"https://api.arcnm.io/api/v1/materials/pricing-coverage",
headers={"X-API-Key": "YOUR_API_KEY"},
)
resp.raise_for_status()
print(resp.json())
const resp = await fetch("https://api.arcnm.io/api/v1/materials/pricing-coverage", {
method: "GET",
headers: {
"X-API-Key": process.env.ARCNM_API_KEY!,
},
})
const data = await resp.json()
Responses
| Status | Description |
|---|---|
200 |
Successful Response |
422 |
Validation Error |
default |
Error — the error envelope; branch on error.code. |
Errors
Standard error responses — see the Errors catalog for the full envelope, request_id, and retry-safety table.
| Status | Code | When |
|---|---|---|
401 |
invalid_api_key |
Missing, malformed, or revoked API key. |
403 |
insufficient_scope |
The key is valid but lacks a scope this endpoint requires. |
429 |
rate_limited |
Per-key or per-org rate limit exceeded — back off with jitter and retry. |
Response body 200
| Field | Type | Description |
|---|---|---|
defaults |
MaterialCategoryDefaultPrice[] | The platform price per kilogram for every material category — what a grade costs wherever no environment rate applies. |
entries |
MaterialPricingCoverageEntry[] | One entry per grade that has at least one active environment rate. |
environments |
MaterialCoverageEnvironment[] | Your organization's costing environments. |
Example response
{
"defaults": [
{
"basis": "category",
"basis_key": "string",
"category": "carbon_steel",
"currency": "EUR",
"price_per_kg": 0
}
],
"entries": [
{
"grade_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"priced_env_ids": [
"3fa85f64-5717-4562-b3fc-2c963f66afa6"
],
"prices": [
{}
]
}
],
"environments": [
{
"currency": "EUR",
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"name": "string"
}
]
}
List Standards
GET /api/v1/materials/standards
List the material standards that grade designations come from, with each standard's issuing body and region.
Request
curl -X GET https://api.arcnm.io/api/v1/materials/standards \
-H "X-API-Key: $ARCNM_API_KEY"
import requests
resp = requests.get(
"https://api.arcnm.io/api/v1/materials/standards",
headers={"X-API-Key": "YOUR_API_KEY"},
)
resp.raise_for_status()
print(resp.json())
const resp = await fetch("https://api.arcnm.io/api/v1/materials/standards", {
method: "GET",
headers: {
"X-API-Key": process.env.ARCNM_API_KEY!,
},
})
const data = await resp.json()
Responses
| Status | Description |
|---|---|
200 |
Successful Response |
422 |
Validation Error |
default |
Error — the error envelope; branch on error.code. |
Errors
Standard error responses — see the Errors catalog for the full envelope, request_id, and retry-safety table.
| Status | Code | When |
|---|---|---|
401 |
invalid_api_key |
Missing, malformed, or revoked API key. |
403 |
insufficient_scope |
The key is valid but lacks a scope this endpoint requires. |
429 |
rate_limited |
Per-key or per-org rate limit exceeded — back off with jitter and retry. |
Suggest
POST /api/v1/materials/suggest
Fuzzy material lookup that never dead-ends on a 404.
Resolves an exact canonical grade when the query is unambiguous, and
ALWAYS returns ranked candidates — so a partial code ('S3040'), a trade
name, or a generic term ('Stahl', 'stainless') gets a 'did you mean' list
to pick from. Pass a candidate's urn back as material_ref to price
against it.
Request body (application/json)
| Field | Type | Required | Description |
|---|---|---|---|
category |
carbon_steel | alloy_steel | stainless_steel | tool_steel | cast_iron | aluminium | copper_alloy | nickel_alloy | titanium_alloy | magnesium_alloy | zinc_alloy | thermoplastic | thermoset | elastomer | composite | other |
no | Optional category filter for the candidates. |
limit |
integer | no | Maximum ranked candidates to return. |
query |
string | yes | Free-form material text: a code, partial code, trade name, or generic term. |
standard |
en10027-1 | en10027-2 | en10025 | en10083 | en10084 | en10088 | en10346 | en-iso-4957 | en573-1 | en573-2 | en1412 | din17007 | en1560 | en1561 | en1563 | iso1043-1 | iso1043-2 | iso18064 | uns | aisi-sae | jis | astm | en10130 | en10111 | en10149 | en10085 | en10087 | en10089 | en10028 | en10216 | en10305 | en10293 | en10302 | iso683-17 | en1562 | en1564 | en16079 | en573-3 | en1706 | en1982 | en1753 | en12844 | en60893 | iso1629 | din17100 | din17200 | din17210 | din17440 | din1691 | din1692 | din1693 | din1725 | din17660 | eclass | unspsc | org |
no | Optional standard hint applied to the exact-match pass. |
Request
curl -X POST https://api.arcnm.io/api/v1/materials/suggest \
-H "X-API-Key: $ARCNM_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"query": "string"
}'
import requests
resp = requests.post(
"https://api.arcnm.io/api/v1/materials/suggest",
headers={"X-API-Key": "YOUR_API_KEY"},
json={
"query": "string"
},
)
resp.raise_for_status()
print(resp.json())
const resp = await fetch("https://api.arcnm.io/api/v1/materials/suggest", {
method: "POST",
headers: {
"X-API-Key": process.env.ARCNM_API_KEY!,
"Content-Type": "application/json",
},
body: JSON.stringify({
"query": "string"
}),
})
const data = await resp.json()
Responses
| Status | Description |
|---|---|
200 |
Successful Response |
422 |
Validation Error |
default |
Error — the error envelope; branch on error.code. |
Errors
Standard error responses — see the Errors catalog for the full envelope, request_id, and retry-safety table.
| Status | Code | When |
|---|---|---|
401 |
invalid_api_key |
Missing, malformed, or revoked API key. |
403 |
insufficient_scope |
The key is valid but lacks a scope this endpoint requires. |
409 |
conflict |
A conflicting change, or an Idempotency-Key reused with a different body. |
429 |
rate_limited |
Per-key or per-org rate limit exceeded — back off with jitter and retry. |
Response body 200
| Field | Type | Description |
|---|---|---|
candidates |
MaterialCandidate[] | Ranked near-matches, best first; empty only when nothing in the catalogue is close. |
query |
string | The query string, echoed back. |
resolved |
MaterialLookupResult | The exact canonical grade when the query resolves unambiguously; null on a fuzzy-only match. |
Example response
{
"candidates": [
{
"category": "carbon_steel",
"grade_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"matched_on": "string",
"name": "string",
"primary_code": "string",
"score": 0,
"urn": "string"
}
],
"query": "string",
"resolved": {
"grade": {
"aliases": [
{}
],
"attributes": {},
"category": "carbon_steel",
"created_at": "2026-06-01T12:00:00Z",
"density_kg_per_m3": 0,
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"is_active": true,
"iso_machining_group": "P",
"name": "string",
"org_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"primary_code": "string",
"primary_standard_code": "en10027-1",
"primary_standard_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"successor_grade_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"updated_at": "2026-06-01T12:00:00Z",
"urn": "string",
"workpiece_group_code": "string",
"workpiece_group_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6"
},
"matched_via": "urn",
"standard_used": "en10027-1"
}
}
List Unmapped Designations
GET /api/v1/materials/unmapped-designations
Material designations your drawings carry that match no grade.
Every calculation that reads a material and cannot bind it records the designation here, with how often it has been seen and which parts carry it — so the gap is a short list to work through rather than a warning that reappears on every quote. Each entry brings ranked suggestions from the catalogue; map it and the designation resolves from the next calculation on.
Most-seen first.
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
status |
query | open | mapped | ignored |
no | |
limit |
query | integer | no | Maximum number of results to return. |
Request
curl -X GET https://api.arcnm.io/api/v1/materials/unmapped-designations \
-H "X-API-Key: $ARCNM_API_KEY"
import requests
resp = requests.get(
"https://api.arcnm.io/api/v1/materials/unmapped-designations",
headers={"X-API-Key": "YOUR_API_KEY"},
)
resp.raise_for_status()
print(resp.json())
const resp = await fetch("https://api.arcnm.io/api/v1/materials/unmapped-designations", {
method: "GET",
headers: {
"X-API-Key": process.env.ARCNM_API_KEY!,
},
})
const data = await resp.json()
Responses
| Status | Description |
|---|---|
200 |
Successful Response |
422 |
Validation Error |
default |
Error — the error envelope; branch on error.code. |
Errors
Standard error responses — see the Errors catalog for the full envelope, request_id, and retry-safety table.
| Status | Code | When |
|---|---|---|
401 |
invalid_api_key |
Missing, malformed, or revoked API key. |
403 |
insufficient_scope |
The key is valid but lacks a scope this endpoint requires. |
429 |
rate_limited |
Per-key or per-org rate limit exceeded — back off with jitter and retry. |
Ignore Unmapped Designation
POST /api/v1/materials/unmapped-designations/{observation_id}/ignore
Dismiss a designation that is not a material — a note, a specification reference, a surface-finish callout the title block happened to carry. It stops appearing in the queue; the parts that carry it keep pricing on the environment default, which is what the review banner on those calculations already says.
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
observation_id |
path | string | yes | Identifier of the observation. |
Request
curl -X POST https://api.arcnm.io/api/v1/materials/unmapped-designations/{observation_id}/ignore \
-H "X-API-Key: $ARCNM_API_KEY"
import requests
resp = requests.post(
"https://api.arcnm.io/api/v1/materials/unmapped-designations/{observation_id}/ignore",
headers={"X-API-Key": "YOUR_API_KEY"},
)
resp.raise_for_status()
print(resp.json())
const resp = await fetch("https://api.arcnm.io/api/v1/materials/unmapped-designations/{observation_id}/ignore", {
method: "POST",
headers: {
"X-API-Key": process.env.ARCNM_API_KEY!,
},
})
const data = await resp.json()
Responses
| Status | Description |
|---|---|
200 |
Successful Response |
422 |
Validation Error |
default |
Error — the error envelope; branch on error.code. |
Errors
Standard error responses — see the Errors catalog for the full envelope, request_id, and retry-safety table.
| Status | Code | When |
|---|---|---|
401 |
invalid_api_key |
Missing, malformed, or revoked API key. |
403 |
insufficient_scope |
The key is valid but lacks a scope this endpoint requires. |
404 |
not_found |
A referenced resource doesn't exist or isn't visible to your organisation. |
409 |
conflict |
A conflicting change, or an Idempotency-Key reused with a different body. |
429 |
rate_limited |
Per-key or per-org rate limit exceeded — back off with jitter and retry. |
Response body 200
| Field | Type | Description |
|---|---|---|
designation_id |
string | Identifier of the designation the mapping registered; null while open. Delete that designation to undo the mapping. |
first_seen_at |
string | Timestamp when the designation was first read. |
id |
string | Unique identifier of the queue entry. |
last_seen_at |
string | Timestamp when the designation was most recently read. |
occurrence_count |
integer | How many calculations have read this designation so far. |
raw_text |
string | The designation exactly as the drawing's title block carried it. |
resolved_grade_id |
string | Identifier of the grade the designation was mapped to; null while open. |
sample_part_ids |
string[] | Identifiers of up to ten parts whose drawings carry this designation. |
status |
open | mapped | ignored |
Whether the designation is still open, has been mapped to a grade, or was dismissed. |
suggestions |
MaterialCandidate[] | Ranked catalogue grades that most closely match the designation. |
Example response
{
"designation_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"first_seen_at": "2026-06-01T12:00:00Z",
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"last_seen_at": "2026-06-01T12:00:00Z",
"occurrence_count": 0,
"raw_text": "string",
"resolved_grade_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"sample_part_ids": [
"3fa85f64-5717-4562-b3fc-2c963f66afa6"
],
"status": "open",
"suggestions": [
{
"category": "carbon_steel",
"grade_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"matched_on": "string",
"name": "string",
"primary_code": "string",
"score": 0,
"urn": "string"
}
]
}
Map Unmapped Designation
POST /api/v1/materials/unmapped-designations/{observation_id}/map
Teach the catalogue what this designation means.
Give grade_id to point it at a grade you already have, or
create_grade to register a new organization-private grade and map it
in one step. Either way the designation is registered for your
organization and binds from the next calculation on. When the text as
it was read is not a designation the catalogue can register — it
carries brackets, commas or other punctuation — give designation
with the spelling to register instead.
Existing calculations are left exactly as they were priced — a quote
you have already sent does not change under you. The parts that carry
the designation come back in affected_part_ids; re-calculate the
ones you want priced on the mapped grade.
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
observation_id |
path | string | yes | Identifier of the observation. |
Request body (application/json)
| Field | Type | Required | Description |
|---|---|---|---|
create_grade |
OrgMaterialGradeCreate | no | Details of a new organization-private grade to register and map the designation to. |
designation |
string | no | The spelling to register, when the text as it was read cannot be one: letters, digits, dots and hyphens (spaces fold to hyphens). A queue entry like 'PVC (hart), grau' is mapped by giving the designation you want it to bind under, for example PVC-hart. Defaults to the text as read. |
grade_id |
string | no | Identifier of the grade this designation means. |
Request
curl -X POST https://api.arcnm.io/api/v1/materials/unmapped-designations/{observation_id}/map \
-H "X-API-Key: $ARCNM_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"create_grade": {
"attributes": {},
"category": "carbon_steel",
"density_kg_per_m3": 0,
"designation": "string",
"iso_machining_group": "P",
"name": "string",
"workpiece_group_code": "string"
},
"designation": "string",
"grade_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6"
}'
import requests
resp = requests.post(
"https://api.arcnm.io/api/v1/materials/unmapped-designations/{observation_id}/map",
headers={"X-API-Key": "YOUR_API_KEY"},
json={
"create_grade": {
"attributes": {},
"category": "carbon_steel",
"density_kg_per_m3": 0,
"designation": "string",
"iso_machining_group": "P",
"name": "string",
"workpiece_group_code": "string"
},
"designation": "string",
"grade_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6"
},
)
resp.raise_for_status()
print(resp.json())
const resp = await fetch("https://api.arcnm.io/api/v1/materials/unmapped-designations/{observation_id}/map", {
method: "POST",
headers: {
"X-API-Key": process.env.ARCNM_API_KEY!,
"Content-Type": "application/json",
},
body: JSON.stringify({
"create_grade": {
"attributes": {},
"category": "carbon_steel",
"density_kg_per_m3": 0,
"designation": "string",
"iso_machining_group": "P",
"name": "string",
"workpiece_group_code": "string"
},
"designation": "string",
"grade_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6"
}),
})
const data = await resp.json()
Responses
| Status | Description |
|---|---|
200 |
Successful Response |
422 |
Validation Error |
default |
Error — the error envelope; branch on error.code. |
Errors
Standard error responses — see the Errors catalog for the full envelope, request_id, and retry-safety table.
| Status | Code | When |
|---|---|---|
401 |
invalid_api_key |
Missing, malformed, or revoked API key. |
403 |
insufficient_scope |
The key is valid but lacks a scope this endpoint requires. |
404 |
not_found |
A referenced resource doesn't exist or isn't visible to your organisation. |
409 |
conflict |
A conflicting change, or an Idempotency-Key reused with a different body. |
429 |
rate_limited |
Per-key or per-org rate limit exceeded — back off with jitter and retry. |
Response body 200
| Field | Type | Description |
|---|---|---|
affected_part_ids |
string[] | Identifiers of the parts whose drawings carry this designation. Their existing calculations are left untouched — re-calculate a part to price it on the mapped grade. |
designation |
OrgMaterialDesignationPublic | The designation that now resolves to the grade. |
grade |
MaterialGradePublic | The grade the designation resolves to. |
Example response
{
"affected_part_ids": [
"3fa85f64-5717-4562-b3fc-2c963f66afa6"
],
"designation": {
"code": "string",
"created_at": "2026-06-01T12:00:00Z",
"display_code": "string",
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"material_grade_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"source": "manual"
},
"grade": {
"aliases": [
{
"code": "string",
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"is_canonical": false,
"is_preferred_display": true,
"material_grade_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"standard_code": "en10027-1",
"standard_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6"
}
],
"attributes": {},
"category": "carbon_steel",
"created_at": "2026-06-01T12:00:00Z",
"density_kg_per_m3": 0,
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"is_active": true,
"iso_machining_group": "P",
"name": "string",
"org_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"primary_code": "string",
"primary_standard_code": "en10027-1",
"primary_standard_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"successor_grade_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"updated_at": "2026-06-01T12:00:00Z",
"urn": "string",
"workpiece_group_code": "string",
"workpiece_group_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6"
}
}
List Workpiece Groups
GET /api/v1/materials/workpiece-groups
List the workpiece material groups — the tree every grade's cutting
data is keyed on. Without filters, the whole tree; iso_letter and
root narrow it to one branch.
Three levels: the ISO 513 application letter (P, M, K, N, S, H), a composition or structure subgroup beneath it, and a hardness-band leaf. A grade points at a leaf; when you register your own grade, pick the leaf that describes how it machines in the condition you buy it in — that choice, not the category alone, is what sets its cutting speeds and forces. Ordered by code, parents before children.
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
iso_letter |
query | string | no | Only the groups under this ISO 513 letter (P, M, K, N, S or H). |
root |
query | string | no | Only this group (by code, e.g. P1) and the groups beneath it. |
Request
curl -X GET https://api.arcnm.io/api/v1/materials/workpiece-groups \
-H "X-API-Key: $ARCNM_API_KEY"
import requests
resp = requests.get(
"https://api.arcnm.io/api/v1/materials/workpiece-groups",
headers={"X-API-Key": "YOUR_API_KEY"},
)
resp.raise_for_status()
print(resp.json())
const resp = await fetch("https://api.arcnm.io/api/v1/materials/workpiece-groups", {
method: "GET",
headers: {
"X-API-Key": process.env.ARCNM_API_KEY!,
},
})
const data = await resp.json()
Responses
| Status | Description |
|---|---|
200 |
Successful Response |
422 |
Validation Error |
default |
Error — the error envelope; branch on error.code. |
Errors
Standard error responses — see the Errors catalog for the full envelope, request_id, and retry-safety table.
| Status | Code | When |
|---|---|---|
401 |
invalid_api_key |
Missing, malformed, or revoked API key. |
403 |
insufficient_scope |
The key is valid but lacks a scope this endpoint requires. |
429 |
rate_limited |
Per-key or per-org rate limit exceeded — back off with jitter and retry. |