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

payperscreen-agentkit

v0.2.2

Published

Coinbase AgentKit action provider for PayPerScreen: sanctions, PEP, crypto wallet, email, IP and link screening, paid per check in USDC over x402 from the agent's own wallet, or from a PayPerScreen plan.

Readme

payperscreen-agentkit

Coinbase AgentKit action provider for PayPerScreen: sanctions, crypto wallet, email, IP and link screening for AI agents.

Your agent screens a person, company, wallet, email or IP address before it pays, onboards or trades, and pays for each check itself: $0.02 in USDC over x402, from the agent's own wallet. No account, no API key.

Install

npm install payperscreen-agentkit @coinbase/agentkit

Use

import { AgentKit } from "@coinbase/agentkit";
import { payperscreenActionProvider } from "payperscreen-agentkit";

const agentkit = await AgentKit.from({
  walletProvider,                       // any EVM wallet provider (CDP, Viem, Privy...)
  actionProviders: [
    payperscreenActionProvider({
      maxPriceUsd: 0.05,                // refuse any single check priced above this
      maxSpendUsd: 1,                   // stop after spending this much in total
    }),
    // ...your other action providers
  ],
});

Then use AgentKit as usual with your framework (LangChain, Vercel AI SDK, OpenAI Agents, MCP). Ask the agent things like "Screen Jane Doe, born 1990-04-12, Brazil, before we pay her invoice" or "Is this wallet safe to send USDC to?".

Actions

| Action | What it does | Price | |---|---|---| | screen_name | Person or company against official sanctions and export-control lists (US, UN, EU, UK and more, refreshed daily). Fuzzy matching; each possible match compares date of birth, nationality and type. | $0.02 | | screen_pep | Politically exposed persons: current and recent heads of state and government, ministers, members of parliament, senior judges, ambassadors, central bank heads and senior military officers in every country. Offices with dates and status, a date of birth / country comparison, and the sources that confirm each match. | $0.02 | | screen_wallet | Wallet address against OFAC-sanctioned addresses, stablecoin-issuer freezes and wallets tied to major hacks. | $0.02 | | check_email | Email fraud signals: disposable or brand-new domain, look-alikes, privacy providers, forwarding aliases, random-looking addresses. | $0.02 | | check_ip | Sanctioned country, VPN, proxy, Tor, botnet and hosting signals; country and network owner. | $0.02 | | check_url | Link or domain before opening or paying it: Google Web Risk, reported phishing, brand look-alikes, brand-new domain and more. Never visits the page. | $0.02 | | screening_lists_coverage | Which lists are checked, record counts and last refresh. | Free |

Results are possible matches and signals for a person to review, not a legal determination.

Wallet and payment

  • The agent's wallet needs USDC on Base (or Polygon or Arbitrum). No ETH needed: the payment is a signed USDC authorisation and the facilitator pays the gas.
  • Only USDC payment options are ever signed. The agent pays on its own network when the API offers it, otherwise on Base.
  • Caps (also settable with environment variables):
    • maxPriceUsd / PAYPERSCREEN_MAX_PRICE_USD: most for one check (default 0.05). A higher price is refused before anything is signed.
    • maxSpendUsd / PAYPERSCREEN_MAX_SPEND_USD: most in total for the process (default 1.00).
  • Payment settles only when a result comes back: bad input or errors cost nothing.
  • Every paid result includes the payment receipt (amount, network, transaction hash).

Using a PayPerScreen plan instead

If you have a PayPerScreen plan, pass its key and checks come from the plan's bundle instead of the wallet:

payperscreenActionProvider({ apiKey: process.env.PAYPERSCREEN_API_KEY })

Nothing is paid from the wallet then, and the spending caps don't apply. Each result says how many checks the plan has left; a failed check isn't counted.

Configuration

| Option | Env var | Default | |---|---|---| | apiUrl | PAYPERSCREEN_API_URL | https://api.payperscreen.com | | maxPriceUsd | PAYPERSCREEN_MAX_PRICE_USD | 0.05 | | maxSpendUsd | PAYPERSCREEN_MAX_SPEND_USD | 1 | | apiKey | PAYPERSCREEN_API_KEY | none (pay from the wallet) |

Links

  • Docs: https://payperscreen.com/docs
  • Lists we check: https://payperscreen.com/lists
  • Also available as an MCP server: payperscreen-mcp

MIT licence.