Distro Media · News BY Slug

by Distro Media

GETBase

$0.05

per call · USD Coin on Base

Premium news articles, books, content and blog posts from independent journalists, news teams, publishers and companies on Distro Media. Pay per article in USDC via x402. Article: How we built JournoBot, the world's first decentralized newsroom agent

Endpoint

GET https://app.distro.media/api/public/news/by-slug/:pubSlug/:storySlug

3

Calls / 30d

3

Unique payers / 30d

Sep 3

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://app.distro.media/api/public/news/by-slug/:pubSlug/:storySlug", {
  method: "GET",
});
const data = await res.json();
cURL
curl -X GET \
  "https://app.distro.media/api/public/news/by-slug/:pubSlug/:storySlug" \
  -H "X-PAYMENT: <signed x402 payment>"

Example response

{
  "content": "Full premium article body returned after payment.",
  "id": 903,
  "preview": "In a series of diagrams, we show how Distro's new AI editorial assistant auto-funds its AI usage over the Morpheus decentralized-computing network.",
  "publication": {
    "id": 68,
    "publication": "Distro Newslode",
    "slug": "distro-newslode"
  },
  "title": "How we built JournoBot, the world's first decentralized newsroom agent"
}

Payment details

Pay to0x8145671ca13d8b97b22238fb903d14e36e720428
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 Distro Media & similar services