Blog

Mercari API: how to search live and sold listings in the US and Japan

Kevin Wang
Kevin Wang
Founder, AnyAPI · December 5, 2026
mercariecommerceresaleprice-trackingapi
Mercari API: how to search live and sold listings in the US and Japan
Key findings
  • Mercari doesn't have a public API for searching listings in the US or Japan. The Mercari Shops API lets a Japanese merchant manage their own shop. It won't tell you what the shop next door sold.
  • Narrow a sold search before you use it to price anything. A search for "nintendo switch oled" put the typical US sale at about $63. Limiting it to consoles and checking the titles brought that up to about $185.
  • Use sold prices to set your asking price. About four in five recent US sales we checked went for less than the seller first asked.

Built on AnyAPI

503 scraping and data APIs behind one key.

Every endpoint in this post is one call away. Pay per request in USD from a prepaid wallet, with automatic failover when a provider breaks. No subscription, no card to start.

Get ~100 free requests$0.10 of credit on signup.

A Switch OLED case can have the console's full name in its title. If you're pricing a used Switch, a sold case is a real sale that answers the wrong question.

We compared live listings with sold ones on AnyAPI and ran the same camera search on Mercari Japan with mercapi.

Your choice depends on whose inventory you need and whether you're comparing Mercari sales with sales elsewhere, which is where CompSniper and SellerComps come in.

The best Mercari APIs

  • Mercari Shops API for managing your own Japanese shop
  • mercapi for a Japan-only Python script
  • AnyAPI for live and sold listings in both countries
  • CompSniper for comparing sales across marketplaces
  • SellerComps for more comp searches on a small monthly budget

What makes a good Mercari API?

If you're building a price checker, fetching the search page itself doesn't get you very far. Mercari US refused a plain request with a 403, and the Japanese search page had no listings in its HTML.

  • Whose listings can you see? Managing orders for your own shop takes different access than looking up someone else's sale.
  • Can you narrow the matches? A useful comp is a sale of a similar item. You need enough detail to tell a console from a controller.
  • Can you tell when it sold? A sale date lets you leave older sales out of your estimate. A last-updated time doesn't tell you what changed.
  • Who keeps the script working? There's a difference between paying for a search and using tools like Apify actors you run and maintain yourself.
How this was tested, and its limits
  • The AnyAPI run covered 52 calls from one machine, with six items in each country. The mercapi test was one search.
  • Comps came from the first page, except for the Switch OLED sold search, which covered three pages. Matching titles is rough: two bundles can name the same model and include different things.
  • Prices came from the vendors' own pages, checked when this was written. The cost per sold row assumes a full US page at the starting price.
  • The Mercari Shops API was a docs read because access needs a shop and a contract. We read CompSniper's and SellerComps' pages and didn't call either API.

The best Mercari APIs at a glance

ToolBest forWhy pick itPricing
Mercari Shops APIYour own Japanese shopManage products and orders with your shop's permissionContract with Mercari
mercapiJapan-only scriptsPython search without a keyFree
AnyAPILive and sold listings in both countriesSearch by category, then look up one item by IDSearch from $1.20 per 1,000 requests
CompSniperSold prices across marketplacesUp to 240 sold listings per request100 requests free per month; $9/month for 2,000
SellerCompsComp searches on a small monthly budgetMore searches per dollar than CompSniper on Starter and Growth100 requests free per month; $9.99/month for 3,000

For a US Switch OLED comp, pass the Consoles category in categoryId. Then keep titles that name the OLED model and drop cases and parts. A plain keyword search includes games and controllers too.

US sold search for "nintendo switch oled"Sold rowsMedian price
Keyword alone100$62.87
Consoles category and a title check247$185

For Coach Tabby bags, sellers were asking about $330, but buyers had paid about $160. Air Jordan 1s were different: live and sold listings had about the same median price.

Median US asking and sold prices: Switch OLED $225 and $185, Coach Tabby $330 and $160, AirPods Pro 2 $75 and $55, and Air Jordan 1 about $65 for both.
These are two groups: items still for sale and similar items that sold.

To see how far an individual seller came down, compare price with originalPrice on the same sold listing. The typical sale went for about 85% of the first asking price.

Share sold below first ask: AirPods Pro 2, 78%; Switch OLED, 86%; Coach Tabby, 88%; Air Jordan 1, 91%.
Across six US searches, 413 of 513 recent sales went for less than the seller first asked. Even Air Jordan 1 sellers usually came down on their own pair.

Best Mercari API for managing your own Japanese shop

Mercari Shops API

mercari shops API reference docs: GraphQL API documentation for mercari shops, endpoint https://api.mercari-shops.com/v1/graphql, header Authorization: Bearer with your API Personal Access Token
Your shop issues the token you use to manage its listings.

Mercari Shops API pros:

  • Update your products and handle orders in the same place.
  • Each shop issues its own access token from its admin page.

Mercari Shops API cons:

  • Requires a contract with Mercari and a registered, fixed IP address in Japan.
  • No search across other sellers' listings.

If you're connecting your order system to your Japanese shop, this is the official way to do it. Even after Mercari approves you, your token only opens your own shop, so there's no reason to apply just to check a competitor's price.

Mercari Shops API pricing: Access is by contract with Mercari.

Best Mercari API for a Japan-only Python script

mercapi

The mercapi repository on GitHub: Python API for querying and browsing mercari.jp, MIT license, 86 stars, latest release v0.5.0
The Python client searches the Japanese marketplace.

mercapi pros:

  • Runs without an API key.
  • Returns a page of items and the total number of matches together.

mercapi cons:

  • No US listings.
  • Copies how Mercari's web app signs requests. A change on Mercari's end can break your script.

Use the free Python client if you only need Mercari Japan. A search for "x100v" returned in under a second, and its total matched the separate live and sold counts on AnyAPI.

Mercari Japan search for "x100v"Result
mercapi matches across all statuses2,791
mercapi items returned on the first page119
AnyAPI listings for sale1,034
AnyAPI sold listings1,757

If you're watching for a camera, check the title before you send yourself an alert. One Japanese sold result for "x100v" was a speaker.

mercapi pricing: Free.

Best Mercari API for live and sold listings in both countries

AnyAPI

AnyAPI's Mercari API page: 3 endpoints, search from $1.20 per 1,000 requests, with the mercari.search endpoint for active Mercari US or Japan listings
Choose a search for a page of listings or a product lookup for one item.

AnyAPI pros:

  • One key returns active listings, sold listings and individual product details for Mercari US and Japan.
  • One search can return up to 100 US listings or 120 Japanese listings. Use nextCursor for the next page.

AnyAPI cons:

  • US search results don't say when an item was listed. You need a product lookup for that.
  • Japan's sold rows have no sale date. You get the last-updated time instead.
  • Looking up a Japanese Mercari Shops item costs more than an ordinary listing, about $0.011 a lookup instead of $0.0012.

Use mercari.search to see what's for sale and mercari.sold_listings to see what buyers paid. Here's the US sold search with the Consoles category already set:

curl -sS -X POST 'https://api.getanyapi.com/v1/run/mercari.sold_listings' \
  -H "Authorization: Bearer $ANYAPI_API_KEY" \
  -H 'Content-Type: application/json' \
  -d '{"query":"nintendo switch oled","country":"us","categoryId":"797"}'

One row from the response:

{
  "found": true,
  "data": {
    "items": [
      {
        "itemId": "m72831178872",
        "title": "OLED Nintendo switch bundle",
        "url": "https://www.mercari.com/us/item/m72831178872/",
        "status": "sold_out",
        "price": 145,
        "originalPrice": 175,
        "currency": "USD"
      }
    ],
    "totalResults": 2170,
    "nextCursor": "cur_..."
  }
}

Keep rows marked trading when you work out a sold price. The item has sold and the handover's still going on; most rows on the newest US sold page had that status.

Send the item ID to mercari.product for the US sale time in soldUtc. The same lookup in Japan won't give you a sale date.

This Coach Tabby bag sold about two weeks after the seller listed it:

curl -sS -X POST 'https://api.getanyapi.com/v1/run/mercari.product' \
  -H "Authorization: Bearer $ANYAPI_API_KEY" \
  -H 'Content-Type: application/json' \
  -d '{"itemId":"m86301858858","country":"us"}'
{
  "found": true,
  "data": {
    "items": [
      {
        "itemId": "m86301858858",
        "title": "tabby Coach",
        "url": "https://www.mercari.com/us/item/m86301858858/",
        "status": "sold_out",
        "price": 102,
        "originalPrice": 248,
        "currency": "USD",
        "createdUtc": 1794192028,
        "soldUtc": 1795594900
      }
    ]
  }
}

In Japan, prices are in yen, and Japanese search words turned up far more matches. About one in twenty listings came from a Mercari Shops business seller.

Product lookup from the runResultCharge per lookup
Usual successful lookupItem found$0.0012
Backup source used on 2 of 11 lookupsItem found$0.01097
Made-up item IDItem not found$0

AnyAPI pricing: Per 1,000 requests, live search starts at $1.20, sold listings at $1.20 and product lookups at $1.20. At 100 rows per call, that's $0.012 per 1,000 sold rows.

Best Mercari API for comparing sales across marketplaces

CompSniper

CompSniper pricing, monthly: Basic $0 for 100 requests a month, Starter $9 for 2,000, Growth $29 for 10,000, Scale $79 for 50,000; every plan covers Mercari US and Japan
Mercari US and Japan are included on every plan.

CompSniper pros:

  • Covers sold listings on eBay as well as Mercari US and Japan.
  • Up to 240 sold listings in one successful request.

CompSniper cons:

  • No exact sale dates for US listings.
  • Paid plans have a monthly fee.

If you sell the same item on Mercari and eBay, CompSniper lets you check both before you set a price. Set sold=false to see what sellers are asking now.

Failed requests don't count toward the monthly total.

CompSniper pricing: Free for 100 requests/month; Starter $9 for 2,000/month, Growth $29 for 10,000/month and Scale $79 for 50,000/month. Extra requests cost $5 per 1,000.

Best Mercari API for more comp searches on a small monthly budget

SellerComps

SellerComps sold prices API pricing, monthly: Free 100 requests a month, Starter $9.99 for 3,000, Growth $29.99 for 15,000, Pro $59.99 for 40,000; only successful searches count
The plans count successful searches in either country.

SellerComps pros:

  • If you use all your searches, Starter costs about $3.33 per 1,000 requests and Growth about $2. CompSniper charges $4.50 and $2.90 per 1,000 on the same tiers.
  • Every sold page includes the median and the prices a quarter and three quarters of the listings sold at or below (p25 and p75).

SellerComps cons:

  • Up to 100 sold listings per page. The price summary covers just that page.

Set marketplace=jp for Japanese listings in yen, including Mercari Shops. Use marketplace=us to check the US separately.

CompSniper and SellerComps both give you soldAt on every Japanese sold listing. Neither gives you an exact US sale date.

SellerComps pricing: Free for 100 requests/month; Starter $9.99 for 3,000/month, Growth $29.99 for 15,000/month and Pro $59.99 for 40,000/month. Only successful searches count.

Which Mercari API should you use?

  • If you're filling orders for your own Japanese store, use the Mercari Shops API.
  • For a Japan-only hobby script, start with mercapi.
  • For live and sold Mercari listings in both countries without a monthly plan, use AnyAPI.
  • For sold comps across marketplaces like eBay and StockX in one subscription, look at CompSniper or SellerComps.
  • If you want the most comp searches for a small monthly budget, pick SellerComps over CompSniper.
  • If you need US sale dates, use AnyAPI's mercari.product.
  • If you need Japan sale dates, use CompSniper or SellerComps.

For comps outside Mercari, see how to get eBay listing data or how to find local listings on Facebook Marketplace.

A sold search starts at $0.0012 per call. Try the Consoles category with a model you know.

Search Mercari sold listings

Use data responsibly and follow AnyAPI's Acceptable Use Policy.