NPPA Brand
nppa.brand.get
Read one pack's price record: MRP, company, pack, price-control status and the notified ceiling rows with tax and SO.
At a glance
- Endpoint ID
nppa.brand.get- Price
- 1 credit per call; failed calls are free
- Runs for up to
- 45 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": "nppa.brand.get", "input": { "sku_id": "1521018101@84705@101124596@3755@101006@202166" }}'
import jsonimport osimport requestspayload = json.loads(r'''{ "capability": "nppa.brand.get", "input": { "sku_id": "1521018101@84705@101124596@3755@101006@202166" }}''')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": "nppa.brand.get", "input": { "sku_id": "1521018101@84705@101124596@3755@101006@202166" }}),});if (!response.ok) { throw new Error(`Upscrape request failed: ${response.status}`);}console.log(JSON.stringify(await response.json(), null, 2));
Input
| Field | Type | Required | What it does | Example |
|---|---|---|---|---|
brand |
string | one of | Brand name, used when no sku_id is known. NPPA has no name lookup, so this also reads the brand index. | |
sku_id |
string | one of | The sku_id from nppa.search.brands or nppa.formulation.brands. | 1521018101@84705@101124596@3755@101006@202166 |
sku |
string | no | Exact sku name from a search. Required when the brand has more than one pack. |
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:
{ "mrp": 14.17, "brand": "DOLO", "ceiling_price": 0.93, "company": "MICRO LABS LTD", "composition": "PARACETAMOL TABLET 500 MG", "currency": "INR", "dosage_form": "TABLET", "mrp_per_unit": 0.94, "pack_size": "15 TABLET", "price_controlled": true, "price_month": "Aug-2026", "sku": "DOLO 500 MG TABLET 15", "source_url": "https://nppaipdms.gov.in/NPPA/rest/brandDataTableNew?brandId=101124596&dosageId=0&strengthId=0", "ceiling_prices": [ { "amount": 0.93, "so_date": "2026-03-25", "so_number": "1575(E)", "tax_percent": 12, "unit": "1 Tablet" } ]}
Fields
| Field | Type | Example |
|---|---|---|
mrp |
number | 14.17 |
brand |
string | DOLO |
ceiling_price |
number | 0.93 |
ceiling_prices |
array | 1 records |
ceiling_prices[].amount |
number | 0.93 |
ceiling_prices[].so_date |
string | 2026-03-25 |
ceiling_prices[].so_number |
string | 1575(E) |
ceiling_prices[].tax_percent |
integer | 12 |
ceiling_prices[].unit |
string | 1 Tablet |
company |
string | MICRO LABS LTD |
composition |
string | PARACETAMOL TABLET 500 MG |
currency |
string | INR |
dosage_form |
string | TABLET |
mrp_per_unit |
number | 0.94 |
pack_size |
string | 15 TABLET |
price_controlled |
boolean | true |
price_month |
string | Aug-2026 |
sku |
string | DOLO 500 MG TABLET 15 |
source_url |
string | https://nppaipdms.gov.in/NPPA/rest/brandDataTableNew?brandId=10… |
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 NPPA endpoints
Something missing or unclear? Ask the team that builds the NPPA endpoints.