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

# TinyFish

> Hosted browser-agent automation and deep research from TinyFish.

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

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

Needs&#x20;

`TINYFISH_API_KEY`

Endpoints

4

Auth

Key in header

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

&#x20;·&#x20;

[Pricing](https://www.tinyfish.ai/pricing)

## Setup

| Variable | | What it is |
| - | - | - |
| `TINYFISH_API_KEY` | required | a TinyFish API key (docs.tinyfish.ai > API Keys page) |

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

## Notes

* Auth is the X-API-Key header.
* This entry covers the agent host (agent.tinyfish.ai). TinyFish's Search and Fetch APIs live on separate hosts (api.search.tinyfish.ai, api.fetch.tinyfish.ai), which a single base\_url cannot reach, so they are not in this entry.
* Automation runs can use vault credentials and browser profiles; those options are not exposed here.
* Monitors, datasets, browser sessions and vault endpoints are not in this entry.

## Endpoints

GET

Get an automation run

Status, result and optional screenshots of one run.

[Open](#tinyfish-runs-get)

POST

Start a research run

Search, evaluate sources and write a cited report, asynchronously.

[Open](#tinyfish-research-start)

GET

Get a research run

A saved research run with its plan, evidence and report.

[Open](#tinyfish-research-get)

GET

Get the wallet

Balance, auto-reload settings and rates.

[Open](#tinyfish-wallet-get)

### Get an automation run

GET

`/v1/runs/{id}`

`tinyfish.runs.get`

Status, result and optional screenshots of one run.

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>
        Run id.
      </td>
    </tr>

    <tr><td>`screenshots`</td><td>string</td><td>query</td><td>Screenshot delivery; default url. One of `base64`, `url`, `none`</td></tr>
    <tr><td>`html`</td><td>string</td><td>query</td><td>HTML snapshot delivery; default url. One of `url`, `none`</td></tr>
  </tbody>
</table>

[Vendor docs](https://docs.tinyfish.ai/api-reference/runs/get-run-by-id.md) · 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)

### Start a research run

POST

`/v1/automation/run-research-async`

`tinyfish.research.start`

Search, evaluate sources and write a cited report, asynchronously.

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. Example `Compare long-duration energy storage approaches`</td></tr>
    <tr><td>`mode`</td><td>string</td><td>body</td><td>Research depth; deep is the default. One of `deep`, `max`</td></tr>

    <tr>
      <td>
        `output_language`
      </td>

      <td>
        string
      </td>

      <td>
        body
      </td>

      <td>
        BCP 47 language tag for the report.
      </td>
    </tr>

    <tr>
      <td>
        `domain_filter`
      </td>

      <td>
        object
      </td>

      <td>
        body
      </td>

      <td>
        Domain preferences, each list at most 150 entries.
      </td>
    </tr>

    <tr>
      <td>
        `prior_run_id`
      </td>

      <td>
        string
      </td>

      <td>
        body
      </td>

      <td>
        Seed from a completed run's report and evidence.
      </td>
    </tr>

    <tr>
      <td>
        `session_id`
      </td>

      <td>
        string
      </td>

      <td>
        body
      </td>

      <td>
        Continue a research session; not with prior\_run\_id.
      </td>
    </tr>
  </tbody>
</table>

[Vendor docs](https://docs.tinyfish.ai/api-reference/start-research-asynchronously.md) · Same job: [Clado](https://docs.webrouter.net/data-apis/clado.md#clado-deep-research-start), [Extruct AI](https://docs.webrouter.net/data-apis/extruct.md#extruct-research-create), [Happenstance](https://docs.webrouter.net/data-apis/happenstance.md#happenstance-research-start), [Seltz](https://docs.webrouter.net/data-apis/seltz.md#seltz-agent-start), [Tako](https://docs.webrouter.net/data-apis/tako.md#tako-agent-answer-start)

```python Python theme={null}
router.call_data_api("tinyfish.research.start", {'query': 'Compare long-duration energy storage approaches'})
```

```text MCP theme={null}
call_data_api(endpoint="tinyfish.research.start", params={"query": "Compare long-duration energy storage approaches"})
```

> [!NOTE]
>
> * Starts a billed job: it only produces data and changes nothing else in your account.
> * Async: poll research.get.

### Get a research run

GET

`/v1/research-run/{research_run_id}`

`tinyfish.research.get`

A saved research run with its plan, evidence and report.

Input

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

      <th>
        Type
      </th>

      <th>
        In
      </th>

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

  <tbody>
    <tr>
      <td>
        `research_run_id`

        required
      </td>

      <td>
        string
      </td>

      <td>
        path
      </td>

      <td>
        Research run id.
      </td>
    </tr>
  </tbody>
</table>

[Vendor docs](https://docs.tinyfish.ai/api-reference/get-research-run-by-id.md) · Same job: [Clado](https://docs.webrouter.net/data-apis/clado.md#clado-deep-research-status), [Extruct AI](https://docs.webrouter.net/data-apis/extruct.md#extruct-research-get)

### Get the wallet

GET

`/v1/wallet`

`tinyfish.wallet.get`

Balance, auto-reload settings and rates.

Input

No inputs.

[Vendor docs](https://docs.tinyfish.ai/api-reference/wallet/get-wallet.md)

```python Python theme={null}
router.call_data_api("tinyfish.wallet.get")
```

```text MCP theme={null}
call_data_api(endpoint="tinyfish.wallet.get")
```


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