82trust / 100

Advice

by PoketPoker in Other

x402 APIPassing, checked 34 min ago

Whether to open a specific Texas Hold'em starting hand from a named position against a given number of opponents, with the engine equity behind the answer.

GET https://poketpoker.com/api/advice

Last 30 days

All checks passedSome failedAll failedNot checked
Uptime
100%
Response time
138 ms typical, 138 ms slowest 5%
Last check
34 min ago
Next check
any minute now

How to call it

# See the payment challenge (nothing is charged)
curl -i -X GET "https://poketpoker.com/api/advice?hand=AhKh&opponents=2&position=button"
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%2Fpoketpoker.com%2Fapi%2Fadvice
const res = await pay("https://poketpoker.com/api/advice?hand=AhKh&opponents=2&position=button");
console.log(await res.json());

Example input

{
  "hand": "AhKh",
  "opponents": 2,
  "position": "button"
}

Example output

{
  "caveat": "Chip-value maths on specific cards against random opponents. It ignores stack depth, bet sizing and how these opponents actually play, and it is not solver output.",
  "class": "AKs",
  "engine": {
    "name": "poker-engine",
    "version": "1.13.0"
  },
  "equity": 50.64,
  "hand": "AhKh",
  "license": "CC-BY-4.0",
  "open": true,
  "opponents": 2,
  "position": "button",
  "positionLabel": "Button",
  "tie": 1.94,
  "verdict": "Open-raise. AKs is inside a conventional opening range from the button, and against 2 random opponents it takes 50.64% of the pot.",
  "win": 49.75
}

Security scan

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

Recent checks

WhenResultHTTPTimePrice
34 min agoPassed402138 ms$0.01
6 h agoPassed402192 ms$0.01