81trust / 100
Cot
by x402stock.xyz in Markets & finance
x402 APIPassing, checked 4 h ago
The weekly CFTC Commitments of Traders positioning across major futures markets in one call: for each market the open interest, non-commercial (large speculator) net position and weekly change, and commercial (hedger) net position. Covers equity indices, gold/silver, crude/natural gas, major FX, the 10-year note, and bitcoin. No ticker needed. Sourced from the US CFTC. From x402stock
GET https://x402stock.xyz/api/v1/cot
Last 30 days
All checks passedSome failedAll failedNot checked
- Uptime
- 100%
- Response time
- 207 ms typical, 207 ms slowest 5%
- Last check
- 4 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/cot"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%2Fcot
const res = await pay("https://x402stock.xyz/api/v1/cot");
console.log(await res.json());Example input
{}Example output
{
"as_of": "2026-06-02T00:00:00.000Z",
"attribution": "Source: U.S. Commodity Futures Trading Commission (CFTC) Commitments of Traders",
"markets": [
{
"commercial_net": -206345,
"contract_code": "088691",
"group": "metals",
"market": "gold",
"name": "Gold",
"noncommercial_net": 176020,
"noncommercial_net_change": 21760,
"open_interest": 326052,
"open_interest_change": -27437,
"report_date": "2026-06-02"
}
],
"report": "legacy_futures_only",
"source": "cftc"
}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 |
|---|---|---|---|---|
| 4 h ago | Passed | 402 | 207 ms | $0.02 |