{"slug":"x402-agentutility-ai-ability-check-9cb318","title":"Resolves a d20 ability check, skill check, attack roll, or saving throw for tabl","host":"x402.agentutility.ai","method":"POST","resource":"https://x402.agentutility.ai/ability-check","category":"other","description":"Resolves a d20 ability check, skill check, attack roll, or saving throw for tabletop RPGs. Rolls a d20 with an optional modifier and advantage/disadvantage, compares to a DC, and reports total, success/failure, and natural-20 / natural-1. Seedable. Use it as a d20 check resolver API for any RPG.","price_listed":0.005,"price_asked":0.005,"state":"answering","state_label":"Answering","checks_7d":1,"answered_7d":1,"latency_ms_median":23,"reported_calls_30d":2,"reported_payers_30d":1,"networks":["eip155:8453","solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp"],"badge":"unverified","paid_checks_7d":0,"paid_ok_7d":0,"example_input":{"body":{"advantage":true,"dc":15,"modifier":5,"seed":2},"bodyType":"json","method":"POST","type":"http"},"output_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"properties":{"advantage":{"description":"Roll twice, take the higher.","type":"boolean"},"dc":{"description":"Difficulty class to beat. Omit to just get the roll.","type":"number"},"disadvantage":{"description":"Roll twice, take the lower.","type":"boolean"},"modifier":{"description":"Total bonus/penalty added to the d20 (-20..40). Default 0.","type":"number"},"seed":{"description":"Optional integer seed for a reproducible roll.","type":"number"}},"required":[]},"bodyType":{"enum":["json","form-data","text"],"type":"string"},"method":{"enum":["POST"],"type":"string"},"type":{"const":"http","type":"string"}},"required":["type","method","bodyType","body"],"type":"object"},"output":{"properties":{"example":{"properties":{"critical_failure":{"type":"boolean"},"critical_success":{"type":"boolean"},"d20_rolls":{"items":{"type":"integer"},"type":"array"},"dc":{"type":"integer"},"mode":{"type":"string"},"modifier":{"type":"integer"},"natural_roll":{"type":"integer"},"success":{"type":"boolean"},"total":{"type":"integer"}},"type":"object"},"type":{"type":"string"}},"required":["type"],"type":"object"}},"required":["input"],"type":"object"},"history":[{"day":"2026-09-24","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.005,"price_match":true,"latency_ms":23,"error":null}],"description_full":"Resolves a d20 ability check, skill check, attack roll, or saving throw for tabletop RPGs. Rolls a d20 with an optional modifier and advantage/disadvantage, compares to a DC, and reports total, success/failure, and natural-20 / natural-1. Seedable. Use it as a d20 check resolver API for any RPG.","last_updated":"2026-09-17T04:43:10.27Z","schemes":["exact"]}