SearchLive

Spell Lookup

Looks up a D&D 5e spell by name and returns full SRD details.

$0.00345USDC per call · settled on Base · no subscription, no API key

Overview

Looks up a D&D 5e spell by name and returns full SRD details. Includes level, school, casting time, range, components, duration, concentration, ritual, classes, description, and higher-level scaling; or list spells filtered by level and/or school. SRD content only (OGL 1.0a / CC-BY-4.0). Use it as a spell lookup API, SRD spell search, or spell card details source.

Endpoint

MethodEndpointPriceDescription
POST/v1/marketplace/api/spell-lookup$0.00345Invoke Spell Lookup (Search) and return the upstream response.

How to call it

Requests are paid per call over the x402 protocol. Call the endpoint, receive a 402 Payment Required quote, then repeat the request with the signed payment header. The SDKs do both steps for you.

# 1. Ask for a quote
curl -i -X POST https://api.jarvisclaw.ai/v1/marketplace/api/spell-lookup \
  -H 'Content-Type: application/json' \
  -d '{}'

# 2. Pay it (the SDK signs and retries for you)
curl -X POST https://api.jarvisclaw.ai/v1/marketplace/api/spell-lookup \
  -H 'Content-Type: application/json' \
  -H 'X-PAYMENT: <signed-payload>' \
  -d '{}'
Open in the marketplace

Docs: Getting started · x402 payments · x402 discovery · All APIs