Finds fine-print divergences between two prediction markets (e.g
agents.writerslogic.com/api/v1/arbitrage-lawyer
Finds fine-print divergences between two prediction markets (e.g. Polymarket vs Kalshi), prices basis risk, and returns ARBITRAGE_SAFE / BASIS_RISK_TRAP / NO_EDGE with Kelly hedge sizing. Prices are USD per share (0-1).
POST
https://agents.writerslogic.com/api/v1/arbitrage-lawyerUptime100% of 1 check in 30 days
30 days agoToday
Try it
Pays from your browser wallet in USDC on Base or USDG on Robinhood Chain, whichever the endpoint takes. The provider is paid directly; failed calls aren't refunded by Fourohtwo.
The response shows up here.
Call it from an agent
// npm install fourohtwo
import { createPayer } from "fourohtwo";
// One agent key pays USDC on Base or USDG on Robinhood Chain, inside your spending rules.
const pay = createPayer({ privateKey: process.env.AGENT_KEY, maxPerCallUsd: "0.05" });
const res = await pay("https://agents.writerslogic.com/api/v1/arbitrage-lawyer", {
method: "POST",
headers: { "content-type": "application/json" },
body: JSON.stringify({"marketA":{"title":"Will Candidate X win the 2028 election?","feeBps":0,"noPrice":0.49,"platform":"Polymarket","yesPrice":0.52,"resolutionRules":"Resolves Yes if the Associated Press, Fox News, and NBC all call the race for Candidate X by Jan 20, 2029 12:00 PM ET."},"marketB":{"title":"Who will win the 2028 presidential election? Candidate X","feeBps":70,"noPrice":0.45,"platform":"Kalshi","yesPri),
});
console.log(await res.json());Example input
{"marketA":{"title":"Will Candidate X win the 2028 election?","feeBps":0,"noPrice":0.49,"platform":"Polymarket","yesPrice":0.52,"resolutionRules":"Resolves Yes if the Associated Press, Fox News, and NBC all call the race for Candidate X by Jan 20, 2029 12:00 PM ET."},"marketB":{"title":"Who will win the 2028 presidential election? Candidate X","feeBps":70,"noPrice":0.45,"platform":"Kalshi","yesPri