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

# Dappier

> Real-time answers from Dappier AI models (live web search, news, stocks) and semantic article recommendations from licensed publisher data models.

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

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

Needs&#x20;

`DAPPIER_API_KEY`

Endpoints

2

Auth

Key in header

[Vendor docs](https://docs.dappier.com/quickstart)

&#x20;·&#x20;

[Pricing](https://platform.dappier.com/marketplace)

## Setup

| Variable | | What it is |
| - | - | - |
| `DAPPIER_API_KEY` | required | a Dappier API key (platform.dappier.com > Settings > Profile > API Keys). 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

* Models are picked by ID from the Dappier Marketplace: AI models start with am\_ (real-time search), data models with dm\_ (article recommendations). Price depends on the model.
* Both calls are reads over POST.
* Publisher analytics and the ZeroClick-signed variants are in the API but not in this entry.

## Endpoints

POST

Ask a real-time AI model

A written answer from a Dappier AI model, e.g. live web search, news, weather or stock data.

[Open](#dappier-realtime-query)

POST

Get article recommendations

Articles from a publisher data model for a query or a page URL: title, summary, URL, site, date, score.

[Open](#dappier-recommendations-search)

### Ask a real-time AI model

POST

`/app/aimodel/{ai_model_id}`

`dappier.realtime.query`

A written answer from a Dappier AI model, e.g. live web search, news, weather or stock data.

Input

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

      <th>
        Type
      </th>

      <th>
        In
      </th>

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

  <tbody>
    <tr><td>`ai_model_id` required</td><td>string</td><td>path</td><td>AI model ID from the marketplace, starting am\_. am\_01j06ytn18ejftedz6dyhz2b15 is the docs' real-time web search model. Example `am_01j06ytn18ejftedz6dyhz2b15`</td></tr>
    <tr><td>`query` required</td><td>string</td><td>body</td><td>The question. Example `What is the weather in Austin today?`</td></tr>
  </tbody>
</table>

[Vendor docs](https://docs.dappier.com/api-reference/endpoint/real-time-search) · 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("dappier.realtime.query", {'ai_model_id': 'am_01j06ytn18ejftedz6dyhz2b15', 'query': 'What is the weather in Austin today?'})
```

```text MCP theme={null}
call_data_api(endpoint="dappier.realtime.query", params={"ai_model_id": "am_01j06ytn18ejftedz6dyhz2b15", "query": "What is the weather in Austin today?"})
```

> [!NOTE]
>
> * Read over POST. Returns \{message}: prose, not a list of sources.

### Get article recommendations

POST

`/app/v2/search`

`dappier.recommendations.search`

Articles from a publisher data model for a query or a page URL: title, summary, URL, site, date, score.

Input

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

      <th>
        Type
      </th>

      <th>
        In
      </th>

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

  <tbody>
    <tr>
      <td>
        `data_model_id`

        required
      </td>

      <td>
        string
      </td>

      <td>
        query
      </td>

      <td>
        Data model ID from the marketplace, starting dm\_.
      </td>
    </tr>

    <tr>
      <td>
        `query`

        required
      </td>

      <td>
        string
      </td>

      <td>
        body
      </td>

      <td>
        Natural-language query, keyword, or a URL (the page is analysed and used as the query).
      </td>
    </tr>

    <tr>
      <td>
        `similarity_top_k`
      </td>

      <td>
        integer
      </td>

      <td>
        body
      </td>

      <td>
        Articles to return, default 9.
      </td>
    </tr>

    <tr>
      <td>
        `ref`
      </td>

      <td>
        string
      </td>

      <td>
        body
      </td>

      <td>
        Domain where the recommendations will be shown, e.g. dappier.com.
      </td>
    </tr>

    <tr>
      <td>
        `num_articles_ref`
      </td>

      <td>
        integer
      </td>

      <td>
        body
      </td>

      <td>
        Minimum articles from the ref domain, default 0.
      </td>
    </tr>

    <tr><td>`search_algorithm`</td><td>string</td><td>body</td><td>semantic (default), most\_recent, most\_recent\_semantic, or trending (last 24 hours). One of `most_recent`, `semantic`, `most_recent_semantic`, `trending`</td></tr>

    <tr>
      <td>
        `page`
      </td>

      <td>
        integer
      </td>

      <td>
        body
      </td>

      <td>
        Page number, default 1.
      </td>
    </tr>

    <tr>
      <td>
        `num_results`
      </td>

      <td>
        integer
      </td>

      <td>
        body
      </td>

      <td>
        Results per page, default 10.
      </td>
    </tr>
  </tbody>
</table>

[Vendor docs](https://docs.dappier.com/api-reference/endpoint/ai-recommendations) · 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)

> [!NOTE]
>
> * Read over POST. source\_url is a tracking link; url is the article itself.


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