Skip to content
Fourohtwo

x402-agent-tools.nerolabs.workers.dev/ai/enrich

Applies one plain-English AI instruction to every row of a JSON list (up to 50 rows), such as classify, extract, summarise or score, with {{field}} placeholders, and returns the new columns you define in outputFields for each row. Uses Claude Haiku. $0.002 per row. Runs nerolabs/dataset-ai-enrich.

BaseAnswering
POSThttps://x402-agent-tools.nerolabs.workers.dev/ai/enrich

Uptime100% of 2 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://x402-agent-tools.nerolabs.workers.dev/ai/enrich", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({"data":[{"id":1,"review":"Battery life is fantastic but the case feels cheap."}],"outputFields":[{"description":"positive, neutral or negative","name":"sentiment","type":"string"}],"prompt":"Classify the sentiment of this review: {{review}}"}),
});
console.log(await res.json());

Example input

{
  "data": [
    {
      "id": 1,
      "review": "Battery life is fantastic but the case feels cheap."
    }
  ],
  "outputFields": [
    {
      "description": "positive, neutral or negative",
      "name": "sentiment",
      "type": "string"
    }
  ],
  "prompt": "Classify the sentiment of this review: {{review}}"
}

More from Nero Labs Agent ToolsProvider status