Everything the app does is available to scripts and agents, served from this site.
REST
curl https://weekendoptions.xyz/api/v1/chains?m=NVDA curl "https://weekendoptions.xyz/api/v1/quote?m=NVDA&kind=call&low=155&high=160&size=10&expiry=sunday" curl https://weekendoptions.xyz/api/v1/replay
MCP
The MCP server lives at /mcp over HTTP with JSON-RPC 2.0. Tools: quote_option, settlement and chains.
curl -s https://weekendoptions.xyz/mcp -H 'content-type: application/json' -d '{
"jsonrpc":"2.0","id":1,"method":"tools/call",
"params":{"name":"quote_option","arguments":{"market":"NVDA","kind":"call","low":155,"high":160,"size":10}}
}'SDK
One ES module with no dependencies, served from the site:
curl -O https://weekendoptions.xyz/sdk/weekend-options.js
import { WeekendOptions } from "./weekend-options.js";
const wo = new WeekendOptions("https://weekendoptions.xyz");
const q = await wo.quote({ market: "GOLD", kind: "put", low: 3550, high: 3600, size: 2 });llms.txt
Agents that read /llms.txt get the same list of routes and tools.