Mercari similar items (US)
The items mercari.com shows as similar to a listing: name, price, original price, condition, brand, category, photos, likes, seller id and link.
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 |
|---|---|---|
idrequired | string | The mercari.com item id or link. Example: m88240629429 |
limit | integer | How many (default 30, max 60). |
Every endpoint also takes fresh, raw, fields (see lean responses and caching).
Example
curl "https://api.api.sh/mercari/v1/similar?id=m88240629429" \
-H "x-api-key: $APISH_KEY" import os, requests
res = requests.get(
"https://api.api.sh/mercari/v1/similar",
params={"id": "m88240629429"},
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/similar");
url.searchParams.set("id", "m88240629429");
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","item_id": "m88240629429","count": 30,"items": [{"id": "m75882354593","name": "GameCube Controller OEM","price": 60,"original_price": 60,"currency": "USD","status": null,"url": "https://www.mercari.com/us/item/m75882354593/","seller_id": "757950496","condition": null,"brand": "Nintendo","brand_id": 4591,"category": "Accessories","category_id": 798,"categories": [],"size": null,"description": null,"photos": ["https://u-mercari-images.mercdn.net/thumb/photos/m75882354593_1.jpg?1793329619"],"thumbnail": "https://u-mercari-images.mercdn.net/thumb/photos/m75882354593_1.jpg?1793329619&width=200&height=200","likes": 0,"label": null,"free_shipping": true,"created_at": null},{"id": "m56744225073","name": "Nintendo GameCube Controller Purple","price": 25,"original_price": 25,"currency": "USD","status": null,"url": "https://www.mercari.com/us/item/m56744225073/","seller_id": "962300548","condition": null,"brand": "Nintendo","brand_id": 4591,"category": "Accessories","category_id": 798,"categories": [],"size": null,"description": null,"photos": ["https://u-mercari-images.mercdn.net/thumb/photos/m56744225073_1.jpg?1793577094"],"thumbnail": "https://u-mercari-images.mercdn.net/thumb/photos/m56744225073_1.jpg?1793577094&width=200&height=200","likes": 0,"label": null,"free_shipping": true,"created_at": null},"… 28 more"],"cached": false,"credits_used": 1}