Skip to content

Build on P3.

Area indexes and risk, P3 Value, passport checks, protection and webhooks, in one REST API. Start in the sandbox, go live when you are ready.

Keys are made in P3 by your organisation's admins: Organisation → Developers → Keys.

curl https://api.pthree.vip/v1/areas?city=dubai \
  -H "Authorization: Bearer $P3_API_KEY"

How the API works

Keys and environments
Send your key as a bearer token. p3_live_ keys reach live data; p3_test_ keys use the sandbox. Each key carries scopes within your plan. Enterprise servers may use OAuth 2.0 client credentials instead.
One error shape
Every failure answers with an error object: code, message, details and request_id. Codes are stable, such as insufficient_scope, consent_required or rate_limited. Quote the request id to P3.
Pages and caching
Lists take limit (1 to 100) and cursor. Reads return an ETag: send it back as If-None-Match and P3 answers 304 when nothing changed.
Safe retries
Send an Idempotency-Key with a POST (binding requires one). Repeating it within 24 hours replays the first answer instead of acting twice. Money is in minor units with its currency.

Plans and limits

Limits apply per key per minute, and per organisation per month for live requests. Past either, the API answers 429 with Retry-After.

PlanPer minutePer monthScopes
Open6010,000index:read passports:verify
Pro600500,000index:read valuations:read passports:verify protection:quote webhooks:manage
Enterprise3,000Agreed per contractindex:read valuations:read passports:verify protection:quote protection:bind webhooks:manage

Sandbox requests never count towards the monthly quota. Talk to P3 sales to change plan.

The sandbox

Test keys see synthetic homes, passports, quotes and policies, with the real published indexes. Payments succeed at once; nothing is real. Use these fixtures:

  • A shared Marina flat: valuations and quotes work0190a000-0000-7000-8000-000000000001
  • A villa your organisation owns0190a000-0000-7000-8000-000000000002
  • A flat not shared with you: consent_required0190a000-0000-7000-8000-000000000003
  • A home in a high-risk area: quotes are declined0190a000-0000-7000-8000-000000000004
  • A current Gold passportTESTPASSG01A
  • A replaced passport code: revokedTESTPASSR3V0
  • Developer Shield project and unit numbers0190a000-0000-7000-8000-000000000101 · 101–110
  • A loan in every sandbox bank's bookTEST-LOAN-0001

Webhooks

Subscribe a public HTTPS endpoint to events. Each delivery is signed: P3-Signature carries a timestamp and an HMAC-SHA256 of the timestamp and raw body, made with your endpoint's secret.

  • index.published
  • valuation.completed
  • policy.bound
  • policy.renewal_due
  • claim.decided
  • claim.paid
  • passport.level_changed

A delivery that is not answered with 2xx in 10 seconds is tried again for 24 hours. The delivery log and a resend button are in P3, under Developers → Webhooks.

# P3 signs each delivery: P3-Signature: t=<unix seconds>,v1=<hex>
# v1 = HMAC-SHA256(secret, "<t>.<raw body>")
echo -n "$T.$BODY" | openssl dgst -sha256 -hmac "$P3_WEBHOOK_SECRET"

OpenAPI and the TypeScript SDK

The OpenAPI 3.1 document describes every operation and webhook, so you can generate a client in any language. A typed TypeScript SDK built from it is coming to npm.

Download openapi.jsonChangelogLooking for P3 for property developers?

We use necessary cookies to run this site. With your permission we also use analytics to see which pages help, and marketing cookies to measure campaigns. Read the cookie notice