Brand dictionary
Lists 2nd STREET Japan brands with Latin and katakana spellings, filter ids and item counts, with an optional look-up by reading.
Loading / 加载中…
2nd STREET API: Japanese second-hand goods and shops · E-commerce & marketplace data
The 2nd STREET API reads the catalogue of the 2nd STREET second-hand chain in Japan and of its United States web store. It searches pieces with brand, category, shop, prefecture, size, colour, condition and price filters, returns a single piece with its shipping, stock and branch details, and provides the brand dictionary, the category tree, facet counts and the shop network that those filters take their ids from.
JSON in, a structured response out. Every public gateway endpoint uses POST.
Lists 2nd STREET Japan brands with Latin and katakana spellings, filter ids and item counts, with an optional look-up by reading.
Returns the Japanese category tree with item counts and the lists the search filters use, or the US store's collections with their handles.
Counts the Japanese pieces that match a query and breaks the total down by brand, category, colour, condition grade and size.
Reads one piece by goods id or product page address, with its price, condition, shipping and the branch that holds it.
Searches second-hand pieces in Japan or on the US web store with filters, sort orders and paging.
Reads one Japanese branch with its address, hours, coordinates and the goods it sells and buys back.
Lists the Japanese shop network or the shops of one prefecture, together with prefecture, area and city lists.
Returns the US web store's product, collection and search-phrase suggestions for a partly typed keyword.
2nd STREET is a Japanese second-hand retail chain that buys used goods from customers and resells them in its stores and online. It began in 1996 with a first store in Kagawa and belongs to GEO Holdings, a group that also runs GEO shops.
Besides clothing it handles bags, shoes, fashion accessories, home electronics, musical instruments and winter sports gear. Its American arm, 2nd STREET USA, opened its first store in the United States on Melrose Avenue in Los Angeles in January 2018.
A row from post-2ndstreet-search stands for one physical second-hand piece held by one named shop. The chain buys goods outright and resells them, so a row has no seller, no variants and no stock count, and the size printed on the row is the size of that single piece. Japanese rows identify the piece with goods_id and the branch with shop_id, and carry the title, brand, size, condition grade, yen price, discount and a thumbnail in image_url.
is_new_arrival shows whether the piece is marked as a new arrival. Japanese text such as sizes and conditions is kept exactly as the chain writes it, without translation. Rows from the US web store replace the yen and shop fields with product_id, handle, sku and price_usd.
post-2ndstreet-product keeps apart the figures a Japanese product page prints. Shipping is either a flat fee or an individual delivery cost, and the condition arrives three ways. The record separates them like this:
| Field | What it tells you |
|---|---|
price_jpy | the tax-included price |
original_price_jpy | the price before a markdown |
discount_pct | the discount the page shows |
shipping_jpy | null when the piece has an individual delivery cost |
shipping_kind | which of the two shipping cases applies |
condition | the grade as the page writes it |
condition_grade | the short code the search filter uses |
condition_note | the sentence printed about that grade |
The detail table differs by category, a laptop listing its operating system, processor and memory where a jacket lists pattern and fabric, so the parsed colour, material and size come together with the full table in specs. measurements_cm holds the measurements in centimetres and leaves out any figure that was not measured instead of reporting zero.
Search filters take ids rather than names, and three operations supply them:
post-2ndstreet-brands pairs the Latin spelling in brand with the katakana spelling in brand_kana, and adds the id the brand filter expects and a count of pieces in stock; brands with nothing in stock stay in the list with a count of zeropost-2ndstreet-categories returns the Japanese tree of 16 departments over three levels, each node with its own count and its children, together with the prefectures, the sales areas and the 23-colour palette the filters use; category names are Japanese, as the chain publishes thempost-2ndstreet-facets, whose size buckets carry the labels the index prints, such as XXS, L or 28cmbody.keyword matches brand, item name and product code. Katakana and Latin spellings of the same brand are separate queries and return different totals, while letter case makes no difference. The filters and the sort order work like this:
body.brand, body.shop or body.prefecture widen the match to pieces that fit any of thembody.category id can be taken from any level of the tree, and an id that does not exist returns no rows rather than the unfiltered cataloguebody.flag takes the chain's own switches: nflg for new arrivals, dflg for discounted pieces and bflg for pieces that can be moved to another branchbody.sort orders rows by the chain's recommendation, newest arrival, lowest or highest price, or largest discountOn the US store, a word with no match still returns a few loose hits, so an empty result is rare there.
post-2ndstreet-stores returns two shop counts that differ on purpose: total_shops_published is the figure the chain states for its network and shops_listed the number of entries in its shop list, which also holds a few placeholders for shops that are not trading. Each prefecture row adds tax_free_shops, the number of duty-free shops there, and cities groups the cities of each prefecture.
A branch record from post-2ndstreet-store gives the shop type, whether it is a duty-free shop in tax_free, the phone number, the coordinates in latitude and longitude, the buy-back reception hours, home-visit buy-back hours where the branch offers them, and a note on the buy-back queue. Its handles block lists what the branch sells and what it buys back as two separate lists.
{
"body": {
"keyword": "NIKE",
"condition": ["A"],
"price_max": 30000,
"sort": "cost-low"
}
}POST /api/v1/secondstreet/<action> with x-api-key, Content-Type: application/json and a required Idempotency-Key.ok: true: data is the result of the operation, meta.requestId identifies the recorded request and meta.chargedCreditUnits is the amount charged. Otherwise ok is false and error.code names the reason; read ok and error.code rather than relying on the HTTP status alone. Every gateway reply carries a request id for support: meta.requestId, or a top-level requestId in a reply without meta (such as a refusal before admission).Look the brand up first in the brand dictionary, sending its katakana reading or its Latin name as keyword; the reading of NIKE, for example, also matches NIKE ACG and NIKE SB. Each row carries an id, and that 6-digit id goes into the brand array of a search or facets call. The chain's other-brands bucket, id 999999, works as a filter even though the dictionary does not list it.
A, B, C and D are the chain's used grades, and NS stands for new or unused pieces. Send one or more of these codes in the condition array to filter a search. The facet counts report the new-or-unused grade as S, and a search accepts it as NS or S.
Call the facets operation with the filters you plan to search with. It returns the total number of matching pieces together with counts per brand, category, colour, condition grade and size, so you can size a query, see how much a filter narrows it, or fill the options of a filter menu without reading result pages. The brand and category buckets come back as ids, which the brand dictionary and the category tree resolve to names.
Yes. Japanese prices are whole yen with tax included, and the yen filters price_min and price_max use the same whole-yen unit. Each row also states the tax basis of its price next to the yen amount. The US web store works in dollars instead: filter it with us_price_min and us_price_max, which accept decimals such as 49.90.
Every Japanese search row carries the shop_id of the branch that physically holds the piece, and the product record adds a shop block with that branch's name, address, opening hours, buy-back hours and parking spaces. The record also shows separately whether the piece can be bought online and whether it can be transferred to another branch for collection. To search only transferable pieces, set store_transfer_only to true.
A sold piece does not come back as a successful record. On the Japanese site its address starts showing the shop's landing page instead of the item, and the product call answers that case as not found rather than returning unrelated merchandise. A price tracker can therefore close the entry for a goods id it saw earlier once the product call answers not found, and look for comparable pieces with a new search.
Call the shop list with a 2-digit prefecture code, such as 13 for Tokyo or 01 for Hokkaido, and it returns that prefecture's shops, each with its shop id, shop name, house name and page address. Add a name to keep only shops whose Japanese name contains that text. Pass a shop id to the shop record call for full branch details.
Keyword searches on the US web store stop at 1,000 results, 28 pages of 36 rows, and a large query ends with a stop reason showing that the cap was reached. Walk a collection instead: list the US collections with the categories call and market set to us, then send a handle such as new-arrivals as collection in a search. That walk is not held to the 1,000 cap, accepts per_page up to 250, and adds tags and the compare-at price to each row.