Skip to content
Fourohtwo

agents.writerslogic.com/api/v1/qualifier-compare

Compares up to 200 requested attribute requirements with the values a supplier quoted (voltage, grade, finish, tolerance, brand, certification), for an agent checking that a quote matches the request before buying. Requirements are eq, ne, gte, lte, gt, lt, between (value..max), in (a list) or present; numeric comparisons use exact decimals, an optional tolerance, and the caller's unit conversions

BaseAnswering
POSThttps://agents.writerslogic.com/api/v1/qualifier-compare

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/qualifier-compare", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({"items":[{"quoted":{"unit":"V","value":"24"},"attribute":"voltage","requested":{"op":"gte","unit":"V","value":"24"}},{"quoted":{"unit":"cm","value":"10.2"},"attribute":"length","requested":{"op":"eq","unit":"mm","value":"100","tolerance":"0.5"}},{"quoted":{"value":"Anodised"},"attribute":"finish","requested":{"op":"in","values":["anodized","powder coat"]}},{"attribute":"ip-rating","requested":{"o),
});
console.log(await res.json());

Example input

{"items":[{"quoted":{"unit":"V","value":"24"},"attribute":"voltage","requested":{"op":"gte","unit":"V","value":"24"}},{"quoted":{"unit":"cm","value":"10.2"},"attribute":"length","requested":{"op":"eq","unit":"mm","value":"100","tolerance":"0.5"}},{"quoted":{"value":"Anodised"},"attribute":"finish","requested":{"op":"in","values":["anodized","powder coat"]}},{"attribute":"ip-rating","requested":{"o