Pepperfry Pincode Check API
Check whether Pepperfry delivers a product to an Indian PIN code, with the city and state.
{ "city": "Mumbai", "is_serviceable": true, "state": "Maharashtra"}
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 |
|---|---|---|---|---|
| pincode | string | yes | A six-digit Indian PIN code. | 400001 |
| product_id | string | yes | The product's number, from its page or a listing. | 2195300 |
| Field | Type | What it is | Example |
|---|---|---|---|
| city | string | The city the PIN code belongs to. | Mumbai |
| is_serviceable | boolean | Whether Pepperfry delivers to the PIN code. | true |
| state | string | The state the PIN code belongs to. | Maharashtra |
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": "pepperfry.pincode.check", "input": { "pincode": "400001", "product_id": "2195300" }}'
import jsonimport osimport requestspayload = json.loads(r'''{ "capability": "pepperfry.pincode.check", "input": { "pincode": "400001", "product_id": "2195300" }}''')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": "pepperfry.pincode.check", "input": { "pincode": "400001", "product_id": "2195300" }}),});if (!response.ok) { throw new Error(`Upscrape request failed: ${response.status}`);}console.log(JSON.stringify(await response.json(), null, 2));
{ "city": "Mumbai", "is_serviceable": true, "state": "Maharashtra"}
More Pepperfry endpoints
The same API key runs every one of them.
The same data from other platforms
-
Apollo Pharmacy Check whether Apollo Pharmacy delivers to an Indian PIN code, with the city, state and coordinates it maps to. Check PIN code1 credit per call
-
MedPlus Mart Resolve an Indian PIN code or area name to the MedPlus Mart localities the storefront serves, with each place id. PIN code localities1 credit per call
Pepperfry Pincode Check API FAQ
The short answers. The docs have the long ones.
How much does the Pepperfry Pincode Check API cost?
1 credit per successful call, shown before it runs. You buy credits once, and paid credits never expire.
What do I send?
Send pincode and product_id. The input fields below list every option with its type and limits.
Do I need a Pepperfry login?
No. It reads public Pepperfry data; nothing runs on your account.
Can my AI agent call it?
Yes, over MCP: the agent finds pepperfry.pincode.check, checks its price and runs it with the same credits as the REST API.