> ## Documentation Index
> Fetch the complete documentation index at: https://docs.govly.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Filter Opportunities

This endpoint filters searchable opportunities. By default, it returns a maximum of 10,000 results in pages of 500.

## Request Body

<ParamField body="dateRangeParam" type="string">
  Can be one of: "posted\_at" (default), "modified\_at", or "respond\_by"
</ParamField>

<ParamField body="dateRange" type="string[]">
  An array of ISO 8601 formatted strings: \[startTime, endTime]
</ParamField>

<ParamField body="contractVehicleIds" type="string[]">
  List of contract vehicle IDs to filter by
</ParamField>

<ParamField body="page" type="integer">
  Page number for pagination (default: 1)
</ParamField>

<ParamField body="per" type="integer">
  Results per page
</ParamField>

<ParamField body="sort" type="string">
  Can be one of: "posted" (default), "modified", or "expires"
</ParamField>

<ParamField body="sortDirection" type="string">
  Can be one of: "asc" or "desc" (default)
</ParamField>

<Warning>
  This endpoint is part of the legacy v3 API and will be deprecated in the future. Please migrate to the new enterprise API endpoints.
</Warning>
