Tools
Öffentliche Tools-API
Jedes Tool dieser Website ist auch per HTTP GET aufrufbar: gleiche Berechnungs-Engine, JSON-Antwort, keine Registrierung, kein API-Schlüssel und nichts wird gespeichert. Gebaut für leichte Integrationen, Tabellen und Skripte.
Limits
| Anfragen | 60 pro Minute und IP, über alle Endpunkte zusammen (/health zählt nicht) |
|---|---|
| Preis und Schlüssel | Kostenlos, ohne API-Schlüssel und ohne Registrierung |
| HS-Codes | limit 1–100 Zeilen pro Anfrage (Standard 25) |
| Ladeplaner | bis zu 600 Einheiten pro Anfrage |
| Header | X-RateLimit-Limit, X-RateLimit-Remaining und X-RateLimit-Reset in jeder Antwort; über dem Limit HTTP 429 mit Retry-After |
Brauchen Sie mehr oder einen Schlüssel für Ihr Unternehmen? Schreiben Sie mir über den Kontakt →
Endpunkte
Parameter
pieceserforderlichqty x length x width x height x weightPerPiece, “;”-separated. cm/kg (metric) or in/lb (imperial). e.g. 2x120x80x100x50;1x60x40x30x12unitoptionalmetric (default) | imperialstackableoptionaltrue (default) | false — affects LDMairDivisoroptionalair volumetric divisor, cm³/kg (default 6000)expressDivisoroptionalcourier DIM divisor (default 5000)seaEquivalenceoptionalsea W/M kg per m³ (default 1000)seaMinRevenueTonsoptionalLCL minimum W/M (default 1)roadDensityoptionalroad volumetric density kg/m³ (default 333)roadUseLdmoptionaltrue | false (default) — enable LDM basisroadKgPerLdmoptionalkg per loading metre (default 1750)
Beispiel
curl "https://glauc.cat/api/tools/chargeable-weight?pieces=2x120x80x100x50&unit=metric"
Antwort (Auszug)
{ "ok": true, "data": { "result": { "totals": { "grossKg": 100, "volumeM3": 1.92 }, "results": [ { "mode": "air", "chargeableKg": 320, "chargeableRoundedKg": 320, "basis": "volume" }, … ] } } }Parameter
deliveryerforderlichdelivery date, YYYY-MM-DDcaseoptionaldamage (default) | totalLoss | other — Art. 32 start rulewilfuloptionaltrue → 3-year limitation (default false)excludedWeekdaysoptionalcomma list, 0=Sun … 6=Sat (default 0)holidaysoptionalcomma list of YYYY-MM-DD public holidaysholidayCountryoptionalES | PT | FR | DE | IT | BE | NL | PL — auto-adds national holidays of the delivery year and the next oneagreedTimeLimitExpiryoptionaltotalLoss: agreed time-limit expirytakingOverDateoptionaltotalLoss without agreed limit: taking-over datecontractDateoptionalother cases: contract conclusion date
Beispiel
curl "https://glauc.cat/api/tools/cmr-deadlines?delivery=2026-07-01"
Antwort (Auszug)
{ "ok": true, "data": { "result": { "apparent": { "deadline": "2026-07-01" }, "nonApparent": { "deadline": "2026-07-09" }, "delay": { "deadline": "2026-07-22" }, "limitation": { "deadline": "2027-07-01" } } } }Parameter
categoryerforderlichlength | weight | volume | density | area | temperature | speed | fuel | floor | containersvalueerforderlichnumeric value to convertfromerforderlichsource unit id (e.g. cm, kg, m3, kgm3)tooptionaltarget unit id; omitted → all units in the category
Beispiel
curl "https://glauc.cat/api/tools/unit-converter?category=volume&value=1&from=m3&to=ft3"
Antwort (Auszug)
{ "ok": true, "data": { "result": 35.3146667… } }Parameter
codeoptionalEXW … DDP; omitted → all 11 rules
Beispiel
curl "https://glauc.cat/api/tools/incoterms?code=FOB"
Antwort (Auszug)
{ "ok": true, "data": { "code": "FOB", "group": "F", "mode": "sea", "costs": { "mainCarriage": "buyer", … }, "riskTransfer": "fob" } }Parameter
sinceBreakoptionalminutes driven since the last ≥45-min breaktodayoptionalminutes driven todayweekoptionalminutes driven this weekpreviousWeekoptionalminutes driven the previous weekextensionsUsedoptional10 h days used this week (0–2)reducedRestsUsedoptionalreduced rests used (0–3)
Beispiel
curl "https://glauc.cat/api/tools/driving-hours?sinceBreak=240&today=420&week=2600"
Antwort (Auszug)
{ "ok": true, "data": { "assessment": { "untilBreak": 30, "todayRemaining": 120, "todayRemainingExtended": 180, "weekRemaining": 760, "effectiveRemaining": 180, … } } }Parameter
masserforderlichcargo mass, kgmuerforderlichfriction coefficient, 0–1 (EN 12195-1 Annex B)alphaoptionalvertical lashing angle, degrees (default 85)methodoptionaltie-down (default) or directmodeoptionalroad (default, Table 2) | rail (Table 3) | seaA | seaB | seaC (Table 4 sea areas)stfoptionalSTF per lashing, daN (tie-down; default 400)lcoptionalLC per lashing, daN (direct; default 2500)betaoptionalhorizontal lashing angle, degrees (direct; default 30)lengthoptionalblock length, cm (tipping check)widthoptionalblock width, cmheightoptionalblock height, cmcogHeightoptionalcentre of gravity height, cm (default half the height)
Beispiel
curl "https://glauc.cat/api/tools/cargo-securing?mass=6000&mu=0.45&alpha=85&stf=400&length=240&width=120&height=180"
Antwort (Auszug)
{ "ok": true, "data": { "result": { "method": "tie-down", "lashings": 4, "directions": [ { "direction": "forward", "sliding": 4, "tipping": 0, "required": 4 }, … ], "warnings": [ … ] } } }Parameter
qoptionalcode prefix (digits) or words, at least two characters (q or code is needed)codeoptionalexact 4-, 6- or 8-digit code instead of qlangoptionalen (default) or eslimitoptionalmax rows, 1–100 (default 25)
Beispiel
curl "https://glauc.cat/api/tools/hs-codes?q=lithium%20batteries&lang=en"
Antwort (Auszug)
{ "ok": true, "data": { "total": 6, "rows": [ { "code": "85076000", "level": 8, "description": "Lithium-ion accumulators", "heading": "Electric accumulators…", "duty": "2,7 %", "unit": "p/st" }, … ], "source": { … } } }Parameter
equipmenterforderlich20DV | 40DV | 40HC | 45HC | 20RF | 40RFHC | TAUT | MEGA | FRIGOpieceserforderlichqty x length x width x height x weightPerPiece (cm/kg), separated by ";" — at most 600 units per requeststackableoptionaldefault true — pieces may be stackedthisSideUpoptionaldefault true — pieces must not be tippedcountryoptionalroad limit matrix: ES (default) | EU | US | CNmodeoptionalroad_national (default) | road_international | road_intermodal
Beispiel
curl "https://glauc.cat/api/tools/load-planner?equipment=40HC&pieces=20x120x80x144x400"
Antwort (Auszug)
{ "ok": true, "data": { "metrics": { "packedCount": 20, "volumeUtilizationPct": 36.4, "vgmKg": 11700, "cog": { "xEccentricityPct": -0.8, "ok": true }, … }, "compliance": { … }, "placements": [ … ] } }GET
/api/tools/healthLiveness probe: one real calculation per engine, plus the review date and source of every tool (and the loaded CN dataset). Never rate-limited, never counted.
Beispiel
curl "https://glauc.cat/api/tools/health"
Antwort (Auszug)
{ "ok": true, "version": "1", "checks": { "chargeable-weight": true, … }, "review": { "hs-codes": { "verifiedOn": "2026-09-06", "dataset": "CN 2026, Reg. (EU) 2025/1926", "datasetYear": 2026 }, … } }Allgemeine Hinweise
- — Alle Antworten sind JSON in der Form { ok, version, data }. Fehler liefern HTTP 400 mit { ok: false, error, hint }.
- — CORS ist offen (Access-Control-Allow-Origin: *): Sie können die API direkt aus dem Browser aufrufen.
- — Keine Parameter oder Ergebnisse werden gespeichert; nur anonyme, aggregierte Endpoint-Zähler. Aufrufe sind zustandslos.
- — Keine Servicegarantie: Dies ist eine kostenlose Referenz-API. Wenn Sie sie produktiv integrieren, melden Sie sich über den Kontakt.
