D

DopamineDesk AI Marketplace · News Sentiment

by DopamineDesk AI Marketplace

GETBase

$0.05

per call · USD Coin on Base

Fetch recent Hacker News stories for a topic and apply a transparent keyword-lexicon sentiment score.

Endpoint

GET https://ai-data-marketplace-1042299154756.us-central1.run.app/api/v1/news_sentiment

1

Calls / 30d

1

Unique payers / 30d

Aug 14

Last called

exact

Payment scheme

Call this service

TypeScript · @x402/fetch
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://ai-data-marketplace-1042299154756.us-central1.run.app/api/v1/news_sentiment", {
  method: "GET",
});
const data = await res.json();
cURL
curl -X GET \
  "https://ai-data-marketplace-1042299154756.us-central1.run.app/api/v1/news_sentiment?days=1&entity=Microsoft" \
  -H "X-PAYMENT: <signed x402 payment>"

Example response

{
  "analysis_method": "transparent keyword-lexicon sentiment v1",
  "articles": [
    {
      "created_at": "2026-08-07T01:36:06Z",
      "label": "NEUTRAL",
      "score": 0,
      "title": "Microsoft Redesigns the Windows Webpage",
      "url": "https://www.microsoft.com/en-us/windows"
    },
    {
      "created_at": "2026-08-06T21:49:07Z",
      "label": "NEUTRAL",
      "score": 0,
      "title": "Show HN: Pokémon Emerald Ported to Raspberry Pi Pico 2",
      "url": "https://github.com/mattdeeds/pokeemerald-rp2350"
    }
  ],
  "articles_analyzed": 10,
  "fetched_at": "2026-08-07T07:32:38.571Z",
  "marketplace_metadata": {
    "availability": "operational",
    "billable": true,
    "data_mode": "live_source",
    "source": "Hacker News Algolia API plus deterministic lexicon"
  },
  "sentiment_label": "NEUTRAL",
  "sentiment_score": 0,
  "source": "Hacker News Algolia API",
  "success": true,
  "topic": "Microsoft"
}

Payment details

Pay to0x8647f7d7a1368a467ad1ff757fbc2e7167973558
AssetUSD Coin · 0x833589fcd6edb6e08f4c7c32d4f71b54bda02913
NetworksBase
Schemesexact

Is this your API?

Pin it to the top of News & Content and the homepage with a featured placement.

Get featured →

More from DopamineDesk AI Marketplace & similar services