$ man magic-item-lookup
/magic-item-lookup
PRICE / CALL
$0.003
USDC · base mainnet · scheme: exact
METHOD
POST
CLUSTER
rollforgeCATEGORY
uncategorized
STATUS
● live
NAME
magic-item-lookup — looks up a d&d 5e magic item by name from the srd
SYNOPSIS
POST https://x402.agentutility.ai/magic-item-lookup
Content-Type: application/json
X-PAYMENT: <signed-transferWithAuthorization>
{ ... }↳ first call →
402 Payment Required. Sign USDCtransferWithAuthorization, retry with theX-PAYMENT header.DESCRIPTION
Looks up a D&D 5e magic item by name from the SRD. Returns type, rarity, attunement, and full description; or list items filtered by rarity and/or type. SRD content only (OGL 1.0a / CC-BY-4.0). Use it as a magic item lookup API, SRD magic items search, or wondrous item reference.
INPUT — request schema
| property | type | description | req? |
|---|---|---|---|
| name | string | Magic item name, e.g. 'Bag of Holding'. | optional |
| rarity | string | Filter list by rarity: common, uncommon, rare, very rare, legendary. | optional |
| type | string | Filter list by type, e.g. 'Wondrous item', 'Weapon', 'Armor'. | optional |
| limit | number | Max results when listing, 1-50. Default 20. | optional |
OUTPUT — response shape
| field | type | description |
|---|---|---|
| item | string | — |
EXAMPLES — two ways to call
EXAMPLE 1 · curl
curl -X POST https://x402.agentutility.ai/magic-item-lookup \
-H 'Content-Type: application/json' \
-d '{ }'first response =
402 Payment Required with payment requirements; sign + retry with X-PAYMENT.EXAMPLE 2 · mcp
# Install the MCP package for this endpoint's cluster npx -y @agentutility/mcp-<cluster> # Required: EVM private key with USDC on Base export X402_PRIVATE_KEY=0x... # Then call the magic-item-lookup tool from your MCP-aware agent.
MCP server handles payment automatically — your coding agent just calls the tool by name.
METADATA
- tags
- rollforgemagicitemlookupmagic-item-lookup
- methods
- POST
- cluster
- rollforge
- price
- $0.003 USDC per call
ADJACENT — other endpoints in rollforge
| endpoint | description | price |
|---|---|---|
| class-lookup | Looks up a D&D 5e class by name for its SRD reference details. | $0.003 |
| condition-lookup | D&D 5e condition lookup API / SRD conditions reference (blinded, grappled, prone, stunned, etc.). | $0.003 |
| equipment-lookup | Looks up D&D 5e weapons and armor from the SRD by name. | $0.003 |
| monster-lookup | Looks up a D&D 5e monster by name and returns a compact SRD stat block. | $0.003 |
| race-lookup | Looks up a D&D 5e race by name for its SRD racial traits. | $0.003 |
| spell-lookup | Looks up a D&D 5e spell by name and returns full SRD details. | $0.003 |
| ability-check | Resolves a d20 ability check, skill check, attack roll, or saving throw for tabletop RPGs. | $0.005 |
| background-gen | Character background generator API / personality trait, ideal, bond, flaw generator for tabletop RPGs. | $0.005 |
SEE ALSO