API para Mercari

API para Mercari: Buscar

Search active Mercari US or Japan listings for sale by keyword with optional price-range, condition, category, brand, and sort filters, page by page (price, original price, condition, brand, category, seller id, image).

POST/v1/run/mercari.search
Requisições
-
30d

Preços

Preços do endpoint Buscar da API para Mercari

Provedores
Chameleon- atendidas- de disponibilidade- p50US$ 0,85/mil req.preço fixo
Você paga
US$ 8,50
US$ 0,85/mil req., só pelo que você usar. Sem plano mensal.
Suas primeiras 117 requisições são grátis com o saldo inicial de US$ 0,10.

Teste

Obtenha Buscar do Mercari em uma só requisição

conditionarray
Only listings in any of these condition grades (e.g. ["new", "like_new"]). worn is Japan only.
Abrir em
Obter chave grátis
Resposta de exemplo
Execuções grátis retornam só os primeiros 3 resultados. Recarregue uma chave para receber a resposta completa.
{
  "data": {
    "items": [
      {
        "brand": "Acme Inc",
        "brandId": "Acme Inc",
        "category": "general",
        "categoryId": "general",
        "condition": "example",
        "createdUtc": 12.5,
        "currency": "USD",
        "image": "https://example.com/image.jpg",
        "itemId": "a1b2c3d4",
        "originalPrice": 19.99,
        "price": 19.99,
        "sellerId": "a1b2c3d4",
        "size": "example",
        "status": "active",
        "title": "Example title",
        "updatedUtc": 12.5,
        "url": "https://example.com/page"
      }
    ],
    "nextCursor": "example"
  },
  "found": true,
  "reason": "not_found"
}

Referência completa de parâmetros e resposta - todos os campos, tipos e exemplos deste endpoint.

Referência

Uma requisição, um formato de resposta.

Cada campo que você envia e cada campo que você recebe, cada um com um exemplo real.

Última verificação em 2026-11-11 · disponibilidade e latência medidas em 30d

Corpo da requisição

JSON, enviado via POST para este endpoint.

  • querystring

    nike air jordan 1

    Search keyword (e.g. nike air jordan 1). Japanese terms return far more in Japan, though Latin brand and model names work.

  • brandIdstring

    Mercari brand id, or several separated by commas; the US and Japan use separate ids (e.g. 319 for Apple in the US). Every US row carries its brandId.

  • categoryIdstring

    Mercari category id, or several separated by commas; the US and Japan use separate ids and a parent id includes its children (e.g. 778 for US cell phones and smartphones). Every row carries its categoryId.

  • conditionarray

    Only listings in any of these condition grades (e.g. ["new", "like_new"]). worn is Japan only.

  • countryenum

    Mercari marketplace: us (mercari.com, USD) or jp (jp.mercari.com, JPY).

  • cursorstring

    Pagination cursor: pass the previous response's nextCursor with the same query and filters; omit for the first page.

  • maxPriceinteger

    Highest price to include, in whole units of the country's currency (e.g. 300).

  • minPriceinteger

    Lowest price to include, in whole units of the country's currency (US dollars or yen) (e.g. 50).

  • sortenum

    Result order; omitted means Mercari's default (relevance). most_liked is Japan only (e.g. price_desc).

Você envia. Um corpo JSON pequeno. Os valores mostrados são exemplos para você trocar pelos seus.

Resposta

JSON, um valor de exemplo por campo.

each itemdata.items[]

