Meesho Category Tree
meesho.catalog.categories
Get Meesho's category menu, with its sections and subcategories.
At a glance
- Endpoint ID
meesho.catalog.categories- Price
- 0.25 credits per call; failed calls are free
- Runs for up to
- 30 seconds
Request
Send the endpoint ID as capability and its fields as input. Set UPSCRAPE_API_KEY to your key first.
curl --request POST \ --url https://data.upscrape.com/execute \ --header "Authorization: Bearer $UPSCRAPE_API_KEY" \ --header "Content-Type: application/json" \ --header "Prefer: wait=30" \ --data '{ "capability": "meesho.catalog.categories", "input": {}}'
import jsonimport osimport requestspayload = json.loads(r'''{ "capability": "meesho.catalog.categories", "input": {}}''')response = requests.post( "https://data.upscrape.com/execute", headers={ "Authorization": f"Bearer {os.environ['UPSCRAPE_API_KEY']}", "Content-Type": "application/json", "Prefer": "wait=30", }, json=payload,)response.raise_for_status()print(json.dumps(response.json(), indent=2))
const response = await fetch("https://data.upscrape.com/execute", { method: "POST", headers: { "Authorization": `Bearer ${process.env.UPSCRAPE_API_KEY}`, "Content-Type": "application/json", "Prefer": "wait=30", }, body: JSON.stringify({ "capability": "meesho.catalog.categories", "input": {}}),});if (!response.ok) { throw new Error(`Upscrape request failed: ${response.status}`);}console.log(JSON.stringify(await response.json(), null, 2));
Input
This endpoint takes an empty input object.
Response
A finished call answers with HTTP 200; the data is in results[0].data, and billing.credits_charged is what it cost. A call still running after the wait answers 202: see jobs and results.
This is results[0].data from a real run:
{ "categories": [ { "title": "Popular", "icon_url": "https://images.meesho.com/images/android/popular_images.png", "id": 20, "children": [ { "title": "Featured On Meesho", "id": 61, "children": [ { "title": "Top Brands", "icon_url": "https://images.meesho.com/images/marketing/1727197481998.png", "id": 709, "page_id": "3u77", "page_path": "top-brands" }, { "title": "Shimla Apples", "icon_url": "https://images.meesho.com/images/marketing/1755006760129.png", "id": 710, "page_id": "6myd", "page_path": "shimla-apples" } ] }, { "title": "All Popular", "id": 62, "children": [ { "title": "Jewellery", "icon_url": "https://images.meesho.com/images/marketing/1697424924417.jpg", "id": 711, "page_id": "9tx", "page_path": "jewellery" }, { "title": "Men Fashion", "icon_url": "https://images.meesho.com/images/marketing/1697424940664.jpg", "id": 712, "page_id": "1iue", "page_path": "men-fashion" } ] } ] }, { "title": "Kurti, Saree & Lehenga", "icon_url": "https://images.meesho.com/images/android/women_ethnic_images.png", "id": 21, "page_id": "4aus", "page_path": "western-wear-women", "children": [ { "title": "Sarees", "id": 63, "children": [ { "title": "All Sarees", "icon_url": "https://images.meesho.com/images/marketing/1663324521306.png", "id": 725, "page_id": "3iy", "page_path": "sarees" }, { "title": "Georgette Sarees", "icon_url": "https://images.meesho.com/images/marketing/1663325138869.png", "id": 726, "page_id": "3m1", "page_path": "georgette-sarees" } ] }, { "title": "Kurtis", "id": 64, "children": [ { "title": "All Kurtis", "icon_url": "https://images.meesho.com/images/marketing/1661506236402.png", "id": 733, "page_id": "3j0", "page_path": "women-kurtis" }, { "title": "Anarkali Kurtis", "icon_url": "https://images.meesho.com/images/marketing/1661506126751.png", "id": 734, "page_id": "4pn", "page_path": "anarkali-kurtis" } ] } ] } ]}
Fields
| Field | Type | What it is | Example |
|---|---|---|---|
categories[].children[].title |
string | The subcategory group's name as Meesho shows it. | Featured On Meesho |
categories[].title |
string | The category name as Meesho shows it. | Popular |
categories[].children |
array | Subcategories under this one. | 2 records |
categories[].children[].children |
array | The categories inside this group. | 2 records |
categories[].children[].id |
integer | Meesho's ID for the group. | 61 |
categories[].icon_url |
string | The category's icon. | https://images.meesho.com/images/android/popular_images.png |
categories[].id |
integer | Meesho's ID for it. | 20 |
categories |
array | Meesho's categories. | 3 records |
If a call fails
A failed call costs nothing. The response carries an error.code you can branch on; Errors and retries lists every code and which ones to retry.
Other Meesho Catalog endpoints
Something missing or unclear? Ask the team that builds the Meesho Catalog endpoints.