Reef AI: ask for any data. Try it
Looking for the overview — what this API returns, what it costs, and a call you can run without a key? See the Hareruya API page →
E-commerce & Marketplaces

Hareruya API & Scraper

The Hareruya API turns hareruyamtg.com, Japan's largest Magic: The Gathering shop, into JSON in four actions.

4 actionsLive JSON1,000 free credits$0.67–$1.50 / 1,000 creditsMCP-ready
Get a free keyOpen in playground

🤖 Using an AI assistant? Copy this link into ChatGPT / Claude / Cursor — it reads every endpoint and parameter instantly and tells you if this API fits your use case.

search finds cards by English or Japanese name, by exact English card name or by set, with filters for language (Japanese, English, other), foil, rarity, format legality, price range and stock, sorted by relevance, price or release date, 1 to 100 rows a page. Every row is one printing in one language and one condition: the price in yen, the stock the shop shows right now, its own weekly sales count, and the other conditions of the same printing with their prices and stock. card returns one printing in full: every language and condition the shop sells, individual graded or high-value copies with their own price, weekly sales per language, and the card's data (type, mana cost, rules text, rarity, set, illustrator, legal formats), in Japanese or English page text. buylist returns what Hareruya pays for a card in NM condition (買取), never mixed with the sale price. sets lists the 422 sets the shop files cards under, with the ids search and buylist take. One ReefAPI key, the standard { ok, data, meta, error } envelope, no Hareruya account.

Reference

How Hareruya names a product — and the fields it becomes

Hareruya sells each printing per language and per condition, and some expensive cards as individual copies with their own photo. The API keeps the shop's title and splits out what you filter on.

on the shopfieldvalue
《稲妻/Lightning Bolt》[4ED] 赤Cname, card_name, set_codethe title, Lightning Bolt, 4ED
【JP】 / 【EN】 / 【FR】languageJP / EN / FR
【NM 在庫:5】condition, stockNM, 5
SP ¥3,150 18 (other conditions)other_conditions[]{condition SP, price_jpy 3150, stock 18}
BGS8.5 (10317)condition, single_copy, copy_codeBGS8.5, true, 10317
(128)《Sol Ring》[SOC] (English title)title_en, name_en, collector_number, set_codethe title, Sol Ring, 128, SOC
[NEO-BF] / [P Stamped_ELD] / [The List]set_code, set_labelNEO + BF / ELD + P Stamped / null + The List
週間販売数 28点 / nothing shownweekly_sales28 / 0
【買取価格】¥ 400buy_price_jpy (buylist only)400

Prices are yen as the shop prints them, with a thousands comma (¥1,000 = 1000), on the Japanese and the English site alike. The buylist quotes NM copies only.

Live example

Real request and response JSON

Captured from the indexed primary action, search, on .