Active listing records: up to 100 a page in the US and 120 in Japan. Populated whenever the provider has data for the entity.

  • brandstring

    Brand name the seller tagged; null when untagged (Japan search rows carry no brand: use mercari.product).

  • brandIdstring

    Mercari brand id, usable as the brandId filter in the same country.

  • categorystring

    Leaf category name (US); null on Japan search rows.

  • categoryIdstring

    Mercari leaf category id, usable as the categoryId filter in the same country.

  • conditionstring

    Item condition grade: new, like_new, good, fair, poor, or worn (Japan only).

  • createdUtcnumber

    UTC epoch timestamp in seconds (Unix time). Multiply by 1000 for a JS Date in milliseconds. When the item was listed. Japan only: null on US search rows (use mercari.product).

  • currencystring

    ISO currency code of the price: USD for the US, JPY for Japan. Populated whenever the provider has data for the entity.

  • imagestring

    Primary listing image URL. Populated whenever the provider has data for the entity.

  • itemIdstring

    Mercari item id (m followed by 11 digits, or a 22-character Mercari Shops product id in Japan). Populated whenever the provider has data for the entity.

  • originalPricenumber

    First asking price of the listing in USD; differs from price when the seller lowered it or accepted an offer. US only: null in Japan.

  • pricenumber

    Current asking price in the listing currency; it does not include buyer fees, and whether shipping is included depends on the listing's shipping terms. On a sold row (status sold_out or trading) it is the final sale price after any accepted offer. Populated whenever the provider has data for the entity.

  • sellerIdstring

    Mercari seller id.

  • sizestring

    Size label the seller chose (e.g. 8.5 (39)), when the category has sizes.

  • statusstring

    Listing state: on_sale (active), trading (sold, handover in progress) or sold_out (sold). Populated whenever the provider has data for the entity.

  • titlestring

    Listing title. Populated whenever the provider has data for the entity.

  • updatedUtcnumber

    UTC epoch timestamp in seconds (Unix time). Multiply by 1000 for a JS Date in milliseconds. When the listing last changed. Japan only: null on US search rows.

  • urlstring

    Canonical listing URL. Populated whenever the provider has data for the entity.

datadata
  • nextCursorstring

    Opaque cursor for the next page, or null at the end. Pass it back as cursor with the same query and filters.

top level
  • foundboolean

    True when the search returned at least one listing.

  • reason"not_found"

    Present only when `found` is false, and says why there is no result. `not_found`: the source states the target does not exist, or returned nothing for it. A `found: false` answer is a successful call, not an error, and `costUsd` is what it actually cost.

Você recebe. Campos nomeados e tipados, no mesmo formato, seja qual for a fonte que responder.

Dúvidas frequentes

Sobre o endpoint Buscar da API para Mercari

O endpoint Buscar da AnyAPI para Mercari retorna dados de Mercari em JSON normalizado com uma chamada POST para /v1/run/mercari.search. Search active Mercari US or Japan listings for sale by keyword with optional price-range, condition, category, brand, and sort filters, page by page (price, original price, condition, brand, category, seller id, image). A AnyAPI retorna um schema normalizado, seja qual for a fonte que atende. Custa a partir de US$ 0,85 por mil requisições, em dólares, sem assinatura e sem mínimo mensal.

Custa a partir de US$ 0,85 por mil requisições, em dólares, sem assinatura e sem mínimo mensal. Você recarrega uma carteira em dólares e cada chamada desconta dela. Algumas requisições pagas pela carteira que falham geram cobranças de processamento, que repassamos pelo custo, sem margem; a resposta de erro mostra o valor cobrado.

Search active Mercari US or Japan listings for sale by keyword with optional price-range, condition, category, brand, and sort filters, page by page (price, original price, condition, brand, category, seller id, image). A resposta é JSON normalizado, com o mesmo envelope que todo endpoint da AnyAPI retorna, então processar um segundo endpoint é só trocar a URL, e nada mais.

Sim. Uma conta nova da AnyAPI começa com US$ 0,10 de saldo grátis, sem cartão, o que cobre 117 chamadas de Buscar do Mercari a US$ 0,00085 cada.

Envie uma requisição POST para https://api.getanyapi.com/v1/run/mercari.search com sua chave da AnyAPI em um cabeçalho "Authorization: Bearer" e a entrada como corpo JSON. A mesma chave e a mesma carteira funcionam em todos os endpoints da AnyAPI.

Não. Você adiciona dólares a um único saldo pré-pago da AnyAPI e cada requisição desconta dele. Não há plano mensal nem mínimo, e o mesmo saldo paga todos os endpoints da AnyAPI.

Sim. Instale @getanyapi/sdk pelo npm para TypeScript ou getanyapi pelo pip para Python. Os dois chamam todos os endpoints da AnyAPI com a mesma chave, e qualquer cliente HTTP também funciona.

Sim. Um agente pode se conectar ao servidor MCP da AnyAPI em https://api.getanyapi.com/mcp, ou criar a própria chave de teste grátis com um único POST sem autenticação para https://api.getanyapi.com/agent/signup e chamar este endpoint por HTTP.