← MedGate GPT
MedGate API

Add medical AI to your product

Power chatbots, assistants and content tools with MedGate's global, multilingual healthcare AI. Get an API key, drop in our chat widget or call the REST API from any language. Built for hospitals, clinics, pharma and medical-device companies, health startups, edtech and any website — anywhere in the world.

Plans & pricing

Prices in INR. Subscriptions are activated by our team after a quick call — no online payment needed. Request a plan below and we'll reach out.

Quickstart

1. Drop-in chatbot widget (no coding)

Paste this before </body> on any website. A floating medical chat assistant appears, powered by your key.

<script src="https://medgategpt.com/sdk/medgate-chat.js"
  data-key="YOUR_API_KEY"
  data-title="Health Assistant"
  data-accent="#14b8a6"
  data-welcome="Hi! Ask me anything about health."></script>

2. JavaScript SDK

<script src="https://medgategpt.com/sdk/medgate.js"></script>
<script>
  const client = new MedGate({ apiKey: "YOUR_API_KEY" });
  client.chat([{ role: "user", content: "What is hypertension?" }])
        .then(reply => console.log(reply));
</script>

3. REST API (any language)

curl https://medgategpt.com/api/v1/chat \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"messages":[{"role":"user","content":"What is hypertension?"}]}'

Endpoints

  • POST /api/v1/chat — body { messages: [{role, content}], system?, stream?, max_tokens? }. Returns { message: { role, content } }. Set stream: true for Server-Sent Events (data: {delta} lines).
  • GET /api/v1/usage — your plan, calls used and limit.

Authenticate every request with Authorization: Bearer YOUR_API_KEY. Use the optional system field to give your bot a persona (e.g. "You are the assistant for XYZ Clinic"). MedGate's identity and medical-safety rules always apply.

This API provides general medical information, not a diagnosis or prescription. Keep that disclaimer visible to your end users.