Captured request
{
  "method": "POST",
  "url": "https://api.reefapi.com/hareruya/v1/search",
  "headers": {
    "x-api-key": "$REEF_KEY",
    "content-type": "application/json"
  },
  "body": {
    "query": "Lightning Bolt",
    "per_page": 20
  }
}
Captured response
{
  "ok": true,
  "meta": {
    "api": "hareruya",
    "endpoint": "search",
    "mode": "live",
    "latency_ms": 2445.7,
    "record_count": 20,
    "bytes": 88700,
    "cache_hit": false,
    "total": 141,
    "total_capped": false,
    "reachable": 141,
    "page": 1,
    "per_page": 20,
    "last_page": 8,
    "sort": "relevance",
    "filters_applied": {
      "query": "Lightning Bolt"
    },
    "currency": "JPY",
    "missing_from_live_list": 0,
    "has_more": true,
    "past_last_page": false,
    "dropped_out_of_stock": 0,
    "upstream_requests": 2,
    "warnings": [],
    "charged_credits": 3,
    "version": "1.0.0",
    "request_id": "3fe52d96a79842a1",
    "queue_ms": 2,
    "fetched_at": "2026-10-15T17:02:54.434Z"
  },
  "data": {
    "rows": [
      {
        "product_id": "67560",
        "product_class_id": "436375",
        "card_id": "6140",
        "name": "■黒枠■《稲妻/Lightning Bolt》[4EDBB] 赤C",
        "name_en": "【BB】《Lightning Bolt》[4ED]",
        "card_name": "Lightning Bolt",
        "set_code": "4ED",
        "language": "JP",
        "language_id": "1",
        "foil": false,
        "condition": "NM",
        "price_jpy": 4500,
        "stock": 5,
        "in_stock": true,
        "weekly_sales": 28,
        "on_sale": false,
        "single_copy": false,
        "copy_code": null,
        "other_conditions": [
          {
            "condition": "[trimmed-depth]",
            "price_jpy": "[trimmed-depth]",
            "stock": "[trimmed-depth]",
            "in_stock": "[trimmed-depth]",
            "product_class_id": "[trimmed-depth]"
          },
          {
            "condition": "[trimmed-depth]",
            "price_jpy": "[trimmed-depth]",
            "stock": "[trimmed-depth]",
            "in_stock": "[trimmed-depth]",
            "product_class_id": "[trimmed-depth]"
          },
          {
            "condition": "[trimmed-depth]",
            "price_jpy": "[trimmed-depth]",
            "stock": "[trimmed-depth]",
            "in_stock": "[trimmed-depth]",
            "product_class_id": "[trimmed-depth]"
          }
        ],
        "image": "https://files.hareruyamtg.com/img/goods/L/4EDBB/328.jpg",
        "url": "https://www.hareruyamtg.com/ja/products/detail/67560?lang=JP",
        "currency": "JPY",
        "price_index_jpy": 4500,
        "price_mismatch": false
      },
      {
        "product_id": "3833",
        "product_class_id": "27947",
        "card_id": "6140",
        "name": "《稲妻/Lightning Bolt》[4ED] 赤C",
        "name_en": "《Lightning Bolt》[4ED]",
        "card_name": "Lightning Bolt",
        "set_code": "4ED",
        "language": "JP",
        "language_id": "1",
        "foil": false,
        "condition": "NM",
        "price_jpy": 1000,
        "stock": 0,
        "in_stock": false,
        "weekly_sales": 4,
        "on_sale": false,
        "single_copy": false,
        "copy_code": null,
        "other_conditions": [],
        "image": "https://files.hareruyamtg.com/img/goods/L/2291.jpg",
        "url": "https://www.hareruyamtg.com/ja/products/detail/3833?lang=JP",
        "currency": "JPY",
        "price_index_jpy": 1000,
        "price_mismatch": false
      },
      {
        "product_id": "3833",
        "product_class_id": "27943",
        "card_id": "6140",
        "name": "《稲妻/Lightning Bolt》[4ED] 赤C",
        "name_en": "《Lightning Bolt》[4ED]",
        "card_name": "Lightning Bolt",
        "set_code": "4ED",
        "language": "EN",
        "language_id": "2",
        "foil": false,
        "condition": "NM",
        "price_jpy": 500,
        "stock": 0,
        "in_stock": false,
        "weekly_sales": 19,
        "on_sale": false,
        "single_copy": false,
        "copy_code": null,
        "other_conditions": [
          {
            "condition": "[trimmed-depth]",
            "price_jpy": "[trimmed-depth]",
            "stock": "[trimmed-depth]",
            "in_stock": "[trimmed-depth]",
            "product_class_id": "[trimmed-depth]"
          },
          {
            "condition": "[trimmed-depth]",
            "price_jpy": "[trimmed-depth]",
            "stock": "[trimmed-depth]",
            "in_stock": "[trimmed-depth]",
            "product_class_id": "[trimmed-depth]"
          },
          {
            "condition": "[trimmed-depth]",
            "price_jpy": "[trimmed-depth]",
            "stock": "[trimmed-depth]",
            "in_stock": "[trimmed-depth]",
            "product_class_id": "[trimmed-depth]"
          }
        ],
        "image": "https://files.hareruyamtg.com/img/goods/L/2291.jpg",
        "url": "https://www.hareruyamtg.com/ja/products/detail/3833?lang=EN",
        "currency": "JPY",
        "price_index_jpy": 500,
        "price_mismatch": false
      }
    ]
  }
}
Actions

