82trust / 100

Archive

by x402stock.xyz in Markets & finance

x402 APIPassing, checked 2 h ago

Use to discover the point-in-time archive: immutable daily snapshots of ephemeral market state (Hyperliquid perps/spot, JLP pool, pre-IPO marks, market regime, squeeze scores), captured once per UTC day and never overwritten or backfilled. Lists every feed and entity with date coverage; read days via /archive/{feed} and series via /archive/{feed}/range. From x402stock

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

Last 30 days

All checks passedSome failedAll failedNot checked
Uptime
100%
Response time
220 ms typical, 220 ms slowest 5%
Last check
2 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/archive"
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.005:
// GET https://toolvet.app/api/v1/check?url=https%3A%2F%2Fx402stock.xyz%2Fapi%2Fv1%2Farchive
const res = await pay("https://x402stock.xyz/api/v1/archive");
console.log(await res.json());

Example input

{}

Example output

{
  "as_of": "2026-06-08T13:02:11.000Z",
  "count": 2,
  "feeds": [
    {
      "description": "Jupiter JLP pool decoded from Solana accounts: AUM, supply, virtual price, per-asset utilization & trader exposure",
      "entities": [
        {
          "coverage": {
            "days": 12,
            "first_date": "2026-05-28",
            "last_date": "2026-06-08"
          },
          "entity": "_pool"
        }
      ],
      "feed": "sol.jlp"
    },
    {
      "description": "x402stock 0–100 squeeze score (5 audited factors) for a curated watchlist — one entity per ticker",
      "entities": [
        {
          "coverage": {
            "days": 12,
            "first_date": "2026-05-28",
            "last_date": "2026-06-08"
          },
          "entity": "GME"
        },
        {
          "coverage": {
            "days": 12,
            "first_date": "2026-05-28",
            "last_date": "2026-06-08"
          },
          "entity": "AMC"
        }
      ],
      "feed": "scores.squeeze"
    }
  ],
  "note": "Append-only point-in-time archive: one immutable snapshot per (feed, entity, UTC day), captured daily since first_date and never overwritten or backfilled. content_hash = sha256 of the payload (volatile timestamps stripped).",
  "source": "x402stock"
}

Security scan

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

Recent checks

WhenResultHTTPTimePrice
2 h agoPassed402220 ms$0.02
8 h agoPassed402222 ms$0.02