Skip to content

Latest date is not today #141

@alarm109

Description

@alarm109

I'm trying to get latest currency, but when I'm using date latest I get the previous date in the response.

The day I'm testing is 2025-12-05 08:22 UTC

https://cdn.jsdelivr.net/npm/@fawazahmed0/currency-api@latest/v1/currencies/usd.min.json

{
  "date": "2025-12-04",
  "usd": {
      "1inch": 5.07059253,
      "aave": 0.0050654033,
      "ada": 2.22587581,
      "aed": 3.6725,
      // ...

https://cdn.jsdelivr.net/npm/@fawazahmed0/currency-api@latest/v1/currencies/usd.min.json

{
  "date": "2025-12-04",
  "usd": {
    "1inch": 5.07059253,
    "aave": 0.0050654033,
    "ada": 2.22587581,
    "aed": 3.6725,
    // ...

Is this the expected behavior? Also the latest just take previous day average? Shouldn't it take current or in last 15mins?

Should I pass current date to get more latest date than passing latest? Because when I pass 2025-12-05 I get different results

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions