Rohstoffwerk
scrap margin
Takes the gross lot weight, the purchase price paid per kilogram of gross weight and the sales price per kilogram of recovered metal, then applies recovery yield and melting loss for the scrap grade. Yield and loss default to practice values per grade and can be overridden. Handling, transport and disposal cost are optional flat amounts. The endpoint applies no market price and fetches none: sales_price_eur_per_kg is supplied by the caller.
POST https://material.halowerk.com/scrap-marginEingaben
| Feld | Typ | Pflicht | Beschreibung |
|---|---|---|---|
| grade | string | Ja | Scrap grade key, e.g. copper_millberry, cable_scrap_high, motor_scrap. |
| gross_weight_kg | number | Ja | |
| purchase_price_eur_per_kg | number | Ja | Price paid per kilogram of gross weight. |
| sales_price_eur_per_kg | number | Ja | Achievable price per kilogram of recovered metal. |
| yield_percent | number | Nein | Overrides the recovery yield of the grade. |
| melting_loss_percent | number | Nein | Overrides the melting loss of the grade. |
| processing_cost_eur | number | Nein | |
| transport_cost_eur | number | Nein | |
| disposal_cost_eur_per_kg | number | Nein | Cost per kilogram of non-metal residue. |
Vollständiges Eingabeschema anzeigen
{
"type": "object",
"required": [
"grade",
"gross_weight_kg",
"purchase_price_eur_per_kg",
"sales_price_eur_per_kg"
],
"additionalProperties": false,
"properties": {
"grade": {
"type": "string",
"description": "Scrap grade key, e.g. copper_millberry, cable_scrap_high, motor_scrap."
},
"gross_weight_kg": {
"type": "number",
"minimum": 0.1,
"maximum": 1000000
},
"purchase_price_eur_per_kg": {
"type": "number",
"minimum": 0,
"maximum": 10000,
"description": "Price paid per kilogram of gross weight."
},
"sales_price_eur_per_kg": {
"type": "number",
"minimum": 0,
"maximum": 10000,
"description": "Achievable price per kilogram of recovered metal."
},
"yield_percent": {
"type": "number",
"minimum": 1,
"maximum": 100,
"description": "Overrides the recovery yield of the grade."
},
"melting_loss_percent": {
"type": "number",
"minimum": 0,
"maximum": 50,
"description": "Overrides the melting loss of the grade."
},
"processing_cost_eur": {
"type": "number",
"minimum": 0,
"maximum": 1000000,
"default": 0
},
"transport_cost_eur": {
"type": "number",
"minimum": 0,
"maximum": 1000000,
"default": 0
},
"disposal_cost_eur_per_kg": {
"type": "number",
"minimum": 0,
"maximum": 1000,
"default": 0,
"description": "Cost per kilogram of non-metal residue."
}
}
}Veröffentlichtes Eingabebeispiel
{
"grade": "beispiel",
"gross_weight_kg": 0.1,
"purchase_price_eur_per_kg": 0,
"sales_price_eur_per_kg": 0,
"processing_cost_eur": 0,
"transport_cost_eur": 0,
"disposal_cost_eur_per_kg": 0
}Ergebnis & Dokumentation
Maschinenlesbare Dokumentation dieses Hubs
Quelle dieser Seite: der veröffentlichte HALOWERK-Katalog. Stand: 2026-11-01, 15:19 UTC.
Weitere Endpunkte dieses Hubs
- Rohstoffwerk0,001 USDC
awg metric
POSThttps://material.halowerk.com/awg-metricUses the geometric AWG definition, so results are exact for solid round conductors. Mass per metre and resistance follow from the material density and resistivity at 20 degrees Celsius; stranded conductors carry roughly two to five percent
- Rohstoffwerk0,002 USDC
cable mass
POSThttps://material.halowerk.com/cable-massConductor mass is calculated from nominal cross-section, core count and length against the material density; for a nominal cross-section this is exact and independent of stranding. Total cable mass and the copper share are returned as a ran
- Rohstoffwerk0,005 USDC
cable type vision
POSThttps://material.halowerk.com/cable-type-visionDownloads one HTTPS image through the hub SSRF guard, then asks the configured OpenAI vision model for strict structured JSON. It reports observed features and readable markings, at most five ranked type candidates, and conductor material,