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
| When | Result | HTTP | Time | Price |
|---|---|---|---|---|
| 3 h ago | Passed | 402 | 588 ms | $0.01 |
| 6 h ago | Passed | 402 | 708 ms | $0.01 |
| 10 h ago | Passed | 402 | 1.1 s | $0.01 |
| 13 h ago | Passed | 402 | 682 ms | $0.01 |
| 17 h ago | Passed | 402 | 746 ms | $0.01 |
| 20 h ago | Passed | 402 | 541 ms | $0.01 |
| 24 h ago | Passed | 402 | 780 ms | $0.01 |
| 28 h ago | Passed | 402 | 786 ms | $0.01 |
| 31 h ago | Passed | 402 | 835 ms | $0.01 |
| 36 h ago | Passed | 402 | 574 ms | $0.01 |
| 39 h ago | Passed | 402 | 929 ms | $0.01 |
| 42 h ago | Passed | 402 | 668 ms | $0.01 |
| 47 h ago | Passed | 402 | 563 ms | $0.01 |