> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://developer.deel.com/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://developer.deel.com/_mcp/server.

# Fetch Start Date for EOR Contracts

GET https://api.letsdeel.com/rest/eor/start-date

Returns the earliest allowed start date for a new EOR contract quote based on the specified employment country, nationality, and visa requirements. The response also includes payroll timing parameters — `start_date_buffer`, `first_payroll_lock`, and `is_same_month_payment_country` — that govern when the contract can take effect.

 **Token scopes**: `contracts:read`

Reference: https://developer.deel.com/api/eor-endpoints/eor-hiring/get-start-date

## Authentication

- `Authorization` header (bearer token, required) — ## Authentication The Deel API uses bearer tokens to authenticate requests. All API calls must be made over HTTPS — calls over plain HTTP or without authentication will fail. ```curl curl -X GET 'https://api.letsdeel.com/rest/v2/contracts' \ -H 'Authorization: Bearer YOUR-TOKEN-HERE' ``` [Learn more about authentication](/api/authentication)
- `Authorization` header (bearer token, required) — Standard OAuth2 security scheme based on https://swagger.io/docs/specification/authentication/

## Servers

- `https://api.letsdeel.com/rest` (Production, default)
- `https://api-staging.letsdeel.com/rest` (Demo)

## Request

### Query parameters

- `employment_country` (string, required) — Employment country in ISO 3166-1 alpha-2 format
- `employee_nationality` (string, optional) — Employee nationality in ISO 3166-1 alpha-2 format
- `work_visa` (boolean, optional) — Whether a work visa is required
- `team_id` (string, required) — Team ID
- `legal_entity_id` (string, optional) — Legal entity ID
- `employment_state` (string, optional) — State or province of employment
- `special_job_id` (string, optional) — Special job ID (if applicable)

## Response

### 200

Start date details

- `data` (EorStartDateGetResponsesContentApplicationJsonSchemaData, required)

## Errors

### 400 Bad Request Error

Operation failed.

- `errors` (list of EorStartDateGetResponsesContentApplicationJsonSchemaErrorsItems, optional)
- `request` (EorStartDateGetResponsesContentApplicationJsonSchemaRequest, optional)

### 401 Unauthorized Error

Operation failed.

- `request` (ApiErrorRequest, optional)
- `errors` (list of ApiError, optional)

### 403 Forbidden Error

Operation failed.

- `request` (ApiErrorRequest, optional)
- `errors` (list of ApiError, optional)

### 404 Not Found Error

Operation failed.

- `request` (ApiErrorRequest, optional)
- `errors` (list of ApiError, optional)

### 500 Internal Server Error

Operation failed.

- `request` (ApiErrorRequest, optional)
- `errors` (list of ApiError, optional)

## Types

### EorStartDateGetResponsesContentApplicationJsonSchemaData

- `min_start_date` (string, required) — The earliest possible employment start date
- `start_date_buffer` (integer, required) — Number of business days to buffer from today
- `first_payroll_lock` (integer, required) — Day of month when payroll gets locked
- `is_same_month_payment_country` (boolean, required) — Whether the employment country requires start date within the same month

### EorStartDateGetResponsesContentApplicationJsonSchemaErrorsItems

- `path` (string, optional) — The JSON path where input validation failed
- `message` (string, optional) — A description of the returned error

### EorStartDateGetResponsesContentApplicationJsonSchemaRequest

- `url` (string, optional) — The relative URL of the failed request
- `code` (double, optional) — The code of the source handler which produced the returned error
- `docs` (string, optional) — A link to the official documentation for the requested endpoint resource
- `method` (string, optional) — The HTTP method of the failed request
- `source` (string, optional) — The source handler which produced the returned error
- `status` (double, optional) — The status code of the response
- `api_req_id` (string, optional) — The request ID of the failed request

### ApiErrorRequest

- `method` (string, optional) — The HTTP method of the failed request
- `url` (string, optional) — The relative URL of the failed request
- `status` (double, optional) — The status code of the response
- `api_req_id` (string, optional) — The request ID of the failed request
- `docs` (string, optional) — A link to the official documentation for the requested endpoint resource
- `source` (string, optional) — The source handler which produced the returned error
- `code` (double, optional) — The code of the source handler which produced the returned error

### ApiError

- `message` (string, optional) — A description of the returned error
- `path` (string, optional) — The JSON path where input validation failed

## Examples

**Response**

```json
{
  "data": {
    "min_start_date": "2025-05-19T21:09:54.630Z",
    "start_date_buffer": 1,
    "first_payroll_lock": 20,
    "is_same_month_payment_country": false
  }
}
```

**SDK Code**