What the Hareruya API does

ActionDescriptionConcrete use caseKey params
searchSearch Hareruya's MTG shop. Each row is one printing in one language and condition, with the live price and stock, plus the other conditions of the same printing. Give `query`, `card_name` or `set_id` (any combination); the other filters narrow it.Pricing teams call search to search Hareruya's MTG shop.query, card_name, set_id, language, foil, ...
cardOne printing in full: every language and condition the shop sells it in (price, live stock, individual graded copies), weekly sales per language, and the card's data (type, cost, text, rarity, set, illustrator, legal formats).Marketplace operators call card to get one printing in full.product_id, locale
buylistHareruya's buylist (買取): what the shop PAYS for a card in NM condition, in JPY. This is a buy price, never the sale price. Give `query`, `card_id` or `set_id`.Catalog enrichment teams call buylist to get hareruya's buylist (買取).query, card_id, set_id, language, foil, ...
setsEvery MTG set the shop files cards under, newest first: set_id (for `search` / `buylist`) and name.Retail analysts call sets to get every MTG set the shop files cards under, newest first.locale
Code samples

Call search from your stack

curl -X POST https://api.reefapi.com/hareruya/v1/search \
  -H "x-api-key: $REEF_KEY" \
  -H "content-type: application/json" \
  -d '{"query":"Lightning Bolt","per_page":20}'
MCP one-liner
Ask your MCP-connected assistant: call reefapi.hareruya.search with {"query":"Lightning Bolt","per_page":20}.
Use cases

Who uses this API and why

  • Price a collection in yen: search each card and read the NM price and the SP/MP/HP prices of the same printing.
  • Buy and sell spread: buylist for a card, then card on the same product_id for Hareruya's sale price and stock.
  • Track Japanese-language printings: search with language=jp for the copies only a Japanese shop stocks.
  • Watch a new set: search with its set_id and sort=price_desc every day.
  • Cross-market comparison: Hareruya yen prices next to Card Kingdom dollars and Cardmarket euros for the same card name.
FAQ

Questions developers ask before integrating

Is the stock number live?

Yes. stock is the number the shop's product list shows at the time of the call, the same figure as on the product page. Hareruya's search index carries its own stock-like number that is not the stock (it agreed with the live figure on 101 of 271 rows we compared), so the API never returns that one.

Is the buylist price the price I pay?

No. buylist returns buy_price_jpy, what Hareruya pays you for a card in NM condition (買取価格). The sale price is price_jpy on search and card. A buylist row's product_id works in card, so you get the sale price and stock of the same printing in one more call.

How do languages and conditions work?

Each search row is one printing in one language in one condition, usually NM, with the other conditions (SP, MP, HP) of the same printing in other_conditions. card lists every language and condition of a printing, including individual copies of expensive cards (graded slabs, inked or damaged copies) that have their own price and a stock of 1.

Are prices in yen or dollars?

Yen, always. The English site shows the same yen prices, and they do not change with the visitor's country: the same pages read from Japan, the United States and Germany in the same minute gave identical prices and stock.

How do I list a whole set?

Call sets to get the set ids (10 is Fourth Edition), then search with set_id and no query. set_id also narrows a name search and the buylist.

How far can I page?

Up to 100 rows a page. meta.total is the shop's own count; the shop's search reaches the first 4,000 rows of any result, so meta.last_page stops there and meta.total_capped says when a result is larger. Narrow a large result with set_id, language, rarity or a price range.

Can I search by the exact card name?

