Netmeds Collections API
List the public Netmeds collections, the sets behind /collection/<slug>, so their products can be walked.
- 1 credit per call
- Failed calls are free
- Updated
- netmeds.collections.list
{ "has_more": true, "next_page": 2, "page": 1, "total_count": 2192, "items": [ { "name": "3 months NFM", "active": true, "description": "3 Months NFM codes.", "id": "69a54f26d9f30d0533296ee2", "image_url": "https://res.cloudinary.com/dwzm9bysq/image/upload/v1588857854/production/applications/app_000000000000000000000001/media/collection/logo/w9…", "published": true, "slug": "3-months-nfm", "type": "items", "url": "https://www.netmeds.com/collection/3-months-nfm" }, { "name": "6monthsNFM1", "active": true, "id": "695e290695708b990b85ab27", "image_url": "https://res.cloudinary.com/dwzm9bysq/image/upload/v1588857854/production/applications/app_000000000000000000000001/media/collection/logo/w9…", "published": true, "slug": "6monthsnfm1", "type": "items", "url": "https://www.netmeds.com/collection/6monthsnfm1" } ]}
| # | Name | Active | Description | Published | Slug | Type | Id | Image url | Url |
|---|---|---|---|---|---|---|---|---|---|
| 1 | 3 months NFM | true | 3 Months NFM codes. | true | 3-months-nfm | items | 69a54f26d9f30d0533296ee2 | https://res.cloudinary.com/dwzm9bysq/image/upload/v1588857854/p… | https://www.netmeds.com/collection/3-months-nfm |
| 2 | 6monthsNFM1 | true | true | 6monthsnfm1 | items | 695e290695708b990b85ab27 | https://res.cloudinary.com/dwzm9bysq/image/upload/v1588857854/p… | https://www.netmeds.com/collection/6monthsnfm1 | |
| 3 | 3monthsnfm1 | true | true | 3monthsnfm1 | items | 69524f32d02c5a13f09d14d6 | https://res.cloudinary.com/dwzm9bysq/image/upload/v1588857854/p… | https://www.netmeds.com/collection/3monthsnfm1 |
What you send
The input
object of the request, with every field the endpoint accepts.
| Field | Type | Required | What it does | Example |
|---|---|---|---|---|
| limit | integer | no | Alias for page_size (1 to 20). From 1 to 20. | |
| page | integer | no | 1-based page to read. One call reads only this page; pass next_page from the answer to continue. At least 1. Default: 1. |
|
| page_size | integer | no | Records in this one page, 1 to 20 (default 20). From 1 to 20. Default: 20. |
5 |
Fields it returns
What each record in the response holds, with the values from the sample above.
| Field | Type | Example |
|---|---|---|
| items[].name | string | 3 months NFM |
| items[].active | boolean | true |
| items[].description | string | 3 Months NFM codes. |
| items[].id | string | 69a54f26d9f30d0533296ee2 |
| items[].image_url | string | https://res.cloudinary.com/dwzm9bysq/image/upload/v1588857854/p… |
| items[].published | boolean | true |
| items[].slug | string | 3-months-nfm |
| items[].type | string | items |
| items[].url | string | https://www.netmeds.com/collection/3-months-nfm |
| has_more | boolean | true |
| items | array | 3 records |
| next_page | integer | 2 |
| page | integer | 1 |
| total_count | integer | 2192 |
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": "netmeds.collections.list", "input": { "page_size": 5 }}'
import jsonimport osimport requestspayload = json.loads(r'''{ "capability": "netmeds.collections.list", "input": { "page_size": 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": "netmeds.collections.list", "input": { "page_size": 5 }}),});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 Netmeds collections for page size "5". Tell me what it costs before you run it, then show the results as a table.
More from the Netmeds API
The same data from other platforms
Netmeds Collections API FAQ
The short answers. The docs have the long ones.
How much does the Netmeds Collections 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 Netmeds login?
No. It reads public Netmeds data; nothing runs on your account.
Can my AI agent call it?
Yes, over MCP: the agent finds netmeds.collections.list, checks its price and runs it with the same credits as the REST API.
Your first Netmeds call is free.
Up to 100 free credits to start, no card needed.