# Quickstart

> Make a key on /developers, get a renter's Passport link, and check it from curl, Node or Python. Then read the four parts of the answer that matter most.

Source: https://rentalpassport.app/docs/quickstart

Five minutes from no account to a checked Passport.

## 1. Make a key

1. Open [rentalpassport.app/developers](https://rentalpassport.app/developers).
2. Enter your work email. We send a sign-in link that brings you back to the page.
3. The first time, add your company name and what you are (listings platform, property manager, tenant screening, something else). Renters see this company name when you check them.
4. Select **Make my key**. Copy it. We show it once.

The account is live as soon as the key is made. Keep the key on your server:

```bash
export RP_KEY="rpk_live_..."
```

## 2. Get a Passport link from a renter

The renter makes a share link on their Passport page and sends it to you. It looks like this:

```bash
https://rentalpassport.app/p/Zk3vQ8mT2xLp9RwA4nHc7bYe
```

The code is everything after `/p/`. Links last 30 days and the renter can switch one off at any time.

## 3. Make the call

**curl**

```bash
curl https://rentalpassport.app/api/v1/passports/Zk3vQ8mT2xLp9RwA4nHc7bYe \
  -H "Authorization: Bearer $RP_KEY" \
  -i
```

`-i` prints the headers, so you can see `X-Billable`.

**Node** (18 or later, save as `check.mjs`)

```js
const link = 'https://rentalpassport.app/p/Zk3vQ8mT2xLp9RwA4nHc7bYe';
const code = new URL(link).pathname.split('/p/')[1];

const res = await fetch(`https://rentalpassport.app/api/v1/passports/${code}`, {
  headers: { Authorization: `Bearer ${process.env.RP_KEY}` },
});
const body = await res.json();

if (!res.ok) {
  console.error(res.status, body.error.code, body.error.message);
  process.exit(1);
}
console.log(body.readiness.score, body.readiness.tier, 'billable:', res.headers.get('x-billable'));
```

**Python** (`pip install requests`)

```python
import os
import requests

link = "https://rentalpassport.app/p/Zk3vQ8mT2xLp9RwA4nHc7bYe"
code = link.split("/p/")[1]

res = requests.get(
    f"https://rentalpassport.app/api/v1/passports/{code}",
    headers={"Authorization": f"Bearer {os.environ['RP_KEY']}"},
    timeout=10,
)
body = res.json()

if not res.ok:
    raise SystemExit(f"{res.status_code} {body['error']['code']}: {body['error']['message']}")
print(body["readiness"]["score"], body["readiness"]["tier"], "billable:", res.headers["X-Billable"])
```

The example code above is not a live link, so it returns `404 not_found`. Use a link a renter sent you.

## 4. Read the answer

A `200` returns a `passport` object. Start with four parts:

| Read | What it tells you |
| --- | --- |
| `readiness.score` and `readiness.tier` | How complete and checked the Passport is, out of 100: Started, Building, Ready or Proven. |
| `proof[].status` | Per kind of proof: `verified`, `cross_checked`, `on_file` or `not_added`. |
| `record` | Months of rent paid on time through Rental Passport, and whether they found a home here. |
| `shared.expires_at` | When the renter's link stops working. |

Every field is in [Passports](/docs/passports).

## 5. See what you used

```bash
curl https://rentalpassport.app/api/v1/usage \
  -H "Authorization: Bearer $RP_KEY"
```

```json
{"object":"usage","month":"2026-12","checks":1,"billable_passports":1}
```

Your first 5 renters are free. See [Billing](/docs/billing).

## Next

- Give an assistant the same check: [MCP server](/docs/mcp).
- Handle every refusal: [Errors](/docs/errors).