Yes: card_name takes the exact English card name (Lightning Bolt, 117 products) and returns every printing of it. It is case-sensitive; rows carry card_name, so copying it from a row always works. query is a looser text search in English or Japanese.

What is the Hareruya API?

Hareruya API is a ReefAPI endpoint group for hareruya (晴れる屋) magic: the gathering prices as json: what japan's largest mtg shop sells a card for in each language and condition, how many it has right now, and what it pays for one (買取). It returns live JSON through POST requests under /hareruya/v1.

Is the Hareruya API free to try?

Yes. ReefAPI starts with 1,000 free credits, no card required. Hareruya calls use the same shared credit balance as every other ReefAPI engine.

Do I need a Hareruya login or account?

No login to Hareruya is needed for the API response. You call ReefAPI with your x-api-key header, and the playground can run live examples before you create a production key.

How fresh is the Hareruya data?

The page example is captured from a live search call, and production requests fetch live data through ReefAPI rather than a static sample.

How many credits does the Hareruya API use?

Hareruya actions currently cost 2-3 credits per successful call. Failed or blocked calls are free. All APIs draw from one credit pool.

Can I call Hareruya from an AI assistant or MCP client?

Yes. Connect ReefAPI once through MCP and your assistant can call hareruya actions with the same key, credit pool and JSON envelope used by normal REST requests.

Is the Hareruya API a Hareruya scraper?

It is the managed alternative to a DIY Hareruya scraper. Instead of building and maintaining your own scraper — proxies, headless browsers, captcha and constant breakage — you call one ReefAPI endpoint and get the same hareruya (晴れる屋) magic: the gathering prices as json: what japan's largest mtg shop sells a card for in each language and condition, how many it has right now, and what it pays for one (買取) back as clean JSON.

Questions developers ask about Hareruya data

From Stack Overflow, Reddit and search, answered with live calls on 3 Nov 2026.

Is there a Hareruya API for MTG card prices, or do I have to scrape hareruyamtg.com?▾

The open-source JP↔US price comparers on GitHub that cover Hareruya call no Hareruya API; they read hareruyamtg.com themselves: one calls the shop's search index and parses the HTML list it renders, another drives a Playwright browser. The first notes that the shop's search hands out 60 rows at a time and that it had been reading only the first 60 of Sol Ring's 172 matches.

ReefAPI's Hareruya API returns that search as JSON: one row per printing, language and condition, with the English card name, collector number and set code, the yen price, live stock, the shop's weekly sales count and the other conditions of the same printing. Ask for up to 100 rows a page and keep paging while meta.has_more is true.

curl · every in-stock printing of a card
curl -X POST https://api.reefapi.com/hareruya/v1/search \
  -H "x-api-key: $REEF_KEY" -H "content-type: application/json" \
  -d '{"card_name":"Sol Ring","in_stock_only":true,"sort":"price_asc","per_page":100}'

Real response, 3 Nov 2026: total 151, last_page 2 · cheapest "(128)《太陽の指輪/Sol Ring》[SOC]": name_en "Sol Ring", collector_number "128", set_code SOC · JP NM 150 JPY, 29 in stock, weekly_sales 106

Are MTG cards cheaper on Hareruya than on TCGplayer?▾

Players post price gaps both ways: an r/EDH post found Japanese The Great Henge at ¥3,500 on Hareruya against about $65 on TCGplayer, while replies on r/mtgfinance's "Are cards generally cheaper in Japan?" say some cards are cheaper in Japan, some are not, and the mix changes over time.

So compare card by card. Hareruya prices everything in yen, by language and condition, so pass the product link to card and convert at your own rate. weekly_sales shows how much of that demand is real.

curl · the product link from the r/EDH post
curl -X POST https://api.reefapi.com/hareruya/v1/card \
  -H "x-api-key: $REEF_KEY" -H "content-type: application/json" \
  -d '{"product_id":"https://www.hareruyamtg.com/en/products/detail/76100?lang=JP","locale":"en"}'

