API di Mercari

Mercari Ricerca API

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
Richieste
-
30d

Prezzi

Prezzi dell'API Mercari Ricerca

Provider
Chameleon- serviti- di disponibilità- p500,85 USD/1k richiestefisso
Paghi
8,50 USD
0,85 USD/1k richieste, solo per ciò che usi. Nessun piano mensile.
Le tue prime 117 richieste sono gratuite con il saldo iniziale di 0,10 USD.

Provalo

Ottieni Mercari Ricerca in una sola richiesta

conditionarray
Only listings in any of these condition grades (e.g. ["new", "like_new"]). worn is Japan only.
Apri in
Risposta di esempio
Le esecuzioni gratuite restituiscono solo i primi 3 risultati. Ricarica una chiave per ottenere la risposta 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"
}

Riferimento completo di parametri e risposta - ogni campo, tipo ed esempio per questo endpoint.

Riferimento

Una richiesta, una sola forma di risposta.

Ogni campo che invii e ogni campo che ricevi, ciascuno con un esempio reale.

Ultima verifica 2026-11-11 · disponibilità e latenza misurate su 30d

Corpo della richiesta

JSON, inviato a questo 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).

Tu invii. Un piccolo corpo JSON. I valori mostrati sono esempi da sostituire con i tuoi.

Risposta

JSON, un valore di esempio per 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.

Tu ricevi. Campi con nome e tipo nella stessa struttura, qualunque fonte risponda.

FAQ

Sull'API Mercari Ricerca

L'API Mercari Ricerca di AnyAPI restituisce dati Mercari come JSON normalizzato da una sola chiamata POST a /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). AnyAPI restituisce un unico schema normalizzato qualunque fonte la serva. Costa da 0,85 USD ogni 1.000 richieste, in dollari statunitensi, senza abbonamento e senza minimo mensile.

Costa da 0,85 USD ogni 1.000 richieste, in dollari statunitensi, senza abbonamento e senza minimo mensile. Ricarichi un portafoglio in USD e ogni chiamata lo scala. Alcune richieste fallite finanziate dal portafoglio comportano costi di elaborazione che trasferiamo al costo, senza ricarico; la risposta di errore mostra l'importo addebitato.

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). La risposta è JSON normalizzato con la stessa busta che restituisce ogni endpoint AnyAPI, quindi analizzare un secondo endpoint significa cambiare l'URL e nient'altro.

Sì. Un nuovo account AnyAPI parte con 0,10 USD di saldo gratuito e senza bisogno di carta, che copre 117 chiamate Mercari Ricerca a 0,00085 USD ciascuna.

Invia una richiesta POST a https://api.getanyapi.com/v1/run/mercari.search con la tua chiave AnyAPI in un header "Authorization: Bearer" e l'input come corpo JSON. La stessa chiave e lo stesso portafoglio funzionano su ogni endpoint AnyAPI.

No. Aggiungi dollari statunitensi a un unico saldo prepagato AnyAPI e ogni richiesta lo scala. Non c'è un piano mensile né un minimo, e lo stesso saldo paga ogni endpoint AnyAPI.

Sì. Installa @getanyapi/sdk da npm per TypeScript o getanyapi da pip per Python. Entrambi chiamano ogni endpoint AnyAPI con la stessa chiave, e funziona anche qualsiasi client HTTP.

Sì. Un agente può collegarsi al server MCP di AnyAPI su https://api.getanyapi.com/mcp, oppure creare da solo la propria chiave di prova gratuita con un POST non autenticato a https://api.getanyapi.com/agent/signup e chiamare questo endpoint via HTTP.