# Multi-source Jobs API

## Overview

This section covers basic information about Multi-source Jobs API.\
To learn more about the API and its endpoints, follow the links below:

<table data-card-size="large" data-view="cards"><thead><tr><th></th><th data-hidden data-card-target data-type="content-ref"></th></tr></thead><tbody><tr><td>Multi-source Jobs API endpoints</td><td><a href="broken-reference">Broken link</a></td></tr><tr><td>Request types</td><td><a href="broken-reference">Broken link</a></td></tr><tr><td>Rate limits</td><td><a href="broken-reference">Broken link</a></td></tr><tr><td>Credits</td><td><a href="broken-reference">Broken link</a></td></tr></tbody></table>

## Multi-source Jobs endpoints

{% hint style="info" %}
Our API is a data retrieval tool. The endpoints do not support analytic features.
{% endhint %}

Multi-source Jobs API features **two search** and **one collect** endpoints for searching and collecting relevant Multi-source Jobs data.

| Request type | Endpoint                                        | Function                                                             |
| ------------ | ----------------------------------------------- | -------------------------------------------------------------------- |
| POST         | */v2/job\_multi\_source/search/es\_dsl*         | Search for relevant job postings data using Elasticsearch DSL schema |
| POST         | */v2/job\_multi\_source/search/es\_dsl/preview* | Retrieves a small set of partial data using Elasticsearch queries    |
| GET          | */v2/job\_multi\_source/collect/{job\_id}*      | Collect Multi-source Jobs data using IDs                             |

### Bulk Collect

Use the following endpoints to retrieve Multi-source Jobs API data in bulk:

| Request type | Endpoint                                                    |
| ------------ | ----------------------------------------------------------- |
| POST         | */v2/data\_requests/job\_multi\_source/ids*                 |
| POST         | */v2/data\_requests/job\_multi\_source/es\_dsl*             |
| GET          | */v2/data\_requests/{data\_request\_id}/files*              |
| GET          | */v2/data\_requests/{data\_request\_id}/files/{file\_name}* |

## Request types

{% hint style="warning" %}
All Multi-source Jobs API requests must be made over HTTPS. Requests made over HTTP will fail or be redirected to HTTPS.
{% endhint %}

Multi-source Jobs API supports two types of requests:

* **Search** endpoints support POST requests only.
* **Collect** endpoints support the GET requests only.

| Request type | Endpoint                                        |
| ------------ | ----------------------------------------------- |
| POST         | */v2/job\_multi\_source/search/es\_dsl*         |
| POST         | */v2/job\_multi\_source/search/es\_dsl/preview* |
| GET          | */v2/job\_multi\_source/collect/{job\_id}*      |

## Rate limits

Multi-source Jobs API endpoints restrict the number of requests allowed per second.

{% columns %}
{% column %}
Search endpoints

Collection endpoints

Bulk Collect search and collection endpoints
{% endcolumn %}

{% column %}
18 requests per second

54 requests per second

27 requests per second
{% endcolumn %}
{% endcolumns %}

## Credits

**One** search credit is deducted for **one successful (200) request** in the search endpoint:

* */v2/job\_multi\_source/search/es\_dsl*
* */v2/job\_multi\_source/search/es\_dsl/preview*

**One** collection credit is deducted for **one successful (200) request** in the collection endpoints:

* */v2/job\_multi\_source/collect/{job\_id}*

***

Read more about credits in the following topic:

<table data-view="cards"><thead><tr><th></th><th data-hidden data-card-target data-type="content-ref"></th></tr></thead><tbody><tr><td>General information about credits</td><td><a href="../api-introduction/credits">credits</a></td></tr></tbody></table>
