Skip to content

Scryfall API

2 endpointsSports & GamingGlobalsocial:read

Magic: The Gathering cards and search from Scryfall's public card and search pages.

View as Markdown
GET/scryfall/cardOne Magic: The Gathering card print: mana cost, type, rules text, artist, set, rarity, prices and format legalities.
GET/scryfall/searchSearch Magic: The Gathering cards with Scryfall syntax (name, t:goblin, c:red cmc<=2, …); one card per name, 60 per page.

card

GET/v1/scryfall/card

One Magic: The Gathering card print: mana cost, type, rules text, artist, set, rarity, prices and format legalities.

scope social:read1 unitcached 6 h

Parameters

id
string
required
Set code and collector number such as lea/161, or a scryfall.com/card URL.
e.g. lea/161
tunnel
string
Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy.
proxy
string
Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it.
profileId
string
Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only.

Response data

17 fields
artiststring
idstring
imageUrlstring
legalitiesmap
manaCoststring
namestring
numberstring
oracleTextstring
pricesMoney[]
amountstring
currencystring
raritystring
setCodestring
setNamestring
statsstring
typeLinestring
urlstring
curl "https://api.hoshime.com/v1/scryfall/card?id=lea%2F161" \
  -H "Authorization: Bearer $HOSHIME_TOKEN"
200 Response shape
{
  "data": {
    "artist": "…",
    "id": "abc123",
    "imageUrl": "https://…",
    "legalities": {},
    "manaCost": "…",
    "name": "…",
    "number": "…",
    "oracleText": "…",
    "prices": [
      {
        "amount": "…",
        "currency": "USD"
      }
    ],
    "rarity": "…",
    "setCode": "…",
    "setName": "…",
    "stats": "…",
    "typeLine": "…",
    "url": "https://…"
  },
  "meta": {
    "cached": false,
    "endpoint": "card",
    "fetchedAt": "2026-11-06T09:41:00Z",
    "platform": "scryfall",
    "requestId": "req_2Xb9kQ…",
    "units": 1
  }
}
esc
↑↓ move↵ open