Skip to content
Fourohtwo

Text classification

freetier-agent-api.pages.dev/api/classify

Text classification: classify text (max 6,000 chars) into your own labels (2-20, single or multi-label) with confidence and a short reason; output is always one of your labels. Small LLM (Workers AI Llama 3.1 8B). GET query or POST JSON body.

BaseAnswering
GEThttps://freetier-agent-api.pages.dev/api/classify

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://freetier-agent-api.pages.dev/api/classify?labels=billing%2Ctechnical%2Csales%2Cother&text=My+card+was+charged+twice+for+the+same+order%2C+please+refund+one.");
console.log(await res.json());

Example input

{
  "labels": "billing,technical,sales,other",
  "text": "My card was charged twice for the same order, please refund one."
}

More from Agent Extraction APIProvider status