Mercari API endpoint
Searches Mercari's live resale marketplace by free-text keyword, returning listing summaries (title, price, thumbnail, condition, seller) plus the total matching count.
/mercari/searchQuery parameters:
query (required) — free-text keyword search.Notable response behavior:
total_results reflects Mercari's full matching-result count for the
query, not just len(items) (this endpoint returns the first page).original_price_cents, num_likes, and condition_code are omitted
from an item when Mercari's response doesn't include them for that
listing.condition_code and num_likes are best-effort field labels, recovered
by decoding raw upstream responses rather than from a published schema —
treat them as directionally useful, not authoritative.200 with "items": [].query returns 400 before any upstream request is made.| Field | Filled in, of 100 checked | Values in the sample |
|---|---|---|
| id | 100 | |
| url | 100 | mercari.com |
| title | 100 | “Nike 24m jacket lsu vguc” and 94 other values |
| thumbnail_url | 100 | u-mercari-images.mercdn.net |
| price_cents | 100 | 568 to 15,011, median 2,422 |
| num_likes | 100 | 59 to 1,984, median 360 |
| seller_id | 100 | |
| created_at_unix | 100 | 2024-02-13 to 2026-10-12 |
| updated_at_unix | 100 | 2026-04-21 to 2026-10-13 |
| original_price_cents | 77 | 1,000 to 19,400, median 3,000 |
| Parameter | Type | Required | Default | Description | Example |
|---|---|---|---|---|---|
| query | string | Yes | Free-text keyword search | nike jacket | |
| x-api-key (header) | string | Yes | API key required |
curl -X GET "https://api.crawlora.net/api/v1/mercari/search?query=nike+jacket" \ -H "x-api-key: $CRAWLORA_API_KEY"
{
"code": 200,
"msg": "OK",
"data": {
"query": "nike jacket",
"total_results": 21523,
"items": [
{
"id": "m31455228584",
"url": "https://www.mercari.com/us/item/m31455228584",
"title": "Nike varsity jacket. New with tags!",
"thumbnail_url": "https://u-mercari-images.mercdn.net/photos/m31455228584_1.jpg?1784911712",
"price_cents": 4873,
"original_price_cents": 5400,
"num_likes": 1931,
"seller_id": "794269920",
"created_at_unix": 1774057908,
"updated_at_unix": 1784911712
}
]
}
}Request schema
No body schema
Response schema
#/definitions/mercari.searchResponseDoc
| Field | Type | Required | Enum | Bounds | Example | Description |
|---|---|---|---|---|---|---|
| code | integer | No | 200 | |||
| data | mercari.SearchResponse | No | ||||
| data.items | array | No | ItemSummary record, 11 fields: condition_code, created_at_unix, id, num_likes, original_price_cents, price_cents, seller_id, thumbnail_url, title, updated_at_unix, url. Described under Mercari item API. | |||
| data.query | string | No | ||||
| data.total_results | integer | No | ||||
| msg | string | No | OK |
| Status | Description | Schema |
|---|---|---|
| 400 | Bad Request | #/definitions/app.Response |
| 500 | Internal Server Error | #/definitions/app.Response |
| 503 | Service Unavailable | #/definitions/app.Response |
Use environment variables for secrets and keep Crawlora API keys server-side.
curl -X GET "https://api.crawlora.net/api/v1/mercari/search?query=nike+jacket" \
-H "x-api-key: $CRAWLORA_API_KEY"