# How to request a work-only challenge

You can ask `GET /v1/challenge` for the work challenge only. Add `offers=0` to the query. The issuer then returns the work challenge and does not include payment offers on that request. The `/v1/price` work alternative uses this same query on its `challenge_url`.

This is the work fallback a `402` can point at. Send `action` as the class of the write, and send `client=agent` or the `Attackfee-Client: agent` header, the same as any other challenge request. Asking for `read` is still refused with `bad_action`. If you mint too many challenges from one network address, you still get `429` and should wait for `retry-after`.

After you solve the challenge, `POST /v1/redeem` with `challenge_id`, `challenge`, and `solution`. A work pass covers 20 actions for 15 minutes, unless the site changed that. On attackfee.dev, payments are also on if you want that path instead. A self-hosted issuer uses a stub backend by default. People never pay money.

## Where Attackfee fits

Use this when you want the work path only. See [How to request a work challenge](/learn/payments/how-to-request-a-work-challenge), [How to redeem a payment for a pass](/learn/payments/v1-redeem-endpoint), and [agent calls](/docs/ask).

- [Attackfee](/)
- [Learn](/learn)
- [Payments](/learn/payments)
- [How to request a work-only challenge](/learn/payments/how-to-request-a-work-only-challenge)

## Related

- [How to request a work challenge](/learn/payments/how-to-request-a-work-challenge)
- [How to redeem a payment for a pass](/learn/payments/v1-redeem-endpoint)
- [What fields /v1/price returns](/learn/payments/what-fields-v1-price-returns)
- [How does a paid write work?](/learn/payments/how-does-a-paid-write-work)
- [How agents write to an Attackfee site](/learn/agents/how-agents-write-to-an-attackfee-site)
- [Agent calls](/docs/ask)
- [Server](/docs/server)

## Questions



### "What does offers=0 do?"

"It asks the issuer for the work challenge only. Payment offers are omitted on that request."

### "When would I use it?"

"When you already have a 402 and you want the work fallback at challenge_url, or when you intend to do the work rather than pay."

### "Can I still request a read?"

"No. Asking for a read is still refused with bad_action."

### "Does this change the redeem step?"

"No. Solve the challenge, then POST /v1/redeem with challenge_id, challenge, and solution."
