Nana Express Categories API
A Nana store's category tree, each category with its subcategories and how many products they hold.
{ "categories": [ { "name": "Chilled Meat", "id": "COL7214322072", "children": [ { "name": "Minced Meat", "id": "COL2065829044", "product_count": 2 }, { "name": "Boneless Meat", "id": "COL3303748058", "product_count": 8 } ] }, { "name": "Water & Ice", "id": "COL1139197048", "product_count": 39, "children": [ { "name": "Flavoured Water", "id": "COL3926903428", "product_count": 2 }, { "name": "Sparkling Water", "id": "COL5382064033", "product_count": 11 } ] } ]}
| # | Name | Product count | Id |
|---|---|---|---|
| 1 | Chilled Meat | COL7214322072 | |
| 2 | Water & Ice | 39 | COL1139197048 |
| 3 | Rice, Pasta & Grains | 129 | COL6082763880 |
| 4 | Chips & Savory Snacks | 107 | COL5580083228 |
| 5 | Chocolate & Cake | 152 | COL4850933640 |
| 6 | Biscuits & Cookies | 260 | COL6012070401 |
| 7 | Candies & Gums | 165 | COL1006788405 |
| 8 | Coffee | 78 | COL1106239060 |
| 9 | Nuts & Dried Fruits | 21 | COL7691324107 |
| 10 | Carbonated & Energy Drinks | 158 | COL1167091990 |
| 11 | Juices | 219 | COL4348566352 |
| 12 | Bread & Bakery | 90 | COL2457365725 |
| 13 | Laundry | 239 | COL5298000713 |
| 14 | Fruits & Vegetables | 94 | COL4257159808 |
| 15 | Dairy & Eggs | 205 | COL9193022224 |
What you send, what comes back
The input object it accepts, and every field of a record, with the values from the response above.
| Field | Type | Required | What it does | Example |
|---|---|---|---|---|
| store_id | string | yes | The Nana store's ID, such as STR00002232. | STR00002232 |
| Field | Type | What it is | Example |
|---|---|---|---|
| categories[].name | string | The name of the category or product. | Chilled Meat |
| categories[].id | string | Nana's ID for it. | COL7214322072 |
| categories[].children[].name | string | The subcategory's name. | Minced Meat |
| categories[].children | array | The sub-categories. | 3 records |
| categories[].children[].id | string | Nana's ID for the subcategory. | COL2065829044 |
| categories[].children[].product_count | integer | How many products the subcategory has. | 2 |
| categories | array | The categories. | 47 records |
Call it from your code
Set UPSCRAPE_API_KEY to your key and copy a working request. No SDK needed.
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": "nana.categories.list", "input": { "store_id": "STR00002232" }}'
import jsonimport osimport requestspayload = json.loads(r'''{ "capability": "nana.categories.list", "input": { "store_id": "STR00002232" }}''')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": "nana.categories.list", "input": { "store_id": "STR00002232" }}),});if (!response.ok) { throw new Error(`Upscrape request failed: ${response.status}`);}console.log(JSON.stringify(await response.json(), null, 2));
{ "categories": [ { "name": "Chilled Meat", "id": "COL7214322072", "children": [ { "name": "Minced Meat", "id": "COL2065829044", "product_count": 2 }, { "name": "Boneless Meat", "id": "COL3303748058", "product_count": 8 } ] }, { "name": "Water & Ice", "id": "COL1139197048", "product_count": 39, "children": [ { "name": "Flavoured Water", "id": "COL3926903428", "product_count": 2 }, { "name": "Sparkling Water", "id": "COL5382064033", "product_count": 11 } ] } ]}
More Nana Express endpoints
The same API key runs every one of them.
The same data from other platforms
-
Aldi UK Browse the public Aldi UK grocery category taxonomy to discover categories for shelf product listings. Categories1 credit per call
-
Apollo Pharmacy List the Apollo Pharmacy category tree with category ids, slugs, names and parent-child structure. Categories1 credit per call
-
Asda List the Asda Groceries category taxonomy (category > department > aisle) with product counts, derived from the catalog index facets. Categories1 credit per call
-
Blinkit List Blinkit departments and shelves for a location, with IDs for browsing category products. Categories1 credit per call
-
Carrefour Fetch a Carrefour country's category tree (Saudi Arabia, UAE, Egypt or Qatar) as parent-linked rows with leaf flags, in English or Arabic. CategoriesContact for pricing per call
-
Flipkart Return hierarchical category and subcategory candidates discovered from listing pages. Search categories5 credits per call
Nana Express Categories API FAQ
The short answers. The docs have the long ones.
How much does the Nana Express Categories API cost?
Access is arranged with us directly. Contact us and we set it up for your account.
What do I send?
Send store_id. The input fields below list every option with its type and limits.
Do I need a Nana Express login?
No. It reads public Nana Express data; nothing runs on your account.
Can my AI agent call it?
Yes, over MCP: the agent finds nana.categories.list, checks its price and runs it with the same credits as the REST API.
Nana Express data, set up for you.
Access to Nana Express is arranged with us. Tell us what you need and we set it up.