---
title: "Date Parse (x402)"
method: GET
path: "/x402/v2/date-parse"
tags: ["x402"]
---

# Date Parse (x402)

`GET /x402/v2/date-parse`

## Request

- Base URL: `https://api.strale.io`
- URL: `https://api.strale.io/x402/v2/date-parse`
- Auth: none required

Parse ambiguous date strings into ISO 8601. Handles '3/4/25', 'March 4th', '4. mars 2025', '2025-W14'. Detects ambiguity.

## Query parameters

- `date_string` string, required: Date string to parse
- `preferred_format` string: DMY, MDY, or YMD (for ambiguous dates)

## Response `200`

Success

- object
  - `day` integer
  - `year` integer
  - `month` integer
  - `iso_date` string
  - `day_of_week` string
  - `is_ambiguous` boolean

## Other responses

- `402`: Payment required (x402 — pay with USDC on Base)

---

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