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

# List

GET https://api.taktoria.com/api/v1/holidays

The public holidays in the workspace's markets between two days, by
date: what LaunchCal's calendar shows, and what it warns a launch is
planned on. At most 731 days at a time. Requires `launches:read`.

Reference: https://docs.taktoria.com/api-reference/holidays/list

## Authentication

- `Authorization` header (bearer token, required) — Bearer authentication of the form `Bearer <token>`, where token is your auth token.

## Servers

- `https://api.taktoria.com/api/v1` (Production, default)
- `http://localhost:3000/api/v1` (Local)

## Request

### Query parameters

- `from` (date, optional) — The first day, `YYYY-MM-DD`. Left out, today.
- `to` (date, optional) — The last day, included. Left out, 90 days after `from`.

## Response

### 200

- `markets` (list of string, required) — The workspace's markets the list is for, as `GET /organization` gives them.
- `data` (list of Holiday, required)

## Errors

### 401 Unauthorized Error

- `error` (ErrorDetail, required)

### 422 Validation Error

- `error` (ErrorDetail, required)

### 429 Too Many Requests Error

Rate limited (`rate_limited`): the key, the signed-in person, the workspace or an expensive endpoint's own budget is used up for now. `Retry-After` says how many seconds to wait, and `details` names the `policy`, its `limit`, `windowSeconds` and `retryAfter`. Every answer to an authenticated request carries the IETF `RateLimit-Policy` and `RateLimit` headers, so a client can slow down before it gets this. Nothing was done; wait and send it again. See "Rate limits".

- `error` (ErrorDetail, required)

## Types

### Holiday

A public holiday in one of the workspace's markets.

- `date` (date, required) — The day, as the country's own calendar reads it.
- `name` (string, required) — The holiday's name, in English.
- `country` (string, required) — The market it is a holiday in, as an ISO country code.

### ErrorDetail

- `code` (string, required) — A stable machine-readable code such as `not_found`.
- `message` (string, required)
- `details` (any, optional)

## Examples

**Response**

```json
{
  "markets": [
    "US"
  ],
  "data": [
    {
      "date": "2026-11-11",
      "name": "Veterans Day",
      "country": "US"
    },
    {
      "date": "2026-11-26",
      "name": "Thanksgiving Day",
      "country": "US"
    },
    {
      "date": "2026-12-25",
      "name": "Christmas Day",
      "country": "US"
    }
  ]
}
```

**SDK Code**

```python
import requests

url = "https://api.taktoria.com/api/v1/holidays"

querystring = {"from":"2026-11-01","to":"2026-12-31"}

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

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

print(response.json())
```

```javascript
const url = 'https://api.taktoria.com/api/v1/holidays?from=2026-11-01&to=2026-12-31';
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.taktoria.com/api/v1/holidays?from=2026-11-01&to=2026-12-31"

	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.taktoria.com/api/v1/holidays?from=2026-11-01&to=2026-12-31")

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.taktoria.com/api/v1/holidays?from=2026-11-01&to=2026-12-31")
  .header("Authorization", "Bearer <token>")
  .asString();
```

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

$client = new \GuzzleHttp\Client();

$response = $client->request('GET', 'https://api.taktoria.com/api/v1/holidays?from=2026-11-01&to=2026-12-31', [
  'headers' => [
    'Authorization' => 'Bearer <token>',
  ],
]);

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

```csharp
using RestSharp;

var client = new RestClient("https://api.taktoria.com/api/v1/holidays?from=2026-11-01&to=2026-12-31");
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.taktoria.com/api/v1/holidays?from=2026-11-01&to=2026-12-31")! 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()
```