P3 Lending Developer API

B2B API for reputation scores. Base URL: https://api.p3lending.space

Quickstart

  1. Log in to p3lending.space, open Developers in the sidebar.
  2. Create an API key (copy it once; it won’t be shown again).
  3. Call the API with Authorization: Bearer <your_key>.
curl -H "Authorization: Bearer p3_live_..." \
  "https://api.p3lending.space/api/v1/reputation/score?user_id=UUID"

Auth

All /api/v1/* endpoints require an API key in the Authorization header:

Authorization: Bearer p3_live_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
# or
Authorization: Bearer p3_test_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx

Keys are scoped (e.g. score:read, score:history). Never store or log the raw key; store only the prefix if needed for display.

Endpoints

OpenAPI spec: /docs/openapi.json.

Errors

Responses use HTTP status codes and a JSON body:

Rate limits

Per-key limits (configurable when creating the key):

When exceeded, the API returns 429.