# Referrals & App IDs

> Earn balance by referring people, or by building tools on Peak Solutions.

Source: https://docs.peak.fo/docs/earn

There are two ways to earn. Both pay straight into your balance, with no minimum and no cap, and you can spend it on solves right away.

## Referrals [#referrals]

Share your referral link. Anyone who signs up through it is tied to your account, and you get **20%** of every top-up they make, for as long as they keep using Peak Solutions.

Your link is in [Dashboard → Referrals](https://peak.fo/dashboard/referrals) and looks like this:

```txt
https://peak.fo/?ref=YOURCODE
```

You can't refer yourself. Free trial solves don't count, because referrals are paid on top-ups.

## App IDs [#app-ids]

Building a tool, bot or SDK on Peak Solutions? Create an app ID in [Dashboard → Developer](https://peak.fo/dashboard/developer) and send it as `appId` in every solve. Each successful solve that carries it credits you a share of what that solve cost.

Your share is shown next to each app ID in the dashboard.

```json title="POST https://api.peak.fo/solve"
{
  "task_type": "turnstiletaskproxyless",
  "url": "https://example.com/login",
  "sitekey": "0x4AAAAAAA...",
  "appId": "app_your_app_id"
}
```

`appId` is optional and never changes how the solve works. Requests without it, or with an unknown one, are solved the same way.

A solve earns you credit when:

- It's made by another account, not your own.
- That account has paid for something, so free trial solves don't count.
- You've paid for something yourself.
- Neither of you referred the other.

You can create up to 25 app IDs, for example one per tool, to see which one earns what.
