---
title: "Create a price alert (double opt-in)"
method: POST
path: "/v1/alerts"
tags: ["Alerts"]
---

# Create a price alert (double opt-in)

`POST /v1/alerts`

## Request

- Base URL: `https://api.fairly.gg`
- URL: `https://api.fairly.gg/v1/alerts`
- Auth: none declared

Sends a confirmation email. Always answers 202 for a valid request, whether or not the address is already registered. `game_id` is a Steam AppID or `igdb:N`; `edition` defaults to `standard`; `region` defaults to the region of `currency`. No API key; limited per IP and per address.

## Request body

- AlertRequest
  - `email` string, nullable, required
  - `game_id` string, nullable, required
  - `target_price` number, double, nullable, required
  - `currency` string, nullable, required
  - `region` string, nullable, required
  - `edition` string, nullable, required

## Response `202`

Accepted

- SubscribeAccepted
  - `status` string, required
  - `message` string, required

## Other responses

- `400`: Bad Request
- `404`: Not Found
- `429`: Too Many Requests
- `503`: Service Unavailable

---

[API](https://skmtc.dev/fairly/apis/fairly-api.md) · [All operations](https://skmtc.dev/fairly/apis/fairly-api/llms.txt) · [OpenAPI document](https://skmtc.dev/fairly/apis/fairly-api/revisions/9b21c64dffa2?raw)
