# Quote an application

Source: https://joinopenfile.com/docs/api/create-quote
Index: https://joinopenfile.com/llms.txt

`POST /api/v1/quotes`

Every fee for a set of choices, with the government's marked. Saves nothing.

In the MCP server this is `quote_application`.

## Example

```bash
curl -X POST https://api.joinopenfile.com/v1/quotes \
  -H "content-type: application/json" \
  -d '{
  "classes": 1
}'
```

## Body

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| `classes` | integer | Yes | How many classes. |
| `free_form_classes` | integer | No | How many of them use wording outside the class list, which costs a USPTO surcharge. |

## Response

`200`

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| `object` | `quote` | No | Always `quote`. |
| `currency` | string | No | Always `usd`. |
| `classes` | integer | No | Classes priced. |
| `lines` | array of object | No | Every fee, one line each. |
| `total` | integer | No | Sum of `lines`, in dollars. |

## Errors

| Status | When |
| --- | --- |
| `400` | Invalid input. |

The body is the [error shape](https://joinopenfile.com/docs/errors.md).
