Developer Portal

Partner API Reference

Integrate your healthcare systems with the Ancestra platform. Query doctors, manage appointments, verify prescriptions, and check insurance coverage through our REST API.

Quick Start

1. Get Your API Key

Contact our team or request access through your admin dashboard to receive an API key.

2. Base URL

https://ancestra-health.com/api/v1

3. Authentication

Include your API key in every request using one of these methods:

x-api-key: anc_xxxxxxxxxxxx
Authorization: Bearer anc_xxxxxxxxxxxx

4. Example Request

curl -X GET "https://ancestra-health.com/api/v1/doctors?specialty=Cardiology&limit=5" \
  -H "x-api-key: anc_your_api_key_here"

Authentication

  • • All endpoints require a valid API key
  • • Keys are permission-scoped (e.g., doctors:read)
  • • Rate limits apply per key (default: 100 req/min)
  • • Keys can be set to expire on a specific date

Error Codes

  • 401 — Missing or invalid API key
  • 403 — Insufficient permissions
  • 400 — Invalid request parameters
  • 404 — Resource not found
  • 429 — Rate limit exceeded
  • 500 — Internal server error

Doctors

Search and retrieve verified healthcare provider profiles.

Appointments

Query existing appointments or create new bookings via API.

Prescription Verification

Verify the authenticity and details of e-prescriptions issued through Ancestra.

Insurance Verification

Verify insurance coverage status and policy details for patients.

Need API Access?

Contact our partnerships team to discuss integration opportunities and receive your API credentials.

Contact Partnerships