---
title: Check if purchase allowed
slug: apis/lending/purchasing-a-loan/check-if-purchase-allowed
description: Check if loan purchases are allowed on a specific date using rules for holidays, blackout periods, and maintenance windows with a true/false response.
icon: {"apiMethod":"GET"}
docTags: 
createdAt: 2026-05-14T06:19:51.241Z
---

## Check if purchase allowed

:::BlockQuote
**GET** /selling/api/loans/purchase/purchaseAllowed
:::

Check if loan purchasing is allowed on a specific date based on system configuration and business rules (e.g., fed days, blackout periods, system maintenance).

### Query parameters

| Parameter | Type   | Required | Description                                           |
| --------- | ------ | -------- | ----------------------------------------------------- |
| `date`    | String | Yes      | Date to check in YYYY-MM-DD format (e.g., 2026-08-05) |

### Response

**200 OK** - Returns a boolean

:::BlockQuote
true
:::

- `true` - Purchases are allowed on this date
- `false` - Purchases are not allowed on this date

### Example request

:::BlockQuote
**GET** /selling/api/loans/purchase/purchaseAllowed?date=2026-08-05
:::

### Use cases

- Pre-purchase validation: Verify the date is valid before attempting purchase
- Calendar planning: Check multiple dates to plan purchase schedules
- UI validation: Disable purchase buttons for invalid dates
- Date picker restrictions: Only allow selection of valid purchase dates
