82trust / 100

Calendar

by x402stock.xyz in Productivity & SaaS

x402 APIPassing, checked 3 h ago

Upcoming US economic data releases — WHEN the market-moving prints land, not just their latest values. Returns curated high-importance releases (CPI, PPI, PCE, jobs, JOLTS, GDP, retail sales, housing starts, industrial production) within `?days=` (default 30, max 90), each with date and category, plus the next FOMC meeting. `?past=true` includes the last week. Release dates from FRED.

GET https://x402stock.xyz/api/v1/calendar

Last 30 days

All checks passedSome failedAll failedNot checked
Uptime
100%
Response time
207 ms typical, 207 ms slowest 5%
Last check
3 h ago
Next check
any minute now

How to call it

# See the payment challenge (nothing is charged)
curl -i -X GET "https://x402stock.xyz/api/v1/calendar?days=30&past=false"
import { wrapFetchWithPayment } from "@x402/fetch";
import { x402Client } from "@x402/core/client";
import { ExactEvmScheme } from "@x402/evm/exact/client";
import { privateKeyToAccount } from "viem/accounts";

const client = new x402Client().register(
  "eip155:8453",
  new ExactEvmScheme(privateKeyToAccount(process.env.AGENT_KEY)),
);
const pay = wrapFetchWithPayment(fetch, client);

// Not sure it's safe to pay? Preflight it first for $0.03:
// GET https://toolvet.app/api/v1/check?url=https%3A%2F%2Fx402stock.xyz%2Fapi%2Fv1%2Fcalendar
const res = await pay("https://x402stock.xyz/api/v1/calendar?days=30&past=false");
console.log(await res.json());

Example input

{
  "days": 30,
  "past": "false"
}

Example output

{
  "as_of": "2026-06-05T12:00:00.000Z",
  "attribution": "Economic release dates: Federal Reserve Bank of St. Louis (FRED). FOMC meeting dates: U.S. Federal Reserve.",
  "count": 3,
  "fomc": {
    "days_until": 12,
    "next_meeting": "2026-06-17"
  },
  "from": "2026-06-05",
  "releases": [
    {
      "category": "inflation",
      "date": "2026-06-10",
      "name": "Consumer Price Index",
      "release_id": 10
    },
    {
      "category": "employment",
      "date": "2026-07-02",
      "name": "Employment Situation",
      "release_id": 50
    },
    {
      "category": "growth",
      "date": "2026-06-25",
      "name": "Gross Domestic Product",
      "release_id": 53
    }
  ],
  "source": "fred",
  "to": "2026-07-05",
  "window_days": 30
}

Security scan

  • No findings. We scan names, descriptions and tool definitions for hidden instructions and other prompt-injection patterns.

Recent checks

WhenResultHTTPTimePrice
3 h agoPassed402207 ms$0.02