Mercari Japan Search API Documentation

GET   /api/v1/search?engine=mercari_jp_search

The Mercari Japan Search API returns the listings Mercari Japan shows for a search, from individual sellers and from Mercari Shops. Each comes with its item id, link, price in yen, sale status, condition, category id and photos. Listings from individual sellers also carry the seller and the shipping terms, and listings from Mercari Shops carry the shop. Brand, size, discount and auction details are returned where Mercari shows them.

Search by keyword, or leave q out and list a category, a brand, a seller or a shop. Sold listings are returned along with listings on sale unless item_status picks one. Titles, conditions, shipping methods, brands and sizes are text in Japanese, as Mercari prints them. total_results is Mercari's own count, which it caps at 15000, and a search reaches up to 100 pages of 120 listings.

API Parameters

Search Query

  • Name
    q
    Required
    Optional
    Description

    Parameter defines the text you want to search for, up to 500 characters. It is required unless category_id, brand_id, seller_id or shop_id is set.

Filters

  • Name
    item_status
    Required
    Optional
    Description

    Parameter defines the sale status to keep. Without it, listings on sale and sold listings are both returned. Options are:

    • on_sale - listings that can be bought
    • sold_out - listings that are sold or in a transaction, as Mercari's own sold-out filter keeps them. Each result's status tells sold_out from trading.

  • Name
    condition
    Required
    Optional
    Description

    Parameter defines the item conditions to keep, comma-separated. Several conditions widen the results. Supported values are new, like_new, good, fair, poor, and bad, Mercari's six conditions from best to worst.

  • Name
    price_min
    Required
    Optional
    Description

    Parameter defines the lowest price, in whole yen from 1 to 9999999.

  • Name
    price_max
    Required
    Optional
    Description

    Parameter defines the highest price, in whole yen from 1 to 9999999. It must not be lower than price_min.

  • Name
    category_id
    Required
    Optional
    Description

    Parameter defines the Mercari category ids to search in, comma-separated, such as 701 or 701,702. Several categories widen the results. Results carry their category_id, and Mercari shows a category's id in its search address, as in category_id=701. Up to 20 ids, each from 1 to 2147483647.

  • Name
    brand_id
    Required
    Optional
    Description

    Parameter defines the Mercari brand id to keep, such as 7572 for Nintendo Switch. Results carry their brand_id. One id, from 1 to 2147483647.

  • Name
    seller_id
    Required
    Optional
    Description

    Parameter defines a Mercari seller id, to list one individual seller's listings. It is the seller.id of a result, such as 547903143.

  • Name
    shop_id
    Required
    Optional
    Description

    Parameter defines a Mercari Shops id, to list one shop's listings. It is the shop.id of a result, such as YoUQXX6TT8X6C47LxjRZbH.

  • Name
    seller_type
    Required
    Optional
    Description

    Parameter defines the kind of seller to keep. Without it both are returned. Options are:

    • individual - listings from members
    • shop - listings from Mercari Shops

  • Name
    is_free_shipping
    Required
    Optional
    Description

    Set this parameter to true to keep listings whose price includes shipping. false applies no shipping filter.

Sorting

  • Name
    sort_by
    Required
    Optional
    Description

    Parameter defines how the results are sorted. The order is Mercari's own, so a few listings can sit out of order, as they do on its page. Options are:

    • relevance - Mercari's own order (default)
    • newest - latest listings first
    • price_low_to_high - lowest price first
    • price_high_to_low - highest price first
    • most_liked - listings with the most likes first

Pagination

  • Name
    page
    Required
    Optional
    Description

    Parameter defines the page of results, from 1 to 100. Mercari lists up to 120 listings a page. The last page is the one whose pagination has no next.

Engine

  • Name
    engine
    Required
    Required
    Description

    Parameter defines an engine that will be used to retrieve real-time data. It must be set to mercari_jp_search.