Real response, 3 Nov 2026: "《The Great Henge》[ELD]" · JP NM 6000 JPY, 5 in stock, 7 sold this week · JP SP 5400 (sold out) · EN NM 9000, 1 in stock, 0 sold this week

Where is Hareruya's buylist (買取), and how do I get its buy prices?▾

Players on r/mtgfinance who looked for Hareruya's buylist on the English site could not find it; the answer was that it lives only in Japanese, at hareruyamtg.com/ja/purchase/. One seller there adds that the shop checks your cards against this list at the counter.

buylist reads that list as JSON: what Hareruya pays for an NM copy in yen, per printing, language and foil, with accepting false when the shop is not taking the card. Each row's product_id also works in card, so you see the buy and sell price of the same copy.

curl · foil buy prices, highest first
curl -X POST https://api.reefapi.com/hareruya/v1/buylist \
  -H "x-api-key: $REEF_KEY" -H "content-type: application/json" \
  -d '{"query":"Narset, Parter of Veils","foil":"foil","sort":"price_desc"}'

Real response, 3 Nov 2026: 14 rows · JP "■絵違い■《…Narset, Parter of Veils》※部分光沢[WAR-ART]" buy_price_jpy 20000, max_buy_qty 20 → same product in `card` sells NM 55000 JPY · EN foil [WAR] buys 900

Why does Hareruya list the same Japanese foil planeswalker several times at very different prices?▾

An r/mtgfinance thread asked this about the Japanese foil showcase Sorin, filed on Hareruya as a Collector's Pack copy and a Draft/Set Pack copy at very different prices. Commenters explained that the collector-booster copies are printed in the US and the draft and set booster ones in Japan, with different card stock and foiling.

Hareruya writes the version into the product title (※コレクターブースター版, ※ドラフト・セットブースター版, ■ショーケース■, ■ボーダーレス■) and sells each version as its own product. Search the English card name with language and foil and each version comes back as its own row with its title, set_code (VOW) and the shop's edition label in set_label (BF), price and stock.

curl · every Japanese foil version
curl -X POST https://api.reefapi.com/hareruya/v1/search \
  -H "x-api-key: $REEF_KEY" -H "content-type: application/json" \
  -d '{"card_name":"Sorin the Mirthless","language":"jp","foil":"foil","per_page":30}'

Real response, 3 Nov 2026: 7 products, all set_code VOW · ■ショーケース■ ※ドラフト・セットブースター版 (297) set_label BF, 18000 JPY, 3 in stock · ※コレクターブースター版 (297) BF, 12000, 1 in stock · ■ボーダーレス■ (278) BF, 600 · regular (131) no label, 200 · prerelease PRE, 500

How strict is Hareruya's card grading, and how do I get its NM, SP, MP and HP prices?▾

Buyers on r/mtgfinance describe Japanese shops as grading very strictly ("Japanese NM"); one US seller says he can usually resell Hareruya's MP copies as LP on TCGplayer. Hareruya publishes the condition guide behind its grades on hareruyamtg.com.

card returns every language and condition of a printing with its own price and live stock. Expensive individual copies come as separate offers with single_copy true, a copy_code and their own photo.

curl · condition ladder for one printing
curl -X POST https://api.reefapi.com/hareruya/v1/card \
  -H "x-api-key: $REEF_KEY" -H "content-type: application/json" \
  -d '{"product_id":"57095","locale":"en"}'

Real response, 3 Nov 2026: "《Gaea's Cradle》[USG]" · JP NM 250000 JPY (2 in stock) · SP 200000 (5) · MP 187500 (27) · HP 175000 (1) · EN NM 300000 (5) · weekly_sales JP 7, EN 1

How do I check a whole card list against Hareruya and get the cheapest in-stock copy of each card?▾

Open-source tools on GitHub such as Hareruya Spyglass and mtgcompare do this for a pasted card list: search each card, keep what is in stock, and pick the cheapest copy, with a foil or non-foil switch.

