{"uid":"cap_q6hr5OVncoH4TQTbWaBhI","slug":"fastx402-lab-localized-date-formatter-14a70928","name":"FastX402 Lab – Localized Date Formatter","description":"146 pay-per-call tools for AI agents, from $0.001 per request in USDC on Base or Solana with x402. No account, no API key.","url":"https://fastx402.tools/date-format?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET"],"type":"string"},"queryParams":{"type":"object","required":["date","pattern"],"properties":{"date":{"type":"string","description":"ISO 8601 date or date-time"},"locale":{"enum":["en","tr","de","fr","es"],"type":"string","description":"en, tr, de, fr or es (default en)"},"pattern":{"type":"string","description":"date-fns format pattern, e.g. EEEE, d MMMM yyyy HH:mm"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","properties":{"formatted":{"type":"string"}}}}}}},"responseSchema":{"type":"json","example":{"formatted":"Saturday, 17 October 2026 14:05"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.001","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.001/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_q2C0jbcaLgVMYp6NI3DBQ","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.001","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Formats an ISO 8601 date using a date-fns/Unicode pattern in one of five locales (English, Turkish, German, French, Spanish)","exampleAgentPrompt":"Format 2026-10-17T14:05:00 as a full date with the weekday name, day, month, year, and time in German — use the pattern EEEE, d MMMM yyyy HH:mm.","exampleUseCases":[{"title":"French event date display","prompt":"I need to show the date 2025-03-21T09:30:00 on a French-language event page. Can you format it as 'vendredi, 21 mars 2025 09:30' using the pattern EEEE, d MMMM yyyy HH:mm in French?"},{"title":"Turkish birthday message","prompt":"Format 1990-06-15 in Turkish with the pattern EEEE, d MMMM yyyy so I can include the full localized date in a birthday notification email."},{"title":"Spanish calendar UI label","prompt":"I'm building a Spanish-language calendar app. Can you format 2024-12-25T00:00:00 using the pattern EEEE, d MMMM yyyy in Spanish so I can display it as a proper localized label?"}],"resultDescription":"A JSON object with a single 'formatted' string field containing the date rendered according to the provided date-fns pattern and locale — for example, {\"formatted\": \"Saturday, 17 October 2026 14:05\"} for English.","failureModes":["Missing required 'date' query parameter — returns error","Missing required 'pattern' query parameter — returns error","Invalid ISO 8601 date string — may return error or unexpected result","Unsupported locale value outside en/tr/de/fr/es — returns validation error","Invalid or malformed date-fns pattern — may return error or garbled output","Payment not provided or insufficient — x402 payment required response"],"whenToPreferThis":"Use this endpoint when you need to render a date as a localized, human-readable string in one of five supported languages (English, Turkish, German, French, Spanish) using a flexible date-fns/Unicode pattern. Prefer it over generic date libraries when you need a simple, stateless API call for i18n date formatting without setting up a locale library in your environment.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-17T12:40:27.135Z","isFirstParty":false,"canonicalSlug":"fastx402-lab-localized-date-formatter-14a70928"}