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

# BytePlus Searchinfinity

> Web and image search and static page fetch from BytePlus (ByteDance) Searchinfinity: Flux and Omnira search engines plus a Fetch API.

![](https://mintcdn.com/webrouter/Wx0iBZkUGX_VAFTN/logo/data-apis/byteplus-search.webp?fit=max\&auto=format\&n=Wx0iBZkUGX_VAFTN\&q=85\&s=a07b67b9c2804ec2a1c32ae266584a2b)

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

Needs&#x20;

`BYTEPLUS_SEARCH_API_KEY`

Endpoints

3

Auth

Key in header

[Vendor docs](https://docs.byteplus.com/en/docs/searchinfinity/Searchinfinity_available_APIs)

&#x20;·&#x20;

[Pricing](https://docs.byteplus.com/en/docs/searchinfinity/Searchinfinity_pricing)

## Setup

| Variable | | What it is |
| - | - | - |
| `BYTEPLUS_SEARCH_API_KEY` | required | a Searchinfinity API key (Searchinfinity console > API Key). Sent as a Bearer token. |

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

## Notes

* Request and response fields are PascalCase (Query, Count, Result.WebResults...).
* Postpaid credits at \$0.006 each: Flux search 1 credit (\$0.006) per request, Omnira search half a credit (\$0.003), Fetch a sixth (\$0.001).
* Errors come back in ResponseMetadata.Error with numeric codes: 700901 invalid key, 700429 QPS exceeded, 10403 service not enabled or free quota exhausted, 10400 bad parameter.
* All three calls are reads over POST.

## Endpoints

POST

Search the web (Flux)

Ranked web results with snippet, \~300-500 character summary and publish time.

[Open](#byteplus-search-web-search)

POST

Search the web or images (Omnira)

Web documents with snippets and images, or image results with their source context.

[Open](#byteplus-search-omnira-search)

POST

Fetch a page's text

Title, publish time and up to 50,000 characters of body text of one URL.

[Open](#byteplus-search-fetch)

### Search the web (Flux)

POST

`/web_search`

`byteplus-search.web_search`

Ranked web results with snippet, \~300-500 character summary and publish time.

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>
        Search query, at most 400 characters or 50 words; one query only.
      </td>
    </tr>

    <tr>
      <td>
        `Count`
      </td>

      <td>
        integer
      </td>

      <td>
        body
      </td>

      <td>
        Results to return, default 10, max 20.
      </td>
    </tr>

    <tr>
      <td>
        `Filter`
      </td>

      <td>
        object
      </td>

      <td>
        body
      </td>

      <td>
        Filters: Sites and BlockHosts (up to five full domains joined by |), Language (EN default, ZH-HANS, ZH-HANT).
      </td>
    </tr>

    <tr>
      <td>
        `TimeRange`
      </td>

      <td>
        string
      </td>

      <td>
        body
      </td>

      <td>
        OneDay, OneWeek, OneMonth, OneYear, or YYYY-MM-DD..YYYY-MM-DD (inclusive). Blank means no limit.
      </td>
    </tr>
  </tbody>
</table>

[Vendor docs](https://docs.byteplus.com/en/docs/searchinfinity/Searchinfinity_API_Reference) · 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), [Crawl4AI Cloud](https://docs.webrouter.net/data-apis/crawl4ai.md#crawl4ai-search), [Crustdata](https://docs.webrouter.net/data-apis/crustdata.md#crustdata-web-search)

> [!NOTE]
>
> * Read over POST. 1 credit (\$0.006) per request; 30-second timeout.

### Search the web or images (Omnira)

POST

`/omnira_search`

`byteplus-search.omnira_search`

Web documents with snippets and images, or image results with their source context.

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>
        Search query. For web search it accepts site:domain and recency:N (days, 1-30) operators, e.g. 'financial news recency:1'.
      </td>
    </tr>

    <tr><td>`SearchType`</td><td>string</td><td>body</td><td>web (default) or image. One of `web`, `image`</td></tr>

    <tr>
      <td>
        `DocCount`
      </td>

      <td>
        integer
      </td>

      <td>
        body
      </td>

      <td>
        Documents or images to return, max 20 (default 10 for web, 5 for image).
      </td>
    </tr>

    <tr>
      <td>
        `MaxSnippetLength`
      </td>

      <td>
        integer
      </td>

      <td>
        body
      </td>

      <td>
        Web only: max snippet length, default 300, max 3000.
      </td>
    </tr>

    <tr>
      <td>
        `MaxImageCountPerDoc`
      </td>

      <td>
        integer
      </td>

      <td>
        body
      </td>

      <td>
        Web only: images per document, default 1, max 10.
      </td>
    </tr>

    <tr>
      <td>
        `ImageFilter`
      </td>

      <td>
        object
      </td>

      <td>
        body
      </td>

      <td>
        Image only: ShortEdgePixelMin, ShortEdgePixelMax, AspectRatioMin, AspectRatioMax (height/width).
      </td>
    </tr>
  </tbody>
</table>

[Vendor docs](https://docs.byteplus.com/en/docs/searchinfinity/Searchinfinity-Search-API-Reference-Omnira) · 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), [Crawl4AI Cloud](https://docs.webrouter.net/data-apis/crawl4ai.md#crawl4ai-search), [Crustdata](https://docs.webrouter.net/data-apis/crustdata.md#crustdata-web-search)

> [!NOTE]
>
> * Read over POST. Half a credit (\$0.003) per request.

### Fetch a page's text

POST

`/fetch`

`byteplus-search.fetch`

Title, publish time and up to 50,000 characters of body text of one URL.

Input

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

      <th>
        Type
      </th>

      <th>
        In
      </th>

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

  <tbody>
    <tr>
      <td>
        `Url`

        required
      </td>

      <td>
        string
      </td>

      <td>
        body
      </td>

      <td>
        One http(s) URL; arrays are not accepted.
      </td>
    </tr>
  </tbody>
</table>

[Vendor docs](https://docs.byteplus.com/en/docs/searchinfinity/Searchinfinity_Fetch) · 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), [cloro](https://docs.webrouter.net/data-apis/cloro.md#cloro-google-product), [Context7](https://docs.webrouter.net/data-apis/context7.md#context7-page-fetch), [Crawl4AI Cloud](https://docs.webrouter.net/data-apis/crawl4ai.md#crawl4ai-scrape)

> [!NOTE]
>
> * Read over POST. A sixth of a credit (\$0.001) per request; 60-second timeout.
> * Static HTML only (no JavaScript). The target page's own status is Result.Data.StatusCode, separate from API errors. Fetches obey robots rules.


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