MedPlus Mart PIN Code Localities API
Resolve an Indian PIN code or area name to the MedPlus Mart localities the storefront serves, with each place id.
- 1 credit per call
- Failed calls are free
- Updated
- medplus.pincode.check
{ "query": "500018", "localities": [ { "location": "500018, New Shastry Nagar, Sultan Nagar, Erragadda, Hyderabad, Telangana, India", "place_id": "ChIJkVkDph2RyzsR8-wfgrB68Xk" }, { "location": "Hyderabad, Telangana 500018, India", "pincode": "500018", "place_id": "ChIJjR9aNQORyzsR2aUWzfGjnxA" } ]}
| # | Location | Pincode | Place id |
|---|---|---|---|
| 1 | 500018, New Shastry Nagar, Sultan Nagar, Erragadda, Hyderabad, … | ChIJkVkDph2RyzsR8-wfgrB68Xk | |
| 2 | Hyderabad, Telangana 500018, India | 500018 | ChIJjR9aNQORyzsR2aUWzfGjnxA |
| 3 | 500018, Anand Nagar, Gopal Rao Pally, Prem Nagar, Erragadda, Hy… | ChIJ88taXOKQyzsR_BRpDHwoyoY |
What you send
The input
object of the request, with every field the endpoint accepts.
| Field | Type | Required | What it does | Example |
|---|---|---|---|---|
| pincode | string | one of | Six-digit Indian PIN code. | 500018 |
| query | string | one of | Area or locality name to look up instead of a PIN code. |
Fields it returns
What each record in the response holds, with the values from the sample above.
| Field | Type | Example |
|---|---|---|
| localities[].location | string | 500018, New Shastry Nagar, Sultan Nagar, Erragadda, Hyderabad, … |
| localities[].place_id | string | ChIJkVkDph2RyzsR8-wfgrB68Xk |
| localities | array | 3 records |
| query | string | 500018 |
Call it from your code, or ask your agent
Set UPSCRAPE_API_KEY to your key and copy a working request.
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": "medplus.pincode.check", "input": { "pincode": "500018" }}'
import jsonimport osimport requestspayload = json.loads(r'''{ "capability": "medplus.pincode.check", "input": { "pincode": "500018" }}''')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": "medplus.pincode.check", "input": { "pincode": "500018" }}),});if (!response.ok) { throw new Error(`Upscrape request failed: ${response.status}`);}console.log(JSON.stringify(await response.json(), null, 2));
https://data.upscrape.com/mcp
With Upscrape, get the MedPlus Mart pin code localities for pincode "500018". Tell me what it costs before you run it, then show the results as a table.
More from the MedPlus Mart API
The same data from other platforms
MedPlus Mart PIN Code Localities API FAQ
The short answers. The docs have the long ones.
How much does the MedPlus Mart PIN Code Localities API cost?
1 credit per successful call, shown before it runs. You buy credits once, and paid credits never expire.
What do I send?
Every input is optional; the input fields below list what each one does.
Do I need a MedPlus Mart login?
No. It reads public MedPlus Mart data; nothing runs on your account.
Can my AI agent call it?
Yes, over MCP: the agent finds medplus.pincode.check, checks its price and runs it with the same credits as the REST API.
Your first MedPlus Mart call is free.
Up to 100 free credits to start, no card needed.