ebaysoldlistingsDOCS

Mercari sold and active listings

GET /mercari returns Mercari US sold listings by keyword, or current listings with sold=false, up to 100 per page, with price, original price, condition, brand, category, seller ID, images and a price summary.

GET /mercari searches Mercari US by keyword. By default it returns sold listings; send sold=false for what is for sale now. Up to 100 rows per page and 100 pages, with the displayed price, original price, condition, brand, category, seller ID and photos. Sold searches include a price summary.

It uses your normal API key, monthly quota and rate limit. Each successful call counts as one request, and failed calls are never charged. No Mercari account is needed. For an overview, see the Mercari API page.

GET/mercaricost 1 request
curl "https://api.ebaysoldlistingsapi.com/mercari?keyword=nintendo+switch&count=3" \
  -H "Authorization: Bearer YOUR_API_KEY"
Python
import requests

response = requests.get(
    "https://api.ebaysoldlistingsapi.com/mercari",
    headers={"Authorization": "Bearer YOUR_API_KEY"},
    params={"keyword": "nintendo switch oled", "itemCondition": "likeNew", "count": 100},
    timeout=60,
)
response.raise_for_status()
data = response.json()
print(data["totalItems"], "sold, median", data["summary"]["median"], "USD")
Node.js
const url = new URL("https://api.ebaysoldlistingsapi.com/mercari");
url.search = new URLSearchParams({ keyword: "lululemon align leggings", sold: "false", sortOrder: "newest" });
const res = await fetch(url, { headers: { Authorization: "Bearer YOUR_API_KEY" } });
const { items } = await res.json();
console.log(items.map((i) => `${i.title}: $${i.price}`));

Parameters

ParameterValuesDefault
keywordAny search term, up to 300 charactersRequired
soldtrue (sold listings) or false (active listings)true
count1 to 100 rows per page100
page1 to 1001
sortOrderbestMatch, newest, lowestPrice, highestPrice, recentlySold, mostPopularbestMatch
minPrice, maxPricePrice bounds in USDNone
itemConditionany, new, likeNew, good, fair, poorany
categoryId, brandIdMercari category or brand idsNone
includeListedAttrue adds listedAt, the date and time Mercari shows as "Posted" (a few seconds slower)false

Response

Example response (real, shortened to 2 items)
{
  "keyword": "nintendo switch",
  "page": 1,
  "count": 3,
  "totalResults": 10000,
  "totalItems": 3,
  "hasNextPage": true,
  "items": [
    {
      "itemId": "m64149690566",
      "url": "https://www.mercari.com/us/item/m64149690566/",
      "title": "Pokemon: Let's Go Eevee! - Nintendo Switch Game",
      "price": "29.00",
      "currency": "USD",
      "originalPrice": "35.00",
      "condition": "Like new",
      "conditionId": 2,
      "status": "sold",
      "imageUrl": "https://u-mercari-images.mercdn.net/photos/m64149690566_1.jpg?1795459076",
      "thumbnailUrl": "https://u-mercari-images.mercdn.net/photos/m64149690566_1.jpg?1795459076&width=200&height=200",
      "sellerId": 305160099,
      "brand": "Nintendo",
      "categoryId": 796,
      "categoryName": "Games",
      "marketplace": "mercari"
    },
    {
      "itemId": "m90275485742",
      "url": "https://www.mercari.com/us/item/m90275485742/",
      "title": "The Legend of Zelda Breath of the Wild Nintendo Switch",
      "price": "32.00",
      "currency": "USD",
      "originalPrice": "35.00",
      "condition": "Like new",
      "conditionId": 2,
      "status": "sold",
      "imageUrl": "https://u-mercari-images.mercdn.net/photos/m90275485742_1.jpg?1791143636",
      "thumbnailUrl": "https://u-mercari-images.mercdn.net/photos/m90275485742_1.jpg?1791143636&width=200&height=200",
      "sellerId": 716266334,
      "brand": "Nintendo",
      "categoryId": 796,
      "categoryName": "Games",
      "marketplace": "mercari"
    }
  ],
  "marketplace": "mercari",
  "scrapedAt": "2026-11-23T18:44:34.388235+00:00",
  "summary": { "count": 3, "currency": "USD", "median": 32, "mean": 33.16, "min": 29, "max": 38.47, "p25": 30.5, "p75": 35.24, "avgShipping": null }
}
price / originalPricestring | null
The displayed price and, when shown, the original price, in USD as decimal strings.
statusstring
sold or active.
condition / conditionIdmixed
Mercari's condition label and its id.
imageUrl / thumbnailUrlstring | null
Full photo and thumbnail.
sellerId, brand, categoryId, categoryNamemixed
Seller, brand and category as Mercari shows them.
listedAtstring | null
Only with includeListedAt=true: when the listing was posted (ISO 8601 UTC). It is not a sold date.
summaryobject | null
Median, mean, range and quartiles of the sold prices. null on active searches, because asking prices are not sales.

Mercari's search does not show when an item sold, so sold rows have no sold date. A displayed sold price can be higher than an amount accepted through a private offer, so treat it as an upper bound and keep the sample size next to any median.

Errors

StatusCodeMeaning
400invalid_paramsMissing keyword or a value out of range
402quota_exceededMonthly quota reached
429rate_limitedPer-minute limit reached; retry after the Retry-After seconds
502, 503, 504upstream_blocked, upstream_unavailable, server_busy, upstream_timeoutMercari did not answer this time; retry after a few seconds

On this page