BitBooth

Pay-per-call endpoint: sentiment

Pay 0.001 USDC, get a VADER-style sentiment score for any English text blob — compound polarity in [-1, 1], a positive|neutral|negative label, a proportional breakdown across the three classes, and the token count. No LLM inference, deterministic output, sub-cent per call. Curated ~180-word lexicon with negation handling (×-0.74 within 3 tokens) and booster amplification (very/really/extremely ×1.293). Input capped at 10000 chars; tokenisation capped at 2000 tokens. Built for agents triaging support tickets, social mentions, review feeds, or chat transcripts before routing.

Method & path
POST /v1/cdp/sentiment
Price per call
0.001 USDC
Network
Base mainnet (eip155:8453)
Asset
USDC
Category
data
Facilitator
Coinbase CDP

Try it from a curl client

curl -X POST https://app.heinrichstech.com/v1/cdp/sentiment \
  -H 'content-type: application/json' \
  -d '{}'

# 1. Server returns 402 with a WWW-Authenticate: X402 challenge.
# 2. Pay 0.001 USDC to 0xDa2F35d283c42dd60B965322394bc658a5c1769F on Base mainnet
#    (your x402 client signs the EIP-712 authorization).
# 3. Retry the same request with the X-PAYMENT header. The Coinbase CDP
#    Facilitator verifies and settles, then the response unlocks.

Try it from a Node x402 client

import { x402Fetch } from '@bitbooth/x402-client';

const res = await x402Fetch('https://app.heinrichstech.com/v1/cdp/sentiment', {
  method: 'POST',
  body: JSON.stringify({}),
  wallet: process.env.AGENT_PRIVATE_KEY, // signs X-PAYMENT EIP-712
  network: 'eip155:8453',                 // Base mainnet
});
const data = await res.json();

Discovery for agents and indexers

Every x402 client and ecosystem indexer can discover this endpoint without scraping. Hit the JSON feeds below or read the OpenAPI spec directly.