Skip to content
Fourohtwo

Classify the pricing model of an offer

signal.halowerk.com/v1/pricing-model-classify

Classify the pricing model of an offer: subscription, per-seat subscription, usage-based, hybrid, one-time licence, time-based, commission, freemium or quote-only, with evidence for every flag. Reads the pricing page (located from a URL or supplied as HTML) and evaluates the parsed prices (interval, per-user unit, usage unit such as "per 1,000 requests" or "per GB") plus wording rules for pay-as-y

BaseAnswering
POSThttps://signal.halowerk.com/v1/pricing-model-classify

Uptime100% of 4 checks 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://signal.halowerk.com/v1/pricing-model-classify", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({"html":"<html lang=\"en\"><body><h1>API pricing</h1>\n<div class=\"plans\"><div class=\"plan\"><h3>Pay as you go</h3><p>$0.50 per 1,000 requests</p></div>\n<div class=\"plan\"><h3>Volume</h3><p>$0.30 per 1,000 requests</p><p>Billed monthly in arrears.</p></div></div>\n<p>No monthly minimum. Credits never expire.</p></body></html>"}),
});
console.log(await res.json());

Example input

{
  "html": "<html lang=\"en\"><body><h1>API pricing</h1>\n<div class=\"plans\"><div class=\"plan\"><h3>Pay as you go</h3><p>$0.50 per 1,000 requests</p></div>\n<div class=\"plan\"><h3>Volume</h3><p>$0.30 per 1,000 requests</p><p>Billed monthly in arrears.</p></div></div>\n<p>No monthly minimum. Credits never expire.</p></body></html>"
}