Medicine API

About the Medicine API

The Medicine API is a robust and versatile tool designed to provide comprehensive information about various medicines. Whether you need details on product names, salt compositions, or manufacturers, our API is built to offer accurate and timely data. The API is secure and easy to integrate, making it an excellent choice for developers and businesses looking to enhance their applications with reliable medicine information.

Our API offers detailed records that can be used to improve healthcare solutions, pharmaceutical research, and patient management systems. With flexible access options and a commitment to data accuracy, the Medicine API is your gateway to essential medicine information.

Endpoints

1. Search Medicines

GET /api.php

Parameters:

  • field - Field to search (options: product_name, salt_composition, product_manufactured)
  • search - Search term for the specified field
  • limit - Number of records per page (default: 10, max: 10)
  • page - Page number for pagination (default: 1)

Headers:

  • X-API-KEY - Your API key

Example Request:

curl -X GET "https://medicine-api.ankushminda.com/api.php?field=product_name&search=amoxy&limit=10&page=1" -H "X-API-KEY: YOUR_API_KEY"

2. Get All Medicines

GET /api.php?action=all

Parameters:

  • limit - Number of records per page (default: 10, max: 50)
  • page - Page number for pagination (default: 1)

Headers:

  • X-API-KEY - Your API key

Example Request:

curl -X GET "https://medicine-api.ankushminda.com/api.php?action=all&limit=10&page=1" -H "X-API-KEY: YOUR_API_KEY"

3. Get Medicine by ID

GET /api.php?action=get_by_id

Parameters:

  • id - The ID of the medicine

Headers:

  • X-API-KEY - Your API key

Example Request:

curl -X GET "https://medicine-api.ankushminda.com/api.php?action=get_by_id&id=123" -H "X-API-KEY: YOUR_API_KEY"

4. Get Medicines by Category

GET /api.php?action=get_by_category

Parameters:

  • category - The category of medicines
  • limit - Number of records per page (default: 10, max: 50)
  • page - Page number for pagination (default: 1)

Headers:

  • X-API-KEY - Your API key

Example Request:

curl -X GET "https://medicine-api.ankushminda.com/api.php?action=get_by_category&category=Antibiotics&limit=10&page=1" -H "X-API-KEY: YOUR_API_KEY"

5. Get Medicine Categories

GET /api.php?action=get_categories

Headers:

  • X-API-KEY - Your API key

Example Request:

curl -X GET "https://medicine-api.ankushminda.com/api.php?action=get_categories" -H "X-API-KEY: YOUR_API_KEY"

API Key

To access the API, you need an API key. Please fill out the request form below to receive your API key.


Pricing

Monthly Plan

$19.99

Up to 10,000 requests per month

  • 10,000 Requests
  • Monthly Billing

Annual Plan

$179.99

Unlimited requests per year #

  • Unlimited Requests #
  • Annual Billing

FAQ

Fill out the request form to receive your API key and start making requests to the provided endpoints.

Ensure that you are using a valid API key and that your requests are properly formatted. For further assistance, contact support.

Yes, commercial use is available. Please contact us to discuss pricing and usage limits.

You can upgrade your plan by contacting our support team or through your account dashboard if available.

Refunds are available on a case-by-case basis. Please contact support for more details.