Skip to main content
POST
/
find-spell
Find spells
curl --request POST \
  --url https://api.wanderersguide.app/functions/v1/find-spell \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "id": 123,
  "name": "<string>",
  "content_sources": [
    123
  ],
  "traits": [
    123
  ]
}
'
{
  "status": "success",
  "data": [
    {
      "name": "<string>",
      "rank": 5,
      "traditions": [
        "<string>"
      ],
      "rarity": "COMMON",
      "description": "<string>",
      "content_source_id": 123,
      "version": "<string>",
      "id": 123,
      "created_at": "2023-11-07T05:31:56Z",
      "availability": "STANDARD",
      "cast": "<string>",
      "traits": [
        123
      ],
      "defense": "<string>",
      "cost": "<string>",
      "trigger": "<string>",
      "requirements": "<string>",
      "range": "<string>",
      "area": "<string>",
      "targets": "<string>",
      "duration": "<string>",
      "heightened": {},
      "meta_data": {}
    }
  ]
}

Documentation Index

Fetch the complete documentation index at: https://docs.wanderersguide.app/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

API key created in your Wanderer's Guide account settings. Send as Authorization: Bearer <key>. Used for direct API access from external tools and scripts.

Body

application/json

Common filter shape for find-* endpoints.

id

Single id or array of ids. When omitted (or array), the response is an array. When a single id, the response is the matching object or null.

name
string

Case-insensitive exact match (ilike).

content_sources
integer[]

Restrict to these content_source_ids. When omitted, only official published sources are returned.

traits
integer[]

Match rows whose traits array contains all of these trait ids.

Response

JSend success.

status
enum<string>
Available options:
success
data
object