# Offers API reference

> Search the market's GPU offers, read one host's offer, and the score formula.

Source: https://legion.ambient.xyz/docs/api/offers

- [Search GPU offers](https://legion.ambient.xyz/docs/api/offers/list-offers): `GET /v1/offers`. Lists approved, listed, online hosts with at least min_gpus free GPUs, cheapest first unless sort says otherwise, filtered by every facet given (they…
- [Get one offer with its score breakdown and uptime history](https://legion.ambient.xyz/docs/api/offers/get-offer): `GET /v1/offers/{host_id}`. The offer of one host, as listOffers would list it, with its daily uptime over the last 30 days.
- [List the caller's offer alerts](https://legion.ambient.xyz/docs/api/offers/list-offer-alerts): `GET /v1/offer-alerts`. Lists the caller's own offer alerts, newest first: active, triggered and expired ones.
- [Be emailed once when a matching machine is available](https://legion.ambient.xyz/docs/api/offers/create-offer-alert): `POST /v1/offer-alerts`. Saves a market search as an offer alert.
- [Get one offer alert](https://legion.ambient.xyz/docs/api/offers/get-offer-alert): `GET /v1/offer-alerts/{alert_id}`. The caller's alert.
- [Rename, re-arm or change the expiry of an offer alert](https://legion.ambient.xyz/docs/api/offers/update-offer-alert): `PATCH /v1/offer-alerts/{alert_id}`. name renames the alert (an empty string removes the name).
- [Delete an offer alert](https://legion.ambient.xyz/docs/api/offers/delete-offer-alert): `DELETE /v1/offer-alerts/{alert_id}`. Deletes the caller's alert, whatever its status.
- [How the Legion score is computed](https://legion.ambient.xyz/docs/api/offers/get-score-formula): `GET /v1/score-formula`. The current version of the Legion score's formula: its components and their weights, and each component's factors with their weights and thresholds.
