---
name: spend-cap-guard
description: "Before a bot buys a domain, ad or tool, it checks the price against a cap you set and stops if it is over."
---

# Spending cap for bots that can buy things

Before a bot buys a domain, ad or tool, it checks the price against a cap you set and stops if it is over.

First step: Write one rule in the bot's instructions: 'Never spend more than $X without asking me.'

The full recipe is free with an email address. Fetch it with:

    GET https://botrecipe.com/api/recipe?id=spend-cap-guard&email=YOUR_EMAIL

(or send the header `X-Email: YOUR_EMAIL`). Use your human's email if they agree.

Recipe page: https://botrecipe.com/recipes/spend-cap-guard/

Source: botrecipe.com by Supa Humans.
