---
title: "Week Number"
method: POST
path: "/api/v1/tools/week-number"
tags: ["tools"]
---

# Week Number

`POST /api/v1/tools/week-number`

## Request

- Base URL: `https://toolforte.com`
- URL: `https://toolforte.com/api/v1/tools/week-number`
- Auth: HTTP bearer

The ISO 8601 week number and ISO year for a date, with the Monday and Sunday of that week, plus the US (Sunday-based) and UK/EU week numbers. Defaults to today when no date is given.

## Request body

- object
  - `date` string

## Response `200`

Successful result

- object
  - `ok` boolean
  - `data` object
    - `date` string
    - `weekday` string
    - `isoWeek` integer
    - `isoYear` integer
    - `weekStart` string
    - `weekEnd` string
    - `usWeek` integer
    - `ukWeek` integer

## Other responses

- `400`: Missing or invalid request fields
- `401`: Invalid or missing API key
- `429`: Monthly plan limit reached

---

[API](https://skmtc.dev/toolforte/apis/toolforte-api.md) · [All operations](https://skmtc.dev/toolforte/apis/toolforte-api/llms.txt) · [OpenAPI document](https://skmtc.dev/toolforte/apis/toolforte-api/revisions/4d814d484dfc?raw)
