# Pioneer Public API

The Pioneer Public API lets third-party systems programmatically access loan
data, documents, and related entities on the Pioneer loan platform. It's a
REST API with predictable resource-oriented URLs, JSON payloads, and standard
HTTP response codes.

Explore the API Reference →

## Base URLs

Requests use environment-specific domains. Pick the environment that matches
your API key.

| Environment | Base URL | Key type |
|  --- | --- | --- |
| Production | `https://api.pioneerft.com/api` | `pk_live_*` |
| Staging | `https://api.staging.pioneerft.com/api` | `pk_test_*` |


## Authentication

All requests are authenticated with a bearer API key sent in the
`Authorization` header. Keep your keys secret — never expose them in
client-side code or public repositories.

```bash
curl https://api.pioneerft.com/api/public/loans \
  -H "Authorization: Bearer pk_live_your_api_key_here"
```

- `pk_test_*` — test keys, valid on **staging** only.
- `pk_live_*` — live keys, valid on **production** only.


## Conventions

- **JSON everywhere.** Requests and responses use `application/json`.
- **Pagination.** List endpoints are paginated; use the `limit` and cursor
parameters documented per endpoint.
- **Errors.** Standard HTTP status codes; error bodies include a machine-readable
`code` and a human-readable `message`.
- **Idempotency.** Mutating requests accept an idempotency key to make retries
safe.


## Next steps

- Browse the full **[API Reference](/apis/public-api)**.
- Need access or a key? **[Contact support](https://pioneer.com/support)**.