Authentication

OmniSync API v2 · Updated March 2026

Authenticate your API requests by including your secret API key in the request header. Manage your API keys in the developer dashboard after account activation.

cURL
curl -X GET "https://api.omnisyncdata.com/v1/pharma/trials?status=active" \
  -H "Authorization: Bearer os_live_YOUR_API_KEY" \
  -H "Content-Type: application/json"
Python
import omnisync

client = omnisync.Client(api_key="os_live_YOUR_API_KEY")
results = client.pharma.trials.list(status="active")
print(results.data)

Rate Limits

Plan Requests/min Monthly Quota Burst Allowance
Starter 60 100K 120 req/min
Professional 600 1M 1,200 req/min
Enterprise Unlimited Unlimited Dedicated cluster

Response Format

All responses are returned as standard JSON. Timestamps use ISO 8601 format. Paginate with cursor and limit parameters.

{
  "status": "success",
  "data": {
    "total_records": 1420,
    "cursor": "eyJpZCI6MTQyMH0",
    "results": [ ... ]
  },
  "meta": {
    "latency_ms": 42,
    "api_version": "2.1.0"
  }
}

Error Codes

Code Meaning
401Invalid or missing API key
429Rate limit exceeded — back off and retry
503Pipeline maintenance window — check status.html