Developer-First Platform
Everything you need to integrate healthcare data into your applications quickly and securely.
RESTful APIs
Comprehensive REST APIs with JSON responses for easy integration into any application or EMR system.
Detailed Documentation
Interactive API docs with code samples in multiple languages, including authentication guides and use case tutorials.
SDKs & Libraries
Official SDKs for JavaScript, Python, Java, and .NET to accelerate your integration process.
Webhooks & Events
Real-time notifications for consent changes, record updates, and claim status changes.
Sandbox Environment
Test your integrations safely with sample data before going live. No impact on production systems.
Fast Performance
Sub-second API response times with 99.9% uptime SLA and global CDN distribution.
API Overview
MediChain APIs follow RESTful conventions with OAuth 2.0 authentication and support JSON payloads.
OAuth 2.0 Authentication
Secure your API requests with industry-standard OAuth 2.0
Step 1: Obtain API Credentials
// Register your application to get credentials Client ID: medichain_app_abc123 Client Secret: sk_live_xyz789secretkey
Step 2: Request Access Token
curl -X POST https://api.medichain.in/oauth/token \
-H "Content-Type: application/json" \
-d '{
"grant_type": "client_credentials",
"client_id": "medichain_app_abc123",
"client_secret": "sk_live_xyz789secretkey"
}'Step 3: Use Token in API Calls
curl -X GET https://api.medichain.in/v1/patients/123 \ -H "Authorization: Bearer YOUR_ACCESS_TOKEN"