/v1/meta
Spec
Try it live
10 free calls per day — no sign-up, no API key. Goes through the oanor gateway.
It works. Grab an API key and use it in your project.
Get an API keyCode snippets
curl "https://api.oanor.com/dndencounter-api/v1/meta" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/dndencounter-api/v1/meta", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/dndencounter-api/v1/meta");
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/meta",
headers={"x-oanor-key": "oanor_test_..."}
)
Example response
A real response from this endpoint, captured by the latest health check.
{
"data": {
"notes": "Party as party_size + party_level, or a 'levels' list for mixed parties (1–20). Monster XP as a comma list. Uses the DMG thresholds and encounter multipliers.",
"service": "dndencounter-api",
"endpoints": {
"GET /v1/meta": "This document.",
"GET /v1/carry": "Carrying capacity, push/drag/lift and encumbrance from Strength and size.",
"GET /v1/budget": "Easy/medium/hard/deadly XP thresholds and the daily budget for a party.",
"GET /v1/difficulty": "Adjusted XP and difficulty rating for a set of monsters vs a party."
},
"description": "D&D 5e encounter maths: party XP thresholds, encounter difficulty with the monster-count multiplier, and carrying capacity."
},
"meta": {
"timestamp": "2026-06-06T07:14:07.890Z",
"request_id": "33022ed8-44cb-4ff8-8b27-9b487e6c79d2"
},
"status": "ok",
"message": "Meta",
"success": true
}