Mercari
Mercari Shop API
A Mercari Shops shop, a business seller on Mercari Japan, by shop id or link: name, description, rating, review count, followers, whether it is open, time-sale flag, badges, thumbnail, creation date and link. The profile only, with no product list: for a shop's products use search with shops_only or item with one of its product ids. Mercari Japan only. Costs 1 credit.
Authorizations
AuthorizationstringheaderrequiredBearer authentication header of the form Bearer <token>, where <token> is your Scavio API key (e.g. Bearer sk_live_your_key).
Body
application/jsonshop_idstringA Mercari Shops shop id, 22 letters and digits (shop_id of a search answer, shop.shop_id of an item answer). Send shop_id or url.
Example: LThudSk3aoGvKcW6R3sA6m
urlstringA Mercari Shops link (https://jp.mercari.com/shops/profile/<id>).
Example: https://jp.mercari.com/shops/profile/LThudSk3aoGvKcW6R3sA6m
countrystringdefault:jpThe Mercari market: jp only (the default; the other market answers 400, not charged). us = mercari.com (USD, English), jp = Mercari Japan (JPY, Japanese). Mercari UK closed: gb and uk answer 400, as does any other value, before anything is charged.
Example: jp
Notes
Markets. This endpoint serves Mercari Japan only: jp only (the default; the other market answers 400, not charged). us is mercari.com (USD, English); jp is Mercari Japan (JPY, Japanese). Every answer echoes country, currency and language. Mercari UK closed: gb and uk answer 400, as does any other country, before anything is charged.
| country | Market | Prices | Language |
|---|---|---|---|
jp | Mercari Japan (jp.mercari.com) | JPY, whole yen | Japanese, as sellers wrote it (not translated) |
Request
from scavio import ScavioClient
client = ScavioClient(api_key="sk_live_your_key", timeout=180)
s = client.mercari.shop(shop_id="LThudSk3aoGvKcW6R3sA6m", country="jp")["data"]["shop"]
print(s["name"], s["rating"], s["review_count"], s["followers"], s["is_open"])Response