Vai al contenuto
GET /v1/carry

Carrying capacity

Provalo dal vivo

10 chiamate gratuite al giorno — senza registrazione, senza chiave API. Passa dal gateway oanor.

Intestazioni personalizzate (facoltative)
api.oanor.com/dndencounter-api

Funziona. Prendi una chiave API e usala nel tuo progetto.

Ottieni una chiave API

Frammenti di codice

curl "https://api.oanor.com/dndencounter-api/v1/carry" \
  -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/dndencounter-api/v1/carry", {
  headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/dndencounter-api/v1/carry");
curl_setopt($ch, CURLOPT_HTTPHEADER, ["x-oanor-key: oanor_test_..."]);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
$out = curl_exec($ch);
import requests
requests.get(
    "https://api.oanor.com/dndencounter-api/v1/carry",
    headers={"x-oanor-key": "oanor_test_..."}
)

Risposta di esempio

Una risposta reale di questo endpoint, acquisita dall'ultimo health check.

{
    "data": {
        "note": "Carrying capacity = Strength × 15 (× size). Push/drag/lift is double that. The optional encumbrance variant flags speed penalties at ×5 and ×10 Strength.",
        "inputs": {
            "size": "medium",
            "strength": 15
        },
        "push_drag_lift": 450,
        "encumbered_over": 75,
        "carrying_capacity": 225,
        "heavily_encumbered_over": 150
    },
    "meta": {
        "timestamp": "2026-06-06T07:14:07.697Z",
        "request_id": "184d7c77-7f0c-41ec-a85b-f753c737bcd7"
    },
    "status": "ok",
    "message": "Carrying capacity",
    "success": true
}