$0.0035
per call · USD Coin on Base
Sentiment scoring for caller-provided text: positive/neutral/negative with confidence. Batch up to 16 texts per call. Model: twitter-roberta-base-sentiment. Always-on, verified onchain settlement.
Endpoint
POST https://srv1553682.hstgr.cloud/nlp/api/sentiment2
Calls / 30d
1
Unique payers / 30d
Aug 15
Last called
exact
Payment scheme
Call this service
import { wrapFetchWithPayment } from "@x402/fetch";
import { privateKeyToAccount } from "viem/accounts";
const account = privateKeyToAccount(process.env.PRIVATE_KEY);
const fetchWithPay = wrapFetchWithPayment(fetch, account);
const res = await fetchWithPay("https://srv1553682.hstgr.cloud/nlp/api/sentiment", {
method: "POST",
headers: { "Content-Type": "application/json" },
body: JSON.stringify({
"text": "agents paying agents is going to compound"
}),
});
const data = await res.json();curl -X POST \
"https://srv1553682.hstgr.cloud/nlp/api/sentiment" \
-H "Content-Type: application/json" \
-d '{"text":"agents paying agents is going to compound"}' \
-H "X-PAYMENT: <signed x402 payment>"Example response
{
"model": "cardiffnlp/twitter-roberta-base-sentiment-latest",
"results": [
[
{
"label": "positive",
"score": 0.98
}
]
]
}Payment details
0xd32714cc95753d5cd50f56570e98c9d87e7c6dfeUSD Coin · 0x833589fcd6edb6e08f4c7c32d4f71b54bda02913Is this your API?
Pin it to the top of Social & Community and the homepage with a featured placement.
More from Hstgr & similar services
Hstgr · FNG Fear Greed
srv1553682.hstgr.cloud
Crypto Fear & Greed index: current value and classification plus 7-day history. Always-on, self-healing, verified onchain settlement. Source: Alternative.me.
Hstgr · Route Fear Greed
srv1553682.hstgr.cloud
Crypto Fear & Greed index (current + 7-day history) via the verified-quality meta-router: in-house first, outcome-logged, never charged on failure.
Hstgr · Route Macro Econ
srv1553682.hstgr.cloud
US macro indicators (CPI, core CPI, unemployment, Fed funds, GDP, 10y/2y yields, M2) with latest value + YoY + recent history, via FRED. ?series=cpi. Public-domain data, 6h cache. Never charged on failure.