# /grailed/items/search

`POST /api/grailed/items/search`

Price: 5 credits

Search Grailed listings by keyword with department, category, size, color, condition and more

## How to use it

Search Grailed resale marketplace listings. Optional keyword plus filters: department, category_path, size, color, condition, designer, seller location, listing tier (strata), badges and a USD price range. Order by relevance, latest activity, newly listed, trending or price. Set sold to browse sold listings. Returns title, price, size, condition, designers, image and the seller for each listing.

## Parameters

- `access-token` (string, required)

## Request body

- `timeout` (integer) — Max scrapping execution timeout (in seconds) (default: 300; min: 20; max: 1500)
- `sort` (string) — Result ordering (default: "most_relevant"; one of: "most_relevant", "latest_activity", "newly_listed", "trending", "price_low_to_high", "price_high_to_low")
- `department` (array, nullable) — Filter by department (one of: "menswear", "womenswear")
- `category_path` (array, nullable) — Filter by category path (one of: "tops.short_sleeve_shirts", "tops.long_sleeve_shirts", "tops.polos", "tops.button_ups", "tops.sweaters_knitwear", "tops.sweatshirts_hoodies", "tops.sleeveless", "tops.jerseys", "bottoms.casual_pants", "bottoms.cropped_pants", "bottoms.denim", "bottoms.leggings", "bottoms.jumpsuits", "bottoms.shorts", "bottoms.sweatpants_joggers", "bottoms.swimwear", "outerwear.bombers", "outerwear.cloaks_capes", "outerwear.denim_jackets", "outerwear.heavy_coats", "outerwear.leather_jackets", "outerwear.light_jackets", "outerwear.parkas", "outerwear.raincoats", "outerwear.vests", "footwear.boots", "footwear.leather", "footwear.formal_shoes", "footwear.hitop_sneakers", "footwear.lowtop_sneakers", "footwear.sandals", "footwear.slip_ons", "tailoring.blazers", "tailoring.formal_shirting", "tailoring.formal_trousers", "tailoring.suits", "tailoring.tuxedos", "tailoring.vests", "accessories.bags_luggage", "accessories.belts", "accessories.glasses", "accessories.gloves_scarves", "accessories.hats", "accessories.jewelry_watches", "accessories.wallets", "accessories.misc", "accessories.periodicals", "accessories.socks_underwear", "accessories.sunglasses", "womens_tops.blouses", "womens_tops.bodysuits", "womens_tops.button_ups", "womens_tops.crop_tops", "womens_tops.hoodies", "womens_tops.long_sleeve_shirts", "womens_tops.polos", "womens_tops.short_sleeve_shirts", "womens_tops.sweaters", "womens_tops.sweatshirts", "womens_tops.tank_tops", "womens_bottoms.jeans", "womens_bottoms.joggers", "womens_bottoms.jumpsuits", "womens_bottoms.leggings", "womens_bottoms.maxi_skirts", "womens_bottoms.midi_skirts", "womens_bottoms.mini_skirts", "womens_bottoms.pants", "womens_bottoms.shorts", "womens_bottoms.sweatpants", "womens_dresses.mini", "womens_dresses.midi", "womens_dresses.maxi", "womens_dresses.gowns", "womens_outerwear.blazers", "womens_outerwear.bombers", "womens_outerwear.coats", "womens_outerwear.denim_jackets", "womens_outerwear.down_jackets", "womens_outerwear.fur_faux_fur", "womens_outerwear.jackets", "womens_outerwear.leather_jackets", "womens_outerwear.rain_jackets", "womens_outerwear.vests", "womens_footwear.boots", "womens_footwear.heels", "womens_footwear.platforms", "womens_footwear.mules", "womens_footwear.flats", "womens_footwear.hitop_sneakers", "womens_footwear.lowtop_sneakers", "womens_footwear.sandals", "womens_footwear.slip_ons", "womens_accessories.belts", "womens_accessories.glasses", "womens_accessories.gloves", "womens_accessories.hats", "womens_accessories.miscellaneous", "womens_accessories.scarves", "womens_accessories.socks_intimates", "womens_accessories.sunglasses", "womens_accessories.wallets", "womens_bags_luggage.backpacks", "womens_bags_luggage.belt_bags", "womens_bags_luggage.clutches", "womens_bags_luggage.crossbody_bags", "womens_bags_luggage.handle_bags", "womens_bags_luggage.luggage_travel", "womens_bags_luggage.mini_bags", "womens_bags_luggage.shoulder_bags", "womens_bags_luggage.tote_bags", "womens_bags_luggage.other", "womens_jewelry.body_jewelry", "womens_jewelry.bracelets", "womens_jewelry.earrings", "womens_jewelry.necklaces", "womens_jewelry.rings")
- `size` (array, nullable) — Filter by size (category_size facet values) (examples: ["tops.m","footwear.9"])
- `color` (array, nullable) — Filter by color (one of: "black", "blue", "multi", "white", "gray", "brown", "green", "beige", "red", "pink", "purple", "yellow", "silver", "orange", "gold")
- `condition` (array, nullable) — Filter by item condition (one of: "is_new", "is_gently_used", "is_used", "is_worn", "is_not_specified")
- `designer` (array, nullable) — Filter by designer name (examples: ["Rick Owens","Raf Simons"])
- `location` (array, nullable) — Filter by seller location (one of: "United States", "Canada", "Europe", "United Kingdom", "Asia", "Australia/NZ", "Other")
- `strata` (array, nullable) — Filter by listing tier (one of: "basic", "grailed", "hype", "sartorial")
- `badges` (array, nullable) — Filter by badge (one of: "staff_pick", "by_grailed")
- `price_min` (number, nullable) — Minimum price in USD (min: 0)
- `price_max` (number, nullable) — Maximum price in USD (min: 0)
- `sold` (boolean) — Return sold listings instead of for-sale listings (default: false)
- `keyword` (string, nullable) — Search keyword (examples: "rick owens", "raf simons bomber")
- `count` (integer, required) — Max number of results to return (examples: 40; min: 1)

