> ## 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.

# Octen

> Real-time news and broad search plus URL content extraction from Octen; web search is served by search().

![](https://mintcdn.com/webrouter/JBFYvcRI1PVnd4YX/logo/data-apis/octen.webp?fit=max\&auto=format\&n=JBFYvcRI1PVnd4YX\&q=85\&s=9216de3937431d0fbf2b9a0e5c3d560e)

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

Needs&#x20;

`OCTEN_API_KEY`

Endpoints

3

Auth

Key in header

[Vendor docs](https://docs.octen.ai/)

&#x20;·&#x20;

[Pricing](https://docs.octen.ai/overview/pricing.md)

## Setup

| Variable | | What it is |
| - | - | - |
| `OCTEN_API_KEY` | required | an Octen API key (octen.ai/platform/api-keys) |

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

## Notes

* Auth is 'Authorization: Bearer \<key>'; the x-api-key header also works. The API needs a payment method on the account.
* Rate limits are QPS per plan.
* Octen also offers image and video search, answer, agent, deep research, embeddings and generation endpoints, not in this entry.
* Web search (POST /search) is served by search(provider="octen"), so it is not listed here.

## Endpoints

POST

Search news

Live news search; related articles can be grouped into subjects.

[Open](#octen-search-news)

POST

Search with automatic sub-queries

Splits a question into sub-queries, searches them concurrently and groups results by sub-query.

[Open](#octen-search-broad)

POST

Extract clean content from URLs

Clean markdown or text for up to 20 URLs, optionally focused by a query.

[Open](#octen-extract-urls)

### Search news

POST

`/news-search`

`octen.search.news`

Live news search; related articles can be grouped into subjects.

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 search query. Example `semiconductor export controls`</td></tr>

    <tr>
      <td>
        `count`
      </td>

      <td>
        integer
      </td>

      <td>
        body
      </td>

      <td>
        Number of results to return.
      </td>
    </tr>

    <tr>
      <td>
        `include_domains`
      </td>

      <td>
        array
      </td>

      <td>
        body
      </td>

      <td>
        Domains to include; the site: operator adds to this list.
      </td>
    </tr>

    <tr>
      <td>
        `exclude_domains`
      </td>

      <td>
        array
      </td>

      <td>
        body
      </td>

      <td>
        Domains to exclude; the -site: operator adds to this list.
      </td>
    </tr>

    <tr><td>`time_basis`</td><td>string</td><td>body</td><td>Which time field time filters use. One of `auto`, `published`, `crawled`</td></tr>
    <tr><td>`time_range`</td><td>string</td><td>body</td><td>Relative time window back from now; exclusive with start\_time/end\_time. One of `day`, `week`, `month`, `year`, `d`, `w`, `m`, `y`</td></tr>
    <tr><td>`start_time`</td><td>string</td><td>body</td><td>Start time, ISO 8601. Example `2025-01-01T00:00:00Z`</td></tr>

    <tr>
      <td>
        `end_time`
      </td>

      <td>
        string
      </td>

      <td>
        body
      </td>

      <td>
        End time, ISO 8601.
      </td>
    </tr>

    <tr><td>`language`</td><td>array</td><td>body</td><td>ISO 639-1 language codes to restrict to. Example `["en"]`</td></tr>

    <tr>
      <td>
        `highlight`
      </td>

      <td>
        object
      </td>

      <td>
        body
      </td>

      <td>
        Highlight extraction options, e.g. \{"enable": true, "max\_tokens": 300}.
      </td>
    </tr>

    <tr>
      <td>
        `full_content`
      </td>

      <td>
        object
      </td>

      <td>
        body
      </td>

      <td>
        Full-content options for each result page.
      </td>
    </tr>

    <tr>
      <td>
        `subjects`
      </td>

      <td>
        object
      </td>

      <td>
        body
      </td>

      <td>
        Subject grouping options, e.g. \{"enable": true, "count": 3}.
      </td>
    </tr>
  </tbody>
</table>

[Vendor docs](https://docs.octen.ai/api-reference/news-search.md) · Same job: [akta.pro](https://docs.webrouter.net/data-apis/akta.md#akta-news-search), [Alpha Vantage](https://docs.webrouter.net/data-apis/alphavantage.md#alphavantage-news), [Andi AI Search](https://docs.webrouter.net/data-apis/andi.md#andi-news-topics), [AnyAPI](https://docs.webrouter.net/data-apis/anyapi.md#anyapi-google-news), [Benzinga](https://docs.webrouter.net/data-apis/benzinga.md#benzinga-news), [Context.dev](https://docs.webrouter.net/data-apis/branddev.md#branddev-news-search)

```python Python theme={null}
router.call_data_api("octen.search.news", {'query': 'semiconductor export controls', 'start_time': '2025-01-01T00:00:00Z', 'language': ['en']})
```

```text MCP theme={null}
call_data_api(endpoint="octen.search.news", params={"query": "semiconductor export controls", "start_time": "2025-01-01T00:00:00Z", "language": ["en"]})
```

> [!NOTE]
>
> * A read over POST: it runs a search and changes nothing in your account.

### Search with automatic sub-queries

POST

`/broad-search`

`octen.search.broad`

Splits a question into sub-queries, searches them concurrently and groups results by sub-query.

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 original query. Example `state of open-source LLM inference engines`</td></tr>

    <tr>
      <td>
        `max_queries`
      </td>

      <td>
        integer
      </td>

      <td>
        body
      </td>

      <td>
        Upper bound on sub-queries generated.
      </td>
    </tr>

    <tr>
      <td>
        `search_options`
      </td>

      <td>
        object
      </td>

      <td>
        body
      </td>

      <td>
        Options applied to each sub-query, with the same parameters as Web Search.
      </td>
    </tr>
  </tbody>
</table>

[Vendor docs](https://docs.octen.ai/api-reference/broad-search.md) · Same job: [Andi AI Search](https://docs.webrouter.net/data-apis/andi.md#andi-search), [Apify](https://docs.webrouter.net/data-apis/apify.md#apify-store-search), [Context.dev](https://docs.webrouter.net/data-apis/branddev.md#branddev-web-search), [Brave Search](https://docs.webrouter.net/data-apis/bravesearch.md#bravesearch-videos-search), [BytePlus Searchinfinity](https://docs.webrouter.net/data-apis/byteplus-search.md#byteplus-search-web-search), [Crawl4AI Cloud](https://docs.webrouter.net/data-apis/crawl4ai.md#crawl4ai-search)

```python Python theme={null}
router.call_data_api("octen.search.broad", {'query': 'state of open-source LLM inference engines'})
```

```text MCP theme={null}
call_data_api(endpoint="octen.search.broad", params={"query": "state of open-source LLM inference engines"})
```

> [!NOTE]
>
> * A read over POST: it runs searches and changes nothing in your account.

### Extract clean content from URLs

POST

`/extract`

`octen.extract.urls`

Clean markdown or text for up to 20 URLs, optionally focused by a query.

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>URLs to extract, at most 20; failed URLs are not billed. Example `["https://octen.ai/"]`</td></tr>
    <tr><td>`mode`</td><td>string</td><td>body</td><td>standard is fastest, advanced succeeds more on hard pages, auto picks per URL. One of `standard`, `advanced`, `auto`</td></tr>

    <tr>
      <td>
        `query`
      </td>

      <td>
        string
      </td>

      <td>
        body
      </td>

      <td>
        Intent keywords; returns query-relevant highlights instead of the whole page.
      </td>
    </tr>

    <tr>
      <td>
        `max_age_seconds`
      </td>

      <td>
        integer
      </td>

      <td>
        body
      </td>

      <td>
        Re-fetch cached content older than this many seconds.
      </td>
    </tr>

    <tr><td>`format`</td><td>string</td><td>body</td><td>Content format. One of `markdown`, `text`</td></tr>

    <tr>
      <td>
        `timeout`
      </td>

      <td>
        integer
      </td>

      <td>
        body
      </td>

      <td>
        Per-URL timeout in seconds.
      </td>
    </tr>

    <tr>
      <td>
        `include_images`
      </td>

      <td>
        boolean
      </td>

      <td>
        body
      </td>

      <td>
        Return image URLs.
      </td>
    </tr>

    <tr>
      <td>
        `include_videos`
      </td>

      <td>
        boolean
      </td>

      <td>
        body
      </td>

      <td>
        Return video URLs.
      </td>
    </tr>

    <tr>
      <td>
        `include_audio`
      </td>

      <td>
        boolean
      </td>

      <td>
        body
      </td>

      <td>
        Return audio URLs.
      </td>
    </tr>
  </tbody>
</table>

[Vendor docs](https://docs.octen.ai/api-reference/extract.md) · 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("octen.extract.urls", {'urls': ['https://octen.ai/']})
```

```text MCP theme={null}
call_data_api(endpoint="octen.extract.urls", params={"urls": ["https://octen.ai/"]})
```

> [!NOTE]
>
> * A read over POST: it fetches pages and changes nothing in your account.


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