API key

  • Name
    api_key
    Required
    Required
    Description

    The api_key authenticates your requests. Use it as a query parameter (https://www.searchapi.io/api/v1/search?api_key=YOUR_API_KEY) or in the Authorization header (Bearer YOUR_API_KEY).

Zero Data Retention

  • Name
    zero_retention
    Enterprise Only
    Enterprise Only
    Required
    Optional
    Description

    Set this parameter to true to disable all logging and persistent storage. No request parameters, HTML, or JSON responses are stored or logged. Suitable for high-compliance use cases. Debugging and support may be limited while enabled.

API Examples

Full Response

Full Response
GET
https://www.searchapi.io/api/v1/search?engine=mercari_jp_search&q=nintendo+switch
Request
import requests

url = "https://www.searchapi.io/api/v1/search"
params = {
  "engine": "mercari_jp_search",
  "q": "nintendo switch"
}

response = requests.get(url, params=params)
print(response.text)
Response
{
  "search_metadata": {
    "id": "search_a7ffD3Mixi0TLukg0bvJlsXq",
    "status": "Success",
    "created_at": "2026-11-30T13:21:10Z",
    "request_time_taken": 2.01,
    "parsing_time_taken": 0.02,
    "total_time_taken": 2.03,
    "request_url": "https://jp.mercari.com/search?keyword=nintendo+switch",
    "html_url": "https://www.searchapi.io/api/v1/searches/search_a7ffD3Mixi0TLukg0bvJlsXq.html",
    "json_url": "https://www.searchapi.io/api/v1/searches/search_a7ffD3Mixi0TLukg0bvJlsXq"
  },
  "search_parameters": {
    "engine": "mercari_jp_search",
    "q": "nintendo switch",
    "page": 1
  },
  "search_information": {
    "total_results": 15000
  },
  "organic_results": [
    {
      "position": 1,
      "item_id": "m58700833008",
      "title": "スーパー マリオパーティ",
      "link": "https://jp.mercari.com/item/m58700833008",
      "seller_type": "individual",
      "status": "trading",
      "price": "¥2,400",
      "extracted_price": 2400,
      "currency": "JPY",
      "condition": "目立った傷や汚れなし",
      "condition_id": 3,
      "brand": "Nintendo Switch",
      "brand_id": 7572,
      "category_id": 702,
      "is_free_shipping": true,
      "shipping_method": "らくらくメルカリ便",
      "seller": {
        "id": "819304400",
        "link": "https://jp.mercari.com/user/profile/819304400"
      },
      "thumbnail": "https://static.mercdn.net/thumb/item/webp/m58700833008_1.jpg?1796044407",
      "image": "https://static.mercdn.net/item/detail/webp/photos/m58700833008_1.jpg?1796044407",
      "created_at": "2026-11-30T13:13:27Z",
      "updated_at": "2026-11-30T13:18:35Z"
    },
    "..."
  ],
  "pagination": {
    "current": 1,
    "next": 2
  }
}

Sold Listings, Newest First

Sold Listings, Newest First
GET
https://www.searchapi.io/api/v1/search?engine=mercari_jp_search&item_status=sold_out&q=%E3%83%9D%E3%82%B1%E3%83%A2%E3%83%B3%E3%82%AB%E3%83%BC%E3%83%89&sort_by=newest
Request
import requests

url = "https://www.searchapi.io/api/v1/search"
params = {
  "engine": "mercari_jp_search",
  "q": "ポケモンカード",
  "item_status": "sold_out",
  "sort_by": "newest"
}

response = requests.get(url, params=params)
print(response.text)
Response
{
  "search_metadata": {
    "id": "search_JYZ9XiNGA1tjF7KmtLlZ5Y8Y",
    "status": "Success",
    "created_at": "2026-11-30T13:21:46Z",
    "request_time_taken": 1.28,
    "parsing_time_taken": 0.01,
    "total_time_taken": 1.29,
    "request_url": "https://jp.mercari.com/search?keyword=%E3%83%9D%E3%82%B1%E3%83%A2%E3%83%B3%E3%82%AB%E3%83%BC%E3%83%8...",
    "html_url": "https://www.searchapi.io/api/v1/searches/search_JYZ9XiNGA1tjF7KmtLlZ5Y8Y.html",
    "json_url": "https://www.searchapi.io/api/v1/searches/search_JYZ9XiNGA1tjF7KmtLlZ5Y8Y"
  },
  "search_parameters": {
    "engine": "mercari_jp_search",
    "q": "ポケモンカード",
    "sort_by": "newest",
    "item_status": "sold_out",
    "page": 1
  },
  "search_information": {
    "total_results": 15000
  },
  "organic_results": [
    {
      "position": 1,
      "item_id": "m89870210544",
      "title": "せいじん様 リクエスト 2点 まとめ商品",
      "link": "https://jp.mercari.com/item/m89870210544",
      "seller_type": "individual",
      "status": "trading",
      "price": "¥877",
      "extracted_price": 877,
      "currency": "JPY",
      "condition": "やや傷や汚れあり",
      "condition_id": 4,
      "category_id": 1108,
      "is_free_shipping": true,
      "shipping_method": "ゆうゆうメルカリ便",
      "seller": {
        "id": "645426378",
        "link": "https://jp.mercari.com/user/profile/645426378"
      },
      "thumbnail": "https://static.mercdn.net/thumb/item/webp/m89870210544_1.jpg?1796044461",
      "image": "https://static.mercdn.net/item/detail/webp/photos/m89870210544_1.jpg?1796044461",
      "created_at": "2026-11-30T13:14:21Z",
      "updated_at": "2026-11-30T13:16:18Z"
    },
    "..."
  ],
  "pagination": {
    "current": 1,
    "next": 2
  }
}

Mercari Shops in a Price Range

Mercari Shops in a Price Range
GET
https://www.searchapi.io/api/v1/search?engine=mercari_jp_search&price_max=5000&price_min=1000&q=lego&seller_type=shop
Request
import requests

url = "https://www.searchapi.io/api/v1/search"
params = {
  "engine": "mercari_jp_search",
  "q": "lego",
  "seller_type": "shop",
  "price_min": "1000",
  "price_max": "5000"
}

response = requests.get(url, params=params)
print(response.text)
Response
{
  "search_metadata": {
    "id": "search_QzlYvMR1XLWhe57McHnMY91O",
    "status": "Success",
    "created_at": "2026-11-30T13:20:26Z",
    "request_time_taken": 1.44,
    "parsing_time_taken": 0.03,
    "total_time_taken": 1.47,
    "request_url": "https://jp.mercari.com/search?item_types=beyond&keyword=lego&price_max=5000&price_min=1000",
    "html_url": "https://www.searchapi.io/api/v1/searches/search_QzlYvMR1XLWhe57McHnMY91O.html",
    "json_url": "https://www.searchapi.io/api/v1/searches/search_QzlYvMR1XLWhe57McHnMY91O"
  },
  "search_parameters": {
    "engine": "mercari_jp_search",
    "q": "lego",
    "price_min": 1000,
    "price_max": 5000,
    "seller_type": "shop",
    "page": 1
  },
  "search_information": {
    "total_results": 10886
  },
  "organic_results": [
    {
      "position": 1,
      "item_id": "2JVrU8xnTZMTzTRoj2vYEk",
      "title": "レゴ互換 ミニフィグ 12体セット トイストーリー風 キャラクターフィギュア ブロック玩具 組み立て おもちゃ キッズ 知育玩具",
      "link": "https://jp.mercari.com/shops/product/2JVrU8xnTZMTzTRoj2vYEk",
      "seller_type": "shop",
      "status": "on_sale",
      "price": "¥2,199",
      "extracted_price": 2199,
      "currency": "JPY",
      "discount_percentage": 1,
      "condition": "新品、未使用",
      "condition_id": 1,
      "category_id": 7369,
      "shop": {
        "id": "2JRESKKVtfR43bZZFRnsbU",
        "name": "納豆ガール",
        "link": "https://jp.mercari.com/shops/profile/2JRESKKVtfR43bZZFRnsbU"
      },
      "thumbnail": "https://assets.mercari-shops-static.com/-/small/plain/2JVrU3ZJnupkBMw7dMMphT.jpg@webp",
      "image": "https://assets.mercari-shops-static.com/-/large/plain/2JVrU3ZJnupkBMw7dMMphT.jpg@webp",
      "created_at": "2026-08-25T07:59:09Z",
      "updated_at": "2026-11-17T05:30:07Z"
    },
    "..."
  ],
  "pagination": {
    "current": 1,
    "next": 2
  }
}

A Category and a Brand, New Items, Cheapest First

A Category and a Brand, New Items, Cheapest First
GET
https://www.searchapi.io/api/v1/search?brand_id=7572&category_id=701&condition=new&engine=mercari_jp_search&sort_by=price_low_to_high
Request
import requests

url = "https://www.searchapi.io/api/v1/search"
params = {
  "engine": "mercari_jp_search",
  "category_id": "701",
  "brand_id": "7572",
  "condition": "new",
  "sort_by": "price_low_to_high"
}

response = requests.get(url, params=params)
print(response.text)
Response
{
  "search_metadata": {
    "id": "search_DNiFwRBBJuOx386GF6G88K9J",
    "status": "Success",
    "created_at": "2026-11-30T13:20:42Z",
    "request_time_taken": 3.27,
    "parsing_time_taken": 0.0,
    "total_time_taken": 3.27,
    "request_url": "https://jp.mercari.com/search?brand_id=7572&category_id=701&item_condition_id=1&order=asc&sort=price",
    "html_url": "https://www.searchapi.io/api/v1/searches/search_DNiFwRBBJuOx386GF6G88K9J.html",
    "json_url": "https://www.searchapi.io/api/v1/searches/search_DNiFwRBBJuOx386GF6G88K9J"
  },
  "search_parameters": {
    "engine": "mercari_jp_search",
    "sort_by": "price_low_to_high",
    "condition": "new",
    "category_id": "701",
    "brand_id": "7572",
    "page": 1
  },
  "search_information": {
    "total_results": 1209
  },
  "organic_results": [
    {
      "position": 1,
      "item_id": "m32454702942",
      "title": "【未開封】Switch用 プロコン用アシストリング",
      "link": "https://jp.mercari.com/item/m32454702942",
      "seller_type": "individual",
      "status": "on_sale",
      "price": "¥300",
      "extracted_price": 300,
      "currency": "JPY",
      "condition": "新品、未使用",
      "condition_id": 1,
      "brand": "Nintendo Switch",
      "brand_id": 7572,
      "category_id": 701,
      "is_free_shipping": false,
      "shipping_method": "未定",
      "seller": {
        "id": "526888406",
        "link": "https://jp.mercari.com/user/profile/526888406"
      },
      "is_auction": true,
      "auction": {
        "bids": 0,
        "extracted_starting_price": 300,
        "ends_at": "2026-12-01T11:20:45Z"
      },
      "thumbnail": "https://static.mercdn.net/thumb/item/webp/m32454702942_1.jpg?1782932106",
      "image": "https://static.mercdn.net/item/detail/webp/photos/m32454702942_1.jpg?1782932106",
      "created_at": "2026-07-01T18:55:06Z",
      "updated_at": "2026-08-24T03:44:21Z"
    },
    "..."
  ],
  "pagination": {
    "current": 1,
    "next": 2
  }
}