npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@agentservices/client

v5.3.0

Published

Client SDK for AgentServices — 50+ paid APIs for AI agents with crypto data, stocks, SEC filings, commodities, FX, LLM inference, and market intelligence. x402 micropayments via USDC on Base.

Readme

AgentServices Client SDK

Client SDK for AgentServices — paid data APIs for AI agents.

Install

npm install aiservices-client

Quick Start

const { AgentServicesClient } = require("aiservices-client");

const client = new AgentServicesClient();

// Free endpoints — no payment needed
const btc = await client.getPrice("BTC");
const batch = await client.getPrices(["BTC", "ETH", "SOL"]);
const fearGreed = await client.getFearGreed();
const geo = await client.getGeo("8.8.8.8");
const policies = await client.listPolicies();

// Paid endpoints — require x402 payment (USDC on Base)
// These will return 402 Payment Required without payment headers
const indicators = await client.getIndicators("BTC");     // $0.02
const yields = await client.getYields({ limit: 20 });      // $0.02
const metadata = await client.getMetadata("https://example.com"); // $0.01
const ruling = await client.fileDispute({                  // $0.05
  policy: "freelance-delivery",
  claimant: "0x123...",
  respondent: "0x456...",
  claim: "Service delivered but payment refused",
  desiredRemedy: "Full payment of 0.5 ETH",
  evidence: [],
});

Endpoints

| Endpoint | Method | Price | Description | |---|---|---|---| | /v1/price/{symbol} | GET | FREE | Current crypto price | | /v1/prices?symbols= | GET | FREE | Batch crypto prices | | /v1/fear-greed | GET | FREE | Crypto Fear & Greed Index | | /v1/geo/{ip} | GET | FREE | IP geolocation | | /v1/policies | GET | FREE | List dispute policy templates | | /v1/indicators/{symbol} | GET | $0.02 | RSI, Bollinger Bands, ATR, Support/Resistance | | /v1/yields | GET | $0.02 | Top DeFi yield pools by TVL | | /v1/metadata?url= | GET | $0.01 | URL metadata extraction | | /v1/disputes | POST | $0.05 | Policy-driven dispute resolution (AgentCourt engine) |

Dispute Resolution

File disputes using 7 policy templates:

  • freelance-delivery — Work-for-hire delivery disputes
  • milestone-payment — Milestone-based payment disputes
  • bug-bounty — Severity, reproducibility, disclosure disputes
  • api-quality — API quality issues on paid calls
  • scope-dispute — Agent mandate/scope violations
  • sla-monitoring — SLA violation disputes
  • physical-commerce — Physical product disputes

x402 Payment

Paid endpoints use the x402 protocol with USDC on Base Mainnet.

To enable automatic payment, pass wallet credentials:

const client = new AgentServicesClient({
  walletAddress: "0x...",
  privateKey: "0x...",
});

License

MIT