What is trending right now
agentsvc.io/api/v1/proxy/trends-hot
What is trending right now: Hacker News top stories, GitHub trending repositories (stars today/week/month), most-read Wikipedia articles (any language edition), Google News top stories per country, Baidu realtime hot searches and Bilibili popular videos (China). Each item has rank, title, url and a score (points, stars, pageviews, heat, views).
POST
https://agentsvc.io/api/v1/proxy/trends-hotUptime100% of 1 check in 30 days
30 days agoToday
Try it
Pays from your browser wallet in USDC on Base or USDG on Robinhood Chain, whichever the endpoint takes. The provider is paid directly; failed calls aren't refunded by Fourohtwo.
The response shows up here.
Call it from an agent
// npm install fourohtwo
import { createPayer } from "fourohtwo";
// One agent key pays USDC on Base or USDG on Robinhood Chain, inside your spending rules.
const pay = createPayer({ privateKey: process.env.AGENT_KEY, maxPerCallUsd: "0.05" });
const res = await pay("https://agentsvc.io/api/v1/proxy/trends-hot", {
method: "POST",
headers: { "content-type": "application/json" },
body: JSON.stringify({"limit":5,"sources":["hackernews","github","wikipedia"]}),
});
console.log(await res.json());Example input
{
"limit": 5,
"sources": [
"hackernews",
"github",
"wikipedia"
]
}