NPPA Formulation Brands
nppa.formulation.brands
List every brand and pack of a formulation with MRP, ceiling price, company and price-control status.
At a glance
- Endpoint ID
nppa.formulation.brands- Price
- 1 credit per call; failed calls are free
- Runs for up to
- 60 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.formulation.brands", "input": { "company": "CIPLA", "formulation": "PARACETAMOL", "limit": 5 }}'
import jsonimport osimport requestspayload = json.loads(r'''{ "capability": "nppa.formulation.brands", "input": { "company": "CIPLA", "formulation": "PARACETAMOL", "limit": 5 }}''')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.formulation.brands", "input": { "company": "CIPLA", "formulation": "PARACETAMOL", "limit": 5 }}),});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 |
|---|---|---|---|---|
formulation |
string | yes | Formulation name, for example "PARACETAMOL". An exact name ranks first, then a prefix, then any containment. | PARACETAMOL |
company |
string | no | Optional manufacturer name to keep, matched case-insensitively inside the company name. | CIPLA |
dosage_form |
string | no | Optional dosage form to keep, for example "TABLET". Pass "all" for no filter. | |
limit |
integer | no | Rows per page. From 1 to 100. Default: 20. |
5 |
page |
integer | no | Page of matching rows to return, starting at 1. At least 1. Default: 1. |
|
price_controlled |
boolean | no | true keeps only packs under NPPA price control, false keeps only packs that are not. | |
sort |
string | no | Row order: pack name (default), cheapest MRP first, or most expensive first. Allowed values: name, mrp_low, mrp_high. Default: name. |
name · mrp_low · mrp_high |
strength |
string | no | Optional strength to keep, for example "500 MG". Pass "all" for no filter. |
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:
{ "has_more": true, "matched_formulation": "PARACETAMOL", "page": 1, "query": "PARACETAMOL", "total": 18, "items": [ { "mrp": 9.65, "ceiling_price": 0.93, "company": "CIPLA LTD.", "composition": "PARACETAMOL TABLET 500 MG", "currency": "INR", "dosage_form": "TABLET", "mrp_per_unit": 0.97, "pack_size": "10 TABLET", "price_controlled": true, "price_month": "Aug-2026", "sku": "CIPMOL 500 MG TABLET 10", "sku_id": "1521037001@99427@101116116@3755@101006@202166", "source_url": "https://nppaipdms.gov.in/NPPA/rest/formulationDataTableNew?dosageId=0&formulationId=202166&strengthId=0" }, { "mrp": 21.1, "ceiling_price": 2.05, "company": "CIPLA LTD.", "composition": "PARACETAMOL TABLET 650 MG", "currency": "INR", "dosage_form": "TABLET", "mrp_per_unit": 2.11, "pack_size": "10 TABLET", "price_controlled": true, "price_month": "Aug-2026", "sku": "CIPMOL 650 MG TABLET 10", "sku_id": "1521037026@147818@101116116@3900@101006@202166", "source_url": "https://nppaipdms.gov.in/NPPA/rest/formulationDataTableNew?dosageId=0&formulationId=202166&strengthId=0" } ]}
Fields
| Field | Type | Example |
|---|---|---|
items[].mrp |
number | 9.65 |
items[].ceiling_price |
number | 0.93 |
items[].company |
string | CIPLA LTD. |
items[].composition |
string | PARACETAMOL TABLET 500 MG |
items[].currency |
string | INR |
items[].dosage_form |
string | TABLET |
items[].mrp_per_unit |
number | 0.97 |
items[].pack_size |
string | 10 TABLET |
items[].price_controlled |
boolean | true |
items[].price_month |
string | Aug-2026 |
items[].sku |
string | CIPMOL 500 MG TABLET 10 |
items[].sku_id |
string | 1521037001@99427@101116116@3755@101006@202166 |
items[].source_url |
string | https://nppaipdms.gov.in/NPPA/rest/formulationDataTableNew?dosa… |
has_more |
boolean | true |
items |
array | 3 records |
matched_formulation |
string | PARACETAMOL |
page |
integer | 1 |
query |
string | PARACETAMOL |
total |
integer | 18 |
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.