> ## Documentation Index
> Fetch the complete documentation index at: https://vastai-80aa3a82-auto-cli-sdk-preview-pr-398.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# VastAI.search_offers_new

Search for GPU offers using the new /search/asks/ endpoint.

## Signature

```python theme={null}
VastAI.search_offers_new(
    query: Any = None,
    type: str = 'on-demand',
    order: str = 'score-',
    limit: Optional[int] = None,
    storage: float = 5.0,
    no_default: bool = False
) -> list
```

## Parameters

<ParamField path="query" type="Any" />

<ParamField path="type" type="str" default="on-demand" />

<ParamField path="order" type="str" default="score-" />

<ParamField path="limit" type="Optional[int]" />

<ParamField path="storage" type="float" default="5.0" />

<ParamField path="no_default" type="bool" />

## Returns

`list`

## Example

```python theme={null}
from vastai import VastAI

client = VastAI(api_key="YOUR_API_KEY")
result = client.search_offers_new()
print(result)
```