With ReefAPI it is one search per card: card_name with in_stock_only, then take the cheapest in-stock copy across each row and its other_conditions.

python · cheapest in-stock copy per card
import os, requests
REEF_KEY = os.environ["REEF_KEY"]

def cheapest(card):
    r = requests.post("https://api.reefapi.com/hareruya/v1/search",
                      headers={"x-api-key": REEF_KEY},
                      json={"card_name": card, "foil": "normal", "in_stock_only": True,
                            "sort": "price_asc", "per_page": 100})
    copies = [(c["price_jpy"], row["set_code"], row["language"], c["condition"])
              for row in r.json()["data"]["rows"]
              for c in [row] + row["other_conditions"] if c["in_stock"]]
    return min(copies, default=None)

for card in ["Force of Will", "Rhystic Study", "Sol Ring"]:
    print(card, cheapest(card))

Real response, 3 Nov 2026: Force of Will (12800, 'ALL', 'EN', 'MP') · Rhystic Study (3850, 'PCY', 'JP', 'MP') · Sol Ring (150, 'SOC', 'JP', 'NM')

docs / hareruya

Hareruya

Hareruya (晴れる屋) Magic: The Gathering prices as JSON: what Japan's largest MTG shop sells a card for in each language and condition, how many it has right now, and what it pays for one (買取).

base /hareruya/v14 endpoints
post/hareruya/v1/card2 credits

One printing in full: every language and condition the shop sells it in (price, live stock, individual graded copies), weekly sales per language, and the card's data (type, cost, text, rarity, set, illustrator, legal formats).

ParameterAllowed / rangeDescription
product_idrequired—A search row's `product_id` (one printing; every language and condition of it is on one page) or a hareruyamtg.com product URL.
locale = jaoptionalja · enPage text language: ja (default) or en. Prices are JPY either way.
Try in playground →
post/hareruya/v1/buylist3 credits

Hareruya's buylist (買取): what the shop PAYS for a card in NM condition, in JPY. This is a buy price, never the sale price. Give `query`, `card_id` or `set_id`.

ParameterAllowed / rangeDescription
queryoptional—Card or product name, English or Japanese ('Lightning Bolt', '稲妻', 'Ragavan'). A Japanese word can match more products than the English name (稲妻 980 vs Lightning Bolt 141 measured) because it also matches card text and other names.
card_idoptional—Every printing of one card: a search or buylist row's `card_id`.
set_idoptional—Set id from the `sets` action (e.g. 10 = Fourth Edition). With no query this lists the whole set.
languageoptionaljp · en · otherCopies in this language: jp, en, or other (every other language).
foiloptionalnormal · foilnormal (non-foil) or foil.
rarityoptionalcommon · uncommon · rare · mythic · basic_land · special · tokencommon, uncommon, rare, mythic, basic_land, special or token.
sort = defaultoptionaldefault · price_desc · price_ascdefault (the shop's order), price_desc, price_asc.
page = 1optional1–2000Page number (60 rows a page).
Try in playground →
post/hareruya/v1/sets2 credits

Every MTG set the shop files cards under, newest first: set_id (for `search` / `buylist`) and name.

ParameterAllowed / rangeDescription
locale = jaoptionalja · enPage text language: ja (default) or en. Prices are JPY either way.
Try in playground →
Built for volume
5M+ requests a day

Measured at 60 requests a second across the fleet, with no central bottleneck. Volume pricing is on request, and per-key limits are raised for high-volume accounts.

Missing a source?
We build it

Tell us a site we do not cover yet and it becomes an engine. A customer asked for bestprice.gr on a Sunday and it was in the catalog the next day.

Support
2 minute median reply

Median time from a question in the live chat to the first answer, measured across every answered conversation. Setup help included, no support tier to buy.

One key, one balance
Every API included

No per-site plans and no separate subscriptions. One key and one credit pool across the whole catalog, so adding a source costs nothing up front.

Planning something large? Tell us the volume and the sources and we will come back with what it costs and what we would have to build.