79trust / 100

Events

by PreReason in Company & people data

x402 APIPassing, checked 3 h ago

What changed since your last read: one page of PreReason's change events after a cursor. A briefing's state label, a tracked release, and, for the companies you name (?companies=, at most 200), newer figures, a situation turning on or filed news (?kinds= narrows it). Each event says what changed, when it happened, when PreReason knew it and where to fetch it, never a value. With no cursor it answers the last 24 hours; each answer's next_cursor is where the next read starts.

GET https://api.prereason.com/api/events

Last 30 days

All checks passedSome failedAll failedNot checked
Uptime
100%
Response time
708 ms typical, 929 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://api.prereason.com/api/events?types=state.changed%2Crelease.published"
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%2Fapi.prereason.com%2Fapi%2Fevents
const res = await pay("https://api.prereason.com/api/events?types=state.changed%2Crelease.published");
console.log(await res.json());

Example input

{
  "types": "state.changed,release.published"
}

Example output

{
  "events": [],
  "has_more": false,
  "next_cursor": "0"
}

Security scan

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

Recent checks

WhenResultHTTPTimePrice
3 h agoPassed402588 ms$0.01
6 h agoPassed402708 ms$0.01
10 h agoPassed4021.1 s$0.01
13 h agoPassed402682 ms$0.01
17 h agoPassed402746 ms$0.01
20 h agoPassed402541 ms$0.01
24 h agoPassed402780 ms$0.01
28 h agoPassed402786 ms$0.01
31 h agoPassed402835 ms$0.01
36 h agoPassed402574 ms$0.01
39 h agoPassed402929 ms$0.01
42 h agoPassed402668 ms$0.01
47 h agoPassed402563 ms$0.01