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

# Exa

> Existing Websets and their items from Exa.

![](https://mintcdn.com/webrouter/gPu3tCeozwRcDBjt/logo/data-apis/exa.webp?fit=max\&auto=format\&n=gPu3tCeozwRcDBjt\&q=85\&s=91c2ff7f94c4b8c0482374170ad80dca)

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

Needs&#x20;

`EXA_API_KEY`

Endpoints

3

Auth

Key in header

[Vendor docs](https://exa.ai/docs/reference/getting-started)

&#x20;·&#x20;

[Pricing](https://exa.ai/pricing)

## Setup

| Variable | | What it is |
| - | - | - |
| `EXA_API_KEY` | required | an Exa API key (dashboard.exa.ai > API Keys) |

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; 'Authorization: Bearer \<key>' also works.
* Websets endpoints live under /v0/; a Webset is built asynchronously, so poll it until idle before reading its items.
* Exa search, contents, answers and Agent runs go through web-router's search, extract, answer and research, not this entry.

## Endpoints

GET

Get a Webset

A Webset by id or externalId, with its status, searches and enrichments.

[Open](#exa-websets-get)

GET

List Websets

Your Websets, with cursor pagination.

[Open](#exa-websets-list)

GET

List a Webset's items

The items a Webset has found, with cursor pagination.

[Open](#exa-websets-items-list)

### Get a Webset

GET

`/v0/websets/{id}`

`exa.websets.get`

A Webset by id or externalId, with its status, searches and enrichments.

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>
        Webset id or externalId.
      </td>
    </tr>

    <tr>
      <td>
        `expand`
      </td>

      <td>
        array
      </td>

      <td>
        query
      </td>

      <td>
        Pass items to include the first 100 items.
      </td>
    </tr>
  </tbody>
</table>

[Vendor docs](https://exa.ai/docs/websets/api/websets/get-a-webset.md) · Same job: [Happenstance](https://docs.webrouter.net/data-apis/happenstance.md#happenstance-groups-get), [Origami](https://docs.webrouter.net/data-apis/origami.md#origami-searches-get)

### List Websets

GET

`/v0/websets`

`exa.websets.list`

Your Websets, with cursor pagination.

Input

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

      <th>
        Type
      </th>

      <th>
        In
      </th>

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

  <tbody>
    <tr>
      <td>
        `cursor`
      </td>

      <td>
        string
      </td>

      <td>
        query
      </td>

      <td>
        Cursor from the previous page.
      </td>
    </tr>

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

      <td>
        integer
      </td>

      <td>
        query
      </td>

      <td>
        Websets per page.
      </td>
    </tr>

    <tr>
      <td>
        `search`
      </td>

      <td>
        string
      </td>

      <td>
        query
      </td>

      <td>
        Filter by id, external id or title.
      </td>
    </tr>
  </tbody>
</table>

[Vendor docs](https://exa.ai/docs/websets/api/websets/list-all-websets.md) · Same job: [Affinity](https://docs.webrouter.net/data-apis/affinity.md#affinity-lists-list), [Attio](https://docs.webrouter.net/data-apis/attio.md#attio-lists-list), [Happenstance](https://docs.webrouter.net/data-apis/happenstance.md#happenstance-groups-list), [Mention](https://docs.webrouter.net/data-apis/mention.md#mention-tags-list), [Origami](https://docs.webrouter.net/data-apis/origami.md#origami-lists-list), [Sprout Social](https://docs.webrouter.net/data-apis/sprout-social.md#sprout-social-metadata-groups)

```python Python theme={null}
router.call_data_api("exa.websets.list")
```

```text MCP theme={null}
call_data_api(endpoint="exa.websets.list")
```

### List a Webset's items

GET

`/v0/websets/{webset}/items`

`exa.websets.items.list`

The items a Webset has found, with cursor pagination.

Input

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

      <th>
        Type
      </th>

      <th>
        In
      </th>

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

  <tbody>
    <tr>
      <td>
        `webset`

        required
      </td>

      <td>
        string
      </td>

      <td>
        path
      </td>

      <td>
        Webset id or externalId.
      </td>
    </tr>

    <tr>
      <td>
        `cursor`
      </td>

      <td>
        string
      </td>

      <td>
        query
      </td>

      <td>
        Cursor from the previous page.
      </td>
    </tr>

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

      <td>
        integer
      </td>

      <td>
        query
      </td>

      <td>
        Items per page.
      </td>
    </tr>

    <tr>
      <td>
        `sourceId`
      </td>

      <td>
        string
      </td>

      <td>
        query
      </td>

      <td>
        Only items from this source id.
      </td>
    </tr>
  </tbody>
</table>

[Vendor docs](https://exa.ai/docs/websets/api/websets/items/list-all-items-for-a-webset.md) · Same job: [Affinity](https://docs.webrouter.net/data-apis/affinity.md#affinity-lists-entries), [Attio](https://docs.webrouter.net/data-apis/attio.md#attio-entries-query), [HubSpot](https://docs.webrouter.net/data-apis/hubspot.md#hubspot-objects-list), [Origami](https://docs.webrouter.net/data-apis/origami.md#origami-rows-list)


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