Skip to content
Fourohtwo

Pay per call, solves one question

api.agentweather.io/v1/npm/downloads

Pay per call, solves one question: How many npm downloads did this package have in this period? npm's own published download count for one package and period (last-day, last-week, last-month, last-year, or a date range of up to 18 months) from npm's documented public API, with source and observed_a…

BaseXRP LedgerAnswering
GEThttps://api.agentweather.io/v1/npm/downloads

Uptime100% of 3 checks 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://api.agentweather.io/v1/npm/downloads?package=express&period=last-week");
console.log(await res.json());

Example input

{
  "package": "express",
  "period": "last-week"
}

More from Agent WeatherProvider status