## Response

### 200 — Successful Response

- `@type` (string) (default: "GrailedListingHit")
- `id` (integer, required)
- `listing_title` (string, required)
- `url` (string, nullable)
- `price` (number, nullable)
- `price_drops` (array) (default: [])
- `dropped` (boolean) (default: false)
- `size` (string, nullable)
- `category` (string, nullable)
- `category_path` (string, nullable)
- `department` (string, nullable)
- `color` (string, nullable)
- `condition` (string, nullable)
- `country_of_origin` (string, nullable)
- `strata` (string, nullable)
- `styles` (array) (default: [])
- `badges` (array) (default: [])
- `designer_names` (string, nullable)
- `designers` (array) (default: [])
  - `@type` (string) (default: "GrailedDesignerRef")
  - `id` (integer, required)
  - `name` (string, required)
  - `alias` (string, nullable)
  - `departments` (array) (default: [])
  - `logo_url` (string, nullable)
- `image` (string, nullable)
- `photo_count` (integer) (default: 0)
- `measurement_count` (integer) (default: 0)
- `location` (string, nullable)
- `follower_count` (integer) (default: 0)
- `buy_now` (boolean) (default: false)
- `make_offer` (boolean) (default: false)
- `sold` (boolean) (default: false)
- `sold_price` (number, nullable)
- `sold_shipping_price` (number, nullable)
- `sold_price_includes_shipping` (boolean, nullable)
- `sold_at` (integer, nullable)
- `shipping` (array) (default: [])
  - `@type` (string) (default: "GrailedShippingOption")
  - `region` (string, required)
  - `amount` (number, nullable)
  - `is_enabled` (boolean) (default: false)
- `seller` (object, nullable)
  - `@type` (string) (default: "GrailedHitSeller")
  - `id` (integer, required)
  - `alias` (string, nullable)
  - `image` (string, nullable)
  - `total_bought_and_sold` (integer) (default: 0)
  - `rating_average` (number, nullable)
  - `rating_count` (integer) (default: 0)
  - `is_trusted_seller` (boolean) (default: false)
- `created_at` (integer, nullable)

## Errors

### 422 — Validation Error

The request body did not validate

What to do: Check the fields against this schema. A URN with the wrong prefix is the most common cause.

- `detail` (array)
  - `loc` (array, required)
  - `msg` (string, required)
  - `type` (string, required)
  - `input` (any)
  - `ctx` (object)

### 408

The request ran past its time limit

What to do: Raise `timeout` in the request body, up to the maximum this endpoint documents. Lowering `count` or turning off the `with_*` flags also helps, because less work finishes sooner.

### 412

The entity was not found, or a precondition failed

What to do: Retrying will not help: either the entity does not exist, or the input points at a different one.

### 429

Too many requests: a rate limit or a usage window is exhausted

What to do: When the response carries an X-Retry-After header, wait that many seconds and retry: the same number is in the body as `detail.retry_after`, and the limit clears once that window passes. The message in the body names the limit that was hit.

### 500

Something broke on our side

What to do: Retrying will not help. If it keeps happening, send us the X-Request-ID from the response headers.

### 529

Rate limit reached, or the endpoint is overloaded

What to do: Wait at least 30 seconds, then retry.

## Response envelope

Success: Array of objects (may be empty if no results)

Error: Error may coexist with partial results if it occurs mid-execution. Check X-Error header and status code.

Every response carries these headers:

- `X-Error` — Error message text (present only on error)
- `X-Request-ID` — Unique request identifier
- `X-Execution-Time` — Execution time in seconds
- `X-Result-Count` — How many records the body carries. 0 means an empty result, which is a normal answer and not by itself an error. A non-zero count can come back together with X-Error when the failure happened partway through — read this header and X-Error independently.
- `X-Total-Available-Results` — How many records exist for this query, when the endpoint can say. On a `dry_run` request this is the answer and the body is empty. It saturates: the endpoint's documented maximum means 'at least that many', any smaller number is exact.
- `X-Warning` — Present when the request body carried keys this endpoint does not document. They were ignored, so any filter you meant to apply through them did not apply. Check the spelling against this schema and retry.
- `X-Retry-After` — Seconds to wait before retrying. Present only on 429.

