Documentation

Quickstart

Get a live API key and make your first FHIR request in under 2 minutes.

1. Get an API key

Go to /get-started and enter your email. Your key is shown once — save it.

2. Make a request

bash
curl -H "Authorization: Bearer pe_live_YOUR_KEY" \
  https://api.getpe.dev/v1/me
json
{
  "id": "ak_abc123",
  "prefix": "pe_live_abc1",
  "tier": "FREE",
  "callCount": 1,
  "rateLimit": 1000,
  "projectId": "proj_xyz"
}

3. Query FHIR resources

bash
curl -H "Authorization: Bearer pe_live_YOUR_KEY" \
  "https://api.getpe.dev/v1/fhir/Patient?family=Smith"

4. Validate a resource

bash
curl -X POST -H "Authorization: Bearer pe_live_YOUR_KEY" \
  -H "Content-Type: application/json" \
  -d '{"resource": {"resourceType":"Patient","id":"p1"}}' \
  https://api.getpe.dev/v1/validate