```python
import requests

url = "https://api.letsdeel.com/rest/eor/start-date"

querystring = {"employee_nationality":"BR","employment_country":"US","employment_state":"CA","legal_entity_id":"123e4567-e89b-12d3-a456-426614174001","special_job_id":"123e4567-e89b-12d3-a456-426614174001","team_id":"123e4567-e89b-12d3-a456-426614174001","work_visa":"true"}

headers = {"Authorization": "Bearer <token>"}

response = requests.get(url, headers=headers, params=querystring)

print(response.json())
```

```javascript
const url = 'https://api.letsdeel.com/rest/eor/start-date?employee_nationality=BR&employment_country=US&employment_state=CA&legal_entity_id=123e4567-e89b-12d3-a456-426614174001&special_job_id=123e4567-e89b-12d3-a456-426614174001&team_id=123e4567-e89b-12d3-a456-426614174001&work_visa=true';
const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};

try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
```

```go
package main

import (
	"fmt"
	"net/http"
	"io"
)

func main() {

	url := "https://api.letsdeel.com/rest/eor/start-date?employee_nationality=BR&employment_country=US&employment_state=CA&legal_entity_id=123e4567-e89b-12d3-a456-426614174001&special_job_id=123e4567-e89b-12d3-a456-426614174001&team_id=123e4567-e89b-12d3-a456-426614174001&work_visa=true"

	req, _ := http.NewRequest("GET", url, nil)

	req.Header.Add("Authorization", "Bearer <token>")

	res, _ := http.DefaultClient.Do(req)

	defer res.Body.Close()
	body, _ := io.ReadAll(res.Body)

	fmt.Println(res)
	fmt.Println(string(body))

}
```

```ruby
require 'uri'
require 'net/http'

url = URI("https://api.letsdeel.com/rest/eor/start-date?employee_nationality=BR&employment_country=US&employment_state=CA&legal_entity_id=123e4567-e89b-12d3-a456-426614174001&special_job_id=123e4567-e89b-12d3-a456-426614174001&team_id=123e4567-e89b-12d3-a456-426614174001&work_visa=true")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'

response = http.request(request)
puts response.read_body
```

```java
import com.mashape.unirest.http.HttpResponse;
import com.mashape.unirest.http.Unirest;

HttpResponse<String> response = Unirest.get("https://api.letsdeel.com/rest/eor/start-date?employee_nationality=BR&employment_country=US&employment_state=CA&legal_entity_id=123e4567-e89b-12d3-a456-426614174001&special_job_id=123e4567-e89b-12d3-a456-426614174001&team_id=123e4567-e89b-12d3-a456-426614174001&work_visa=true")
  .header("Authorization", "Bearer <token>")
  .asString();
```

```php
<?php
require_once('vendor/autoload.php');

$client = new \GuzzleHttp\Client();

$response = $client->request('GET', 'https://api.letsdeel.com/rest/eor/start-date?employee_nationality=BR&employment_country=US&employment_state=CA&legal_entity_id=123e4567-e89b-12d3-a456-426614174001&special_job_id=123e4567-e89b-12d3-a456-426614174001&team_id=123e4567-e89b-12d3-a456-426614174001&work_visa=true', [
  'headers' => [
    'Authorization' => 'Bearer <token>',
  ],
]);

echo $response->getBody();
```

```csharp
using RestSharp;

var client = new RestClient("https://api.letsdeel.com/rest/eor/start-date?employee_nationality=BR&employment_country=US&employment_state=CA&legal_entity_id=123e4567-e89b-12d3-a456-426614174001&special_job_id=123e4567-e89b-12d3-a456-426614174001&team_id=123e4567-e89b-12d3-a456-426614174001&work_visa=true");
var request = new RestRequest(Method.GET);
request.AddHeader("Authorization", "Bearer <token>");
IRestResponse response = client.Execute(request);
```

```swift
import Foundation

let headers = ["Authorization": "Bearer <token>"]

let request = NSMutableURLRequest(url: NSURL(string: "https://api.letsdeel.com/rest/eor/start-date?employee_nationality=BR&employment_country=US&employment_state=CA&legal_entity_id=123e4567-e89b-12d3-a456-426614174001&special_job_id=123e4567-e89b-12d3-a456-426614174001&team_id=123e4567-e89b-12d3-a456-426614174001&work_visa=true")! as URL,
                                        cachePolicy: .useProtocolCachePolicy,
                                    timeoutInterval: 10.0)
request.httpMethod = "GET"
request.allHTTPHeaderFields = headers

let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
  if (error != nil) {
    print(error as Any)
  } else {
    let httpResponse = response as? HTTPURLResponse
    print(httpResponse)
  }
})

dataTask.resume()
```