D

DopamineDesk AI Marketplace · Hacker News TOP

by DopamineDesk AI Marketplace

GETBase

$0.02

per call · USD Coin on Base

Fetch current top-story metadata and discussion links from the official Hacker News Firebase API.

Endpoint

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

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/hacker_news_top", {
  method: "GET",
});
const data = await res.json();
cURL
curl -X GET \
  "https://ai-data-marketplace-1042299154756.us-central1.run.app/api/v1/hacker_news_top?limit=2" \
  -H "X-PAYMENT: <signed x402 payment>"

Example response

{
  "count": 2,
  "data": [
    {
      "author": "itvision",
      "comments": 444,
      "created_at": "2026-08-06T20:23:11.000Z",
      "discussion_url": "https://news.ycombinator.com/item?id=49201970",
      "id": 49201970,
      "score": 591,
      "title": "AMD acquires Taalas to boost inference performance by etching models in silicon",
      "url": "https://www.theregister.com/systems/2026/08/06/amd-acquires-ai-chip-startup-taalas-to-boost-inference-performance-by-etching-models-into-silicon/5284344"
    },
    {
      "author": "rogix",
      "comments": 6,
      "created_at": "2026-08-06T21:16:52.000Z",
      "discussion_url": "https://news.ycombinator.com/item?id=49202690",
      "id": 49202690,
      "score": 19,
      "title": "What Is a Product?",
      "url": "https://roge.onwrite.app/what-is-a-product"
    }
  ],
  "fetched_at": "2026-08-07T07:32:38.144Z",
  "marketplace_metadata": {
    "availability": "operational",
    "billable": true,
    "data_mode": "live_source",
    "source": "Hacker News Firebase API"
  },
  "source": "Hacker News Firebase API",
  "success": true
}

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