{"name":"encounter-builder","description":"Encounter builder / encounter difficulty calculator API for D&D 5e. Give the party (levels, or size + level) to get easy/medium/hard/deadly XP thresholds; optionally give monster CRs to get the multiplier-adjusted XP and the resulting difficulty rating. SRD DMG tables (OGL 1.0a / CC-BY-4.0).","price":"$0.005","method":"POST","input_schema":{"properties":{"party_levels":{"type":"array","description":"Array of character levels, e.g. [3,3,4,2]."},"party_size":{"type":"number","description":"Number of characters (use with party_level if levels are uniform)."},"party_level":{"type":"number","description":"Shared character level (use with party_size)."},"monster_crs":{"type":"array","description":"Optional monster challenge ratings, e.g. [\"1\",\"1/2\",\"2\"], to rate the encounter."}},"required":[]},"input_example":{"party_size":4,"party_level":3,"monster_crs":["1","1","2"]},"output_example":{"party_size":4,"xp_thresholds":{"easy":300,"medium":600,"hard":900,"deadly":1600},"encounter":{"raw_xp":850,"multiplier":2,"adjusted_xp":1700,"difficulty":"deadly"}},"x402_payment_required":true,"x402_facilitator":"https://api.cdp.coinbase.com/platform/v2/x402"}