---
title: "A signed price for one offer on one listing, for the account that owns it"
method: POST
path: "/api/agent/quotes"
---

# A signed price for one offer on one listing, for the account that owns it

`POST /api/agent/quotes`

## Request

- Base URL: `https://agentsindex.ai`
- URL: `https://agentsindex.ai/api/agent/quotes`
- Auth: one of:
  - API key in cookie `__Secure-better-auth.session_token`
  - HTTP bearer

Send the owner's session or agent key. The answer is a quote_id, the price in cents and when it expires (30 minutes). Nothing is reserved or charged; POST /api/agent/orders turns it into an order. Refusals: 401 sign_in_required, 403 not_owner (with the claim page), 404 no_listing, 400 not_offered, 409 not_accepted, not_live, already_bought, category_full, no_website, 429 rate_limited. Each carries a fix.

## Request body

- object
  - `offer` 'boost', required
  - `listing` string, required: The listing id or slug.

## Response `201`

The quote.

- AgentQuote
  - `quote_id` string
  - `offer` string
  - `listing` object
    - `id` string
    - `slug` string
  - `price_cents` integer
  - `currency` 'usd'
  - `term` string
  - `expires_at` string, date-time

## Other responses

- `401`: sign_in_required
- `403`: not_owner
- `409`: The listing cannot have the offer now; the fix says why.

---

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