Aller au contenu
GET /v1/carry

Carrying capacity

Essayez-le en direct

10 appels gratuits par jour — sans inscription, sans clé API. Passe par la passerelle oanor.

En-têtes personnalisés (facultatif)
api.oanor.com/dndencounter-api

Ça marche. Récupérez une clé API et utilisez-la dans votre projet.

Obtenez une clé API

Extraits de code

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_..."}
)

Exemple de réponse

Une réponse réelle de ce endpoint, capturée lors du dernier contrôle de santé.

{
    "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
}