Meesho category listing
Products in a Meesho (India) category page, in the site's order or sorted by new arrivals, price, rating or discount: product and catalog ids, name, catalog name, category, price, rating, rating and review counts, free-delivery flag, number of designs, details text, creation date, images and link, plus the total count. Pass next_cursor back as cursor; null on the last page.
Every response includes credits_used: the credits this call cost.
Parameters
| name | type | description |
|---|---|---|
url | string | A meesho.com category link (/<name>/pl/<id>). Example: https://www.meesho.com/silk-sarees/pl/3j4 |
id | string | The category id at the end of the link (e.g. 3j4), instead of url. |
sort | relevance | new_arrivals | price_high_to_low | price_low_to_high | rating | discount | Sort order (default relevance). |
limit | integer | Products per page (1-50, default 20). |
cursor | string | Pass next_cursor from the previous response. |
Every endpoint also takes fresh, raw, fields (see lean responses and caching).
Example
curl "https://api.api.sh/meesho/v1/category?url=https%3A%2F%2Fwww.meesho.com%2Fsilk-sarees%2Fpl%2F3j4" \
-H "x-api-key: $APISH_KEY" import os, requests
res = requests.get(
"https://api.api.sh/meesho/v1/category",
params={"url": "https://www.meesho.com/silk-sarees/pl/3j4"},
headers={"x-api-key": os.environ["APISH_KEY"]},
timeout=120,
)
res.raise_for_status()
data = res.json() const url = new URL("https://api.api.sh/meesho/v1/category");
url.searchParams.set("url", "https://www.meesho.com/silk-sarees/pl/3j4");
const res = await fetch(url, { headers: { "x-api-key": process.env.APISH_KEY } });
if (!res.ok) throw new Error(`${res.status} ${await res.text()}`);
const data = await res.json(); Response
A JSON object with the fields described above, plus raw (the source's own data), cached, fetched_at and credits_used. Errors return {"success": false, "error": "…"} with the HTTP status (see errors). A lookup that ran but found nothing (404) costs the price above; refused calls and errors on our side are free (what's charged).