Mercari search
Search Mercari listings in the US (mercari.com, default) or Japan (jp.mercari.com) with the site's filters: sort, sale status, price range, condition, category, brand, shipping, color and size. Each item has id, name, price and currency, status, condition, brand, category, photos, seller id, link and raw (the site's record). total is the site's result count. Pass next_cursor back as cursor; it is null on the last page.
Every response includes credits_used: the credits this call cost.
Part of the Mercari API: 7 endpoints with prices, use cases and example responses.
Parameters
| name | type | description |
|---|---|---|
qrequired | string | Search words (optional when category_id or brand_id is given). Example: nintendo switch |
country | US | JP | US (default, mercari.com) or JP (jp.mercari.com; prices in JPY). |
sort | relevance | newest | price_asc | price_desc | likes | relevance (default), newest, price_asc, price_desc, likes (JP only; US falls back to relevance). |
status | all | on_sale | sold | all (default), on_sale or sold. |
price_min | string | Lowest price (USD for US, JPY for JP). |
price_max | string | Highest price (USD for US, JPY for JP). |
condition | string | Comma-separated: new, like_new, good, fair, poor (JP also bad). |
category_id | string | Category ids, comma-separated (from /mercari/v1/categories). |
brand_id | string | Brand ids, comma-separated (from brand_id / brand.id of an item). |
shipping | free | buyer | free (seller pays) or buyer (buyer pays). |
color_id | string | Color ids, comma-separated. |
size_id | string | Size ids, comma-separated. |
exclude | string | Words the results must not contain. |
limit | integer | Items per page (default 30, max 100 US / 120 JP). |
lang | ja | en | JP only: ja (default) or en for condition, shipping and category names. |
cursor | string | next_cursor from the previous page. |
Every endpoint also takes fresh, raw, fields (see lean responses and caching).
Example
curl "https://api.api.sh/mercari/v1/search?q=nintendo+switch" \
-H "x-api-key: $APISH_KEY" import os, requests
res = requests.get(
"https://api.api.sh/mercari/v1/search",
params={"q": "nintendo switch"},
headers={"x-api-key": os.environ["APISH_KEY"]},
timeout=120,
)
res.raise_for_status()
data = res.json() const url = new URL("https://api.api.sh/mercari/v1/search");
url.searchParams.set("q", "nintendo switch");
const res = await fetch(url, { headers: { "x-api-key": process.env.APISH_KEY } });
if (!res.ok) throw new Error(`${res.status} ${await res.text()}`);
const data = await res.json(); Response
A JSON object with the fields described above, plus raw (the source's own data), cached, fetched_at and credits_used. Errors return {"success": false, "error": "…"} with the HTTP status (see errors). A lookup that ran but found nothing (404) costs the price above; refused calls and errors on our side are free (what's charged).
Example response (real call, trimmed: lists cut to 2 items, long text shortened, raw left out)
{"country": "US","applied_filters": {"sort": "relevance","status": "all","q": "nintendo switch"},"total": 20000,"count": 30,"items": [{"id": "m15770090881","name": "BMO \"Adventure Time\" Nintendo Switch Dock","price": 27.07,"original_price": 30,"currency": "USD","status": "on_sale","url": "https://www.mercari.com/us/item/m15770090881/","seller_id": "717873356","condition": "Good","brand": "Nintendo","brand_id": 4591,"category": "Accessories","category_id": 798,"categories": [{"id": 7,"name": "Electronics"},{"id": 84,"name": "Video games & consoles"},"… 1 more"],"size": null,"description": "BMO-themed Nintendo switch (1st generation) holder/dock! Pose-able arms, vents in the back for air circulation and a slot for cable manageme…","photos": ["https://u-mercari-images.mercdn.net/photos/m15770090881_1.jpg?1790860364"],"thumbnail": "https://u-mercari-images.mercdn.net/photos/m15770090881_1.jpg?1790860364&width=200&height=200","likes": null,"label": null,"free_shipping": null,"created_at": "2026-10-01T13:12:44.000Z"},{"id": "m71193799913","name": "Pokemon Violet Nintendo Switch New","price": 59,"original_price": 59,"currency": "USD","status": "on_sale","url": "https://www.mercari.com/us/item/m71193799913/","seller_id": "152470088","condition": "New","brand": "Nintendo","brand_id": 4591,"category": "Games","category_id": 796,"categories": [{"id": 7,"name": "Electronics"},{"id": 84,"name": "Video games & consoles"},"… 1 more"],"size": null,"description": "Pokemon Violet for Nintendo Switch new and sealed \nAll sales are final\nFeel free to send questions!","photos": ["https://u-mercari-images.mercdn.net/photos/m71193799913_1.jpg?1785021194"],"thumbnail": "https://u-mercari-images.mercdn.net/photos/m71193799913_1.jpg?1785021194&width=200&height=200","likes": null,"label": null,"free_shipping": null,"created_at": "2026-07-25T23:13:14.000Z"},"… 28 more"],"next_cursor": "c64.eyJvIjoyOCwicyI6MiwicCI6LTEsImsiOiJDQndRLy8vLy8vLy8vLy8vQVJnQ0tBST0ifQ","cached": false,"credits_used": 1}