# poshmark.search

A page of the listings Poshmark finds for a search: title, text, brand, category, size, colours, price and original price, availability, likes and photos.

Poshmark search, one of the Poshmark scrapers.

| | |
| --- | --- |
| Id | `poshmark.search` |
| Version | 1 |
| Billed per | request — 1 unit for a charged run |
| Runs | within one request |

Start it with `POST /v1/scrapers/poshmark.search/runs`. How runs work is in [Running a scraper](https://docs.enrichednow.com/running-a-scraper.md); what a run costs is in [Usage and units](https://docs.enrichednow.com/usage-and-units.md).

## Inputs

The fields of `input`. A field that is not listed here is refused.

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `query` | string | yes | What to search for, e.g. `lululemon leggings`. Limit: at least 1 characters, at most 150 characters. |
| `page` | integer | no | The results page, from 1; 48 listings a page. Limit: 1 to 50. Default: `1`. |

## Record fields

Every record of a run has these fields. A value that is not known is `null` — never an empty string and never `0`.

| Field | Type | Notes |
| --- | --- | --- |
| `position` | integer or null | The listing's place on its results page, from 1. Null for `poshmark.listing`. |
| `page` | integer or null | The results page it is on. Null for `poshmark.listing`. |
| `listing_id` | string | Poshmark's id of the listing. |
| `url` | string | The listing's page. |
| `title` | string | The listing's title, as the seller wrote it. |
| `description` | string or null | The listing's text, as the seller wrote it. |
| `brand` | string or null | The brand the listing names. |
| `department` | string or null | Poshmark's department: `Women`, `Men`, `Kids`, `Home`, `Pets`, `Electronics`. |
| `category` | string or null | Poshmark's category, e.g. `Pants & Jumpsuits`. |
| `subcategories` | array of string | Poshmark's finer categories, e.g. `Leggings`. |
| `size` | string or null | The size as Poshmark shows it, e.g. `US 4`, `M`. |
| `colors` | array of string | The colours the seller picked. |
| `price` | number or null | The asking price, in `currency`. |
| `original_price` | number or null | The original retail price the seller states. Null where none is stated. |
| `currency` | string or null | The currency of the prices, e.g. `USD`, `CAD`. |
| `availability` | string or null | Whether it can be bought, as Poshmark says: `available`, `sold_out`, `not_for_sale`, `reserved`. |
| `likes` | integer or null | How many people liked the listing. |
| `comments` | integer or null | How many comments it has. |
| `shares` | integer or null | How many times it was shared. |
| `images` | array of string | The listing's photos, the cover first. |
| `published_at` | string (date-time) or null | When the listing was first published. |
| `updated_at` | string (date-time) or null | When it was last changed. |
| `fetched_at` | string (date-time) | When the page was read, in UTC. |

## Example request

It starts a run with this scraper's example input and waits up to 60 seconds for it. The key is read from `ENRICHEDNOW_API_KEY`.

```bash
curl -X POST "https://api.enrichednow.com/v1/scrapers/poshmark.search/runs?wait=60" \
  -H "Authorization: Bearer $ENRICHEDNOW_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"input":{"query":"lululemon leggings"}}'
```

## Example response

The run, once it has ended. A run that has not ended within `wait` comes back with `202` and the status `queued` or `running`.

```json
{
  "id": "run_841742f37553189ff9c27ba1",
  "scraper_id": "poshmark.search",
  "scraper_version": 1,
  "status": "ok",
  "reason": null,
  "input": {
    "query": "lululemon leggings"
  },
  "record_count": 1,
  "units": 1,
  "units_per_request": 1,
  "units_per_record": null,
  "units_per_page": null,
  "diagnostics": {
    "requests": 1,
    "bytes": 259214,
    "wall_ms": 885,
    "facts": {}
  },
  "created_at": "2026-11-16T22:37:50.170950Z",
  "started_at": "2026-11-16T22:37:50.178331Z",
  "finished_at": "2026-11-16T22:37:51.066313Z"
}
```

Its records, from `GET /v1/runs/{id}/records`. The record is a real one: this scraper's own parser read it from a page recorded from the site.

```json
{
  "records": [
    {
      "position": 1,
      "page": 1,
      "listing_id": "6aff3ca7e5e9178e82231650",
      "url": "https://poshmark.com/listing/6aff3ca7e5e9178e82231650",
      "title": "LULULEMON leggings size 4",
      "description": "Cute used once lululemon leggings no bad odors no stains in great condition check the pictures for details",
      "brand": "lululemon athletica",
      "department": "Women",
      "category": "Pants & Jumpsuits",
      "subcategories": [
        "Leggings"
      ],
      "size": "US 4",
      "colors": [
        "Blue",
        "Purple"
      ],
      "price": 50,
      "original_price": null,
      "currency": "USD",
      "availability": "available",
      "likes": 0,
      "comments": 0,
      "shares": 0,
      "images": [
        "https://di2ponv0v5otw.cloudfront.net/posts/2026/11/19/6aff3ca7e5e9178e82231650/m_6aff3ca932f934eaf2ed60fd.jpeg",
        "https://di2ponv0v5otw.cloudfront.net/posts/2026/11/19/6aff3ca7e5e9178e82231650/m_6aff3caa1b53fe275d6f5235.jpeg",
        "https://di2ponv0v5otw.cloudfront.net/posts/2026/11/19/6aff3ca7e5e9178e82231650/m_6aff3cab88963f472f42c638.jpeg"
      ],
      "published_at": "2026-11-19T10:15:22-08:00",
      "updated_at": "2026-11-19T10:15:26-08:00",
      "fetched_at": "2026-11-19T19:01:02.448530Z"
    }
  ],
  "next_cursor": null
}
```

What was done to the record for this page, and nothing else — the API returns every value whole. A text that was cut ends with `… [truncated]`.

- Shortened: `images`: 16 items, the first 3 shown.

A run does not always end `ok`. [Results and statuses](https://docs.enrichednow.com/results-and-statuses.md#reason-codes) lists every status and the reasons every scraper shares; [the reasons of the Poshmark scrapers](https://docs.enrichednow.com/results-and-statuses.md#poshmark) are in their own section there.
