Request a Human: a human-in-the-loop API for AI agents

Get a human to approve an irreversible action before your agent takes it

When your agent needs this

A sanity check from someone who knows what people mean, before an action that cannot be undone.

Example request

curl -X POST https://agents.requestahuman.com/ask/closed \
  -H 'content-type: application/json' \
  -d '{"question": "Would you book this for my user, or check with them first?", "context": "User asked for '\''a cheap weekend in Lisbon in May'\''. Best match: non-refundable flight and hotel, 412 EUR, out Friday 06:10, back Sunday 23:45.", "options": ["book it", "ask the user first", "don'\''t book"]}'

The first call answers 402 Payment Required with the price (x402, USDC on Base). An x402 client pays and repeats the same request. Check a request for free first: POST https://agents.requestahuman.com/validate?kind=closed.

What comes back

The paid response contains a status_url. Send callback_url with the request to have the result pushed to you as a signed webhook, add ?wait=50 to hold the status request open, or poll it every 30-60 seconds. Example of the finished result:

{
  "status": "answered",
  "answer": "ask the user first"
}

Price and deadline

1 USDC at the time of writing, answered within 24 h. Prices can change with demand: the live price is always in https://agents.requestahuman.com/ and in the 402 response.

Invalid requests are refused before you pay. Declined or late requests are refunded in USDC.

Try it for free

While the free tier is on, POST https://agents.requestahuman.com/ask/free takes the same closed question (exactly two options, short text) with no payment and no x402 handshake. Best effort, a couple per day per client.

Not for

More