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

# Valyu

> Search API for agents over the web, SEC filings, market data, economics, papers, trials and patents, plus async DeepResearch reports.

![](https://mintcdn.com/webrouter/8QP9EZc8V07Kl-0I/logo/data-apis/valyu.webp?fit=max\&auto=format\&n=8QP9EZc8V07Kl-0I\&q=85\&s=f156971307830c235f7e6583497d4e9b)

[Web Catalog · Search](https://docs.webrouter.net/data-apis.md?category=search)

Needs&#x20;

`VALYU_API_KEY`

Endpoints

8

Auth

Key in header

[Vendor docs](https://docs.valyu.ai/api-reference/overview)

&#x20;·&#x20;

[Pricing](https://docs.valyu.ai/pricing)

## Setup

| Variable | | What it is |
| - | - | - |
| `VALYU_API_KEY` | required | a Valyu API key (platform.valyu.ai) |

Put them in your environment or `.env`; [Data APIs](https://docs.webrouter.net/vendors.md) covers the other ways.

## Notes

* The header is x-api-key, not Authorization: Bearer.
* Pay per use from a credit balance; paid plans unlock specialist sources (SEC filings, trials, patents); a 403 can mean a plan too low for a dataset.
* Async patterns: contents with async true returns a job\_id (poll valyu.contents.job); DeepResearch returns a task id (poll valyu.research.status).
* The streaming Answer endpoint (POST /v1/answer, server-sent events) is left out.
* Web search (POST /v1/search) is served by search(provider="valyu"), so it is not listed here.

## Endpoints

POST

Extract content from URLs

Clean text, a summary or schema-shaped JSON from up to 50 URLs.

[Open](#valyu-contents-extract)

GET

Poll an async extraction job

Status and results of a job started by valyu.contents.extract with async true.

[Open](#valyu-contents-job)

POST

Start a DeepResearch task

Starts an asynchronous research agent that returns a cited report. Poll with valyu.research.status.

[Open](#valyu-research-create)

GET

Get a DeepResearch task's status and result

Status, and when finished the report, sources and cost of a task from valyu.research.create.

[Open](#valyu-research-status)

GET

List DeepResearch tasks

Your recent research tasks.

[Open](#valyu-research-list)

GET

List data sources

Every dataset Valyu can search, with id, category, description and price per 1,000 results.

[Open](#valyu-datasources-list)

GET

Find data sources by description

Datasets matching a plain-language description of the data you need.

[Open](#valyu-datasources-search)

GET

List data source categories

Datasource categories with dataset counts.

[Open](#valyu-datasources-categories)

### Extract content from URLs

POST

`/v1/contents`

`valyu.contents.extract`

Clean text, a summary or schema-shaped JSON from up to 50 URLs.

Input

<table>
  <thead>
    <tr>
      <th>
        Name
      </th>

      <th>
        Type
      </th>

      <th>
        In
      </th>

      <th>
        Notes
      </th>
    </tr>
  </thead>

  <tbody>
    <tr><td>`urls` required</td><td>array</td><td>body</td><td>HTTP(S) URLs to extract. Up to 10 synchronously, up to 50 with async true. Example `["https://example.com"]`</td></tr>

    <tr>
      <td>
        `response_length`
      </td>

      <td>
        string
      </td>

      <td>
        body
      </td>

      <td>
        Maximum characters per URL: short (default), medium, large, max.
      </td>
    </tr>

    <tr>
      <td>
        `summary`
      </td>

      <td>
        object
      </td>

      <td>
        body
      </td>

      <td>
        Set for an AI summary or a JSON schema extraction; raises the price.
      </td>
    </tr>

    <tr>
      <td>
        `extract_effort`
      </td>

      <td>
        string
      </td>

      <td>
        body
      </td>

      <td>
        auto (default) or high for pages that need JavaScript rendering.
      </td>
    </tr>

    <tr>
      <td>
        `screenshot`
      </td>

      <td>
        boolean
      </td>

      <td>
        body
      </td>

      <td>
        Also capture a screenshot per page.
      </td>
    </tr>

    <tr>
      <td>
        `max_age`
      </td>

      <td>
        integer
      </td>

      <td>
        body
      </td>

      <td>
        Oldest cached copy accepted, in seconds, 0 to 2592000; 0 forces a live crawl.
      </td>
    </tr>

    <tr>
      <td>
        `async`
      </td>

      <td>
        boolean
      </td>

      <td>
        body
      </td>

      <td>
        Run in the background and return a job\_id; required above 10 URLs.
      </td>
    </tr>
  </tbody>
</table>

[Vendor docs](https://docs.valyu.ai/api-reference/endpoint/contents) · Same job: [Andi AI Search](https://docs.webrouter.net/data-apis/andi.md#andi-fetch), [Context.dev](https://docs.webrouter.net/data-apis/branddev.md#branddev-web-scrape), [Brave Search](https://docs.webrouter.net/data-apis/bravesearch.md#bravesearch-llm-context), [BytePlus Searchinfinity](https://docs.webrouter.net/data-apis/byteplus-search.md#byteplus-search-fetch), [cloro](https://docs.webrouter.net/data-apis/cloro.md#cloro-google-product), [Context7](https://docs.webrouter.net/data-apis/context7.md#context7-page-fetch)

```python Python theme={null}
router.call_data_api("valyu.contents.extract", {'urls': ['https://example.com']})
```

```text MCP theme={null}
call_data_api(endpoint="valyu.contents.extract", params={"urls": ["https://example.com"]})
```

> [!NOTE]
>
> * A read over POST, billed per URL; with async true it starts a billed job instead of answering at once.
> * Asynchronous when async is true: the response carries a job\_id. Poll valyu.contents.job with it.
> * 0.2 credits per extracted URL, 0.6 with summary; failed URLs are free. Inspect each result: a 206 means some URLs failed.

### Poll an async extraction job

GET

`/v1/contents/jobs/{job_id}`

`valyu.contents.job`

Status and results of a job started by valyu.contents.extract with async true.

Input

<table>
  <thead>
    <tr>
      <th>
        Name
      </th>

      <th>
        Type
      </th>

      <th>
        In
      </th>

      <th>
        Notes
      </th>
    </tr>
  </thead>

  <tbody>
    <tr>
      <td>
        `job_id`

        required
      </td>

      <td>
        string
      </td>

      <td>
        path
      </td>

      <td>
        The job\_id returned by the async extraction request.
      </td>
    </tr>
  </tbody>
</table>

[Vendor docs](https://docs.valyu.ai/api-reference/endpoint/contents-job) · Same job: [AI Ark](https://docs.webrouter.net/data-apis/aiark.md#aiark-people-find-emails-status), [AnyAPI](https://docs.webrouter.net/data-apis/anyapi.md#anyapi-requests-get), [Anymail Finder](https://docs.webrouter.net/data-apis/anymailfinder.md#anymailfinder-bulk-get), [Apify](https://docs.webrouter.net/data-apis/apify.md#apify-actors-list), [Aviato](https://docs.webrouter.net/data-apis/aviato.md#aviato-marketmap-get), [BounceBan](https://docs.webrouter.net/data-apis/bounceban.md#bounceban-single-status)

> [!NOTE]
>
> * Polls the job started by valyu.contents.extract. Only the key that created a job can read it.

### Start a DeepResearch task

POST

`/v1/deepresearch/tasks`

`valyu.research.create`

Starts an asynchronous research agent that returns a cited report. Poll with valyu.research.status.

Input

<table>
  <thead>
    <tr>
      <th>
        Name
      </th>

      <th>
        Type
      </th>

      <th>
        In
      </th>

      <th>
        Notes
      </th>
    </tr>
  </thead>

  <tbody>
    <tr>
      <td>
        `query`

        required
      </td>

      <td>
        string
      </td>

      <td>
        body
      </td>

      <td>
        The research question or brief, up to 25,000 characters.
      </td>
    </tr>

    <tr><td>`mode`</td><td>string</td><td>body</td><td>Depth and price: instant (8 credits), fast (25), standard (100, default), heavy (500) or max (2,500). One of `instant`, `fast`, `standard`, `heavy`, `max`</td></tr>

    <tr>
      <td>
        `research_strategy`
      </td>

      <td>
        string
      </td>

      <td>
        body
      </td>

      <td>
        Natural-language guidance for how to search.
      </td>
    </tr>

    <tr>
      <td>
        `report_format`
      </td>

      <td>
        string
      </td>

      <td>
        body
      </td>

      <td>
        Natural-language output format instructions.
      </td>
    </tr>

    <tr>
      <td>
        `urls`
      </td>

      <td>
        array
      </td>

      <td>
        body
      </td>

      <td>
        URLs to include as context, max 10.
      </td>
    </tr>

    <tr>
      <td>
        `output_formats`
      </td>

      <td>
        array
      </td>

      <td>
        body
      </td>

      <td>
        markdown (default), pdf and others.
      </td>
    </tr>
  </tbody>
</table>

[Vendor docs](https://docs.valyu.ai/api-reference/endpoint/deepresearch-create)

> [!NOTE]
>
> * Starts a billed job that only produces data, so it is kind read.
> * Asynchronous: the response carries a task id. Poll valyu.research.status with that id; instant mode finishes in under 30 seconds, heavier modes take minutes.
> * Billed a fixed number of credits per task by mode.

### Get a DeepResearch task's status and result

GET

`/v1/deepresearch/tasks/{id}/status`

`valyu.research.status`

Status, and when finished the report, sources and cost of a task from valyu.research.create.

Input

<table>
  <thead>
    <tr>
      <th>
        Name
      </th>

      <th>
        Type
      </th>

      <th>
        In
      </th>

      <th>
        Notes
      </th>
    </tr>
  </thead>

  <tbody>
    <tr>
      <td>
        `id`

        required
      </td>

      <td>
        string
      </td>

      <td>
        path
      </td>

      <td>
        Task id returned by valyu.research.create.
      </td>
    </tr>
  </tbody>
</table>

[Vendor docs](https://docs.valyu.ai/api-reference/endpoint/deepresearch-status) · Same job: [AI Ark](https://docs.webrouter.net/data-apis/aiark.md#aiark-people-find-emails-status), [AnyAPI](https://docs.webrouter.net/data-apis/anyapi.md#anyapi-requests-get), [Anymail Finder](https://docs.webrouter.net/data-apis/anymailfinder.md#anymailfinder-bulk-get), [Apify](https://docs.webrouter.net/data-apis/apify.md#apify-actors-list), [Aviato](https://docs.webrouter.net/data-apis/aviato.md#aviato-marketmap-get), [BounceBan](https://docs.webrouter.net/data-apis/bounceban.md#bounceban-single-status)

> [!NOTE]
>
> * Polls the task started by valyu.research.create.

### List DeepResearch tasks

GET

`/v1/deepresearch/list`

`valyu.research.list`

Your recent research tasks.

Input

<table>
  <thead>
    <tr>
      <th>
        Name
      </th>

      <th>
        Type
      </th>

      <th>
        In
      </th>

      <th>
        Notes
      </th>
    </tr>
  </thead>

  <tbody>
    <tr>
      <td>
        `limit`
      </td>

      <td>
        integer
      </td>

      <td>
        query
      </td>

      <td>
        Maximum tasks to return.
      </td>
    </tr>
  </tbody>
</table>

[Vendor docs](https://docs.valyu.ai/api-reference/endpoint/deepresearch-list)

```python Python theme={null}
router.call_data_api("valyu.research.list")
```

```text MCP theme={null}
call_data_api(endpoint="valyu.research.list")
```

### List data sources

GET

`/v1/datasources`

`valyu.datasources.list`

Every dataset Valyu can search, with id, category, description and price per 1,000 results.

Input

<table>
  <thead>
    <tr>
      <th>
        Name
      </th>

      <th>
        Type
      </th>

      <th>
        In
      </th>

      <th>
        Notes
      </th>
    </tr>
  </thead>

  <tbody>
    <tr>
      <td>
        `category`
      </td>

      <td>
        string
      </td>

      <td>
        query
      </td>

      <td>
        Filter by category; see valyu.datasources.categories.
      </td>
    </tr>
  </tbody>
</table>

[Vendor docs](https://docs.valyu.ai/api-reference/endpoint/datasources-list)

```python Python theme={null}
router.call_data_api("valyu.datasources.list")
```

```text MCP theme={null}
call_data_api(endpoint="valyu.datasources.list")
```

### Find data sources by description

GET

`/v1/datasources/search`

`valyu.datasources.search`

Datasets matching a plain-language description of the data you need.

Input

<table>
  <thead>
    <tr>
      <th>
        Name
      </th>

      <th>
        Type
      </th>

      <th>
        In
      </th>

      <th>
        Notes
      </th>
    </tr>
  </thead>

  <tbody>
    <tr><td>`q` required</td><td>string</td><td>query</td><td>What data you want. Example `quarterly earnings and market data`</td></tr>

    <tr>
      <td>
        `limit`
      </td>

      <td>
        integer
      </td>

      <td>
        query
      </td>

      <td>
        Maximum datasets, capped at 100.
      </td>
    </tr>
  </tbody>
</table>

[Vendor docs](https://docs.valyu.ai/api-reference/endpoint/datasources-search)

```python Python theme={null}
router.call_data_api("valyu.datasources.search", {'q': 'quarterly earnings and market data'})
```

```text MCP theme={null}
call_data_api(endpoint="valyu.datasources.search", params={"q": "quarterly earnings and market data"})
```

### List data source categories

GET

`/v1/datasources/categories`

`valyu.datasources.categories`

Datasource categories with dataset counts.

Input

No inputs.

[Vendor docs](https://docs.valyu.ai/api-reference/endpoint/datasources-categories)

```python Python theme={null}
router.call_data_api("valyu.datasources.categories")
```

```text MCP theme={null}
call_data_api(endpoint="valyu.datasources.categories")
```


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.