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

# API Migrations

> Important notices about API endpoint changes and migrations

## Search Endpoint Migration

<Warning>
  **Action Required** — The `/v1/deepsearch` endpoint is being renamed to `/v1/search`. The old endpoint will be deprecated on **April 30th, 2025**.
</Warning>

We are migrating our search endpoint from `/v1/deepsearch` to `/v1/search` to better reflect its capabilities and simplify our API surface.

### What's Changing

| Current Endpoint      | New Endpoint      | Deprecation Date |
| --------------------- | ----------------- | ---------------- |
| `POST /v1/deepsearch` | `POST /v1/search` | April 30th, 2025 |

### Timeline

* **Now**: Both `/v1/deepsearch` and `/v1/search` are fully operational and identical
* **Until April 30th, 2025**: Both endpoints function identically
* **After April 30th, 2025**: The `/v1/deepsearch` endpoint will be removed

### How to Update

Simply replace `deepsearch` with `search` in your API calls:

**Before:**

```bash theme={null}
curl -X POST https://api.valyu.ai/v1/deepsearch \
  -H "x-api-key: YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"query": "your search query"}'
```

**After:**

```bash theme={null}
curl -X POST https://api.valyu.ai/v1/search \
  -H "x-api-key: YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"query": "your search query"}'
```

### SDK Updates

Our official SDKs handle this automatically. Ensure you're using the latest versions:

* **Python SDK**: `pip install --upgrade valyu`
* **TypeScript SDK**: `npm update valyu-js`
* **Rust SDK**: `cargo update -p valyu`

<Note>
  The request and response formats remain unchanged. This is purely an endpoint rename.
</Note>

***

## API Domain Change (Completed)

<Note>
  This migration is complete. The `api.valyu.network` endpoint was deprecated on January 1st, 2026. All requests should use `api.valyu.ai`.
</Note>

We migrated our API endpoint from `api.valyu.network` to `api.valyu.ai`.

### Current Status

* **Active endpoint**: `https://api.valyu.ai/v1`
* **Deprecated**: `api.valyu.network` is no longer supported

### Example

```bash theme={null}
curl -X POST https://api.valyu.ai/v1/search \
  -H "x-api-key: YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"query": "your search query"}'
```

### SDK Updates

If you're using our official SDKs, make sure you're using the latest version which already points to `api.valyu.ai`:

* [Python SDK](/sdk/python-sdk)
* [TypeScript SDK](/sdk/typescript-sdk)

### Questions?

If you have any questions or concerns about these migrations, please contact us at [contact@valyu.ai](mailto:contact@valyu.ai) or join our [Discord community](https://discord.gg/umtmSsppRY).
