Skip to content
Fourohtwo

agents.writerslogic.com/api/v1/confirmation-state

Reads a confirmation page, email or API message and decides which state it states: submitted, pending, reserved or completed, using phrase lists the caller supplies (preferred, because wording is provider-specific) plus an optional default English list. Matches are whole-word, case- and typography-insensitive, returned with offsets in UTF-16, code points, UTF-8 bytes and graphemes, and a match ins

BaseAnswering
POSThttps://agents.writerslogic.com/api/v1/confirmation-state

Uptime100% 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/confirmation-state", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({"text":"Thank you. Your order has been submitted and is pending review.","precedence":["completed","reserved","pending","submitted"]}),
});
console.log(await res.json());

Example input

{
  "text": "Thank you. Your order has been submitted and is pending review.",
  "precedence": [
    "completed",
    "reserved",
    "pending",
    "submitted"
  ]
}