Official agent skill

Apify X402 Agentic Wallet

by apify in apify/awesome-skills

Discover, pay for, and run any Apify Actor by paying USDC on Base over the x402 protocol with a Coinbase Agentic Wallet (awal) — no Apify account or API key.

OfficialApache-2.0Auto-check passedData & Analytics

Install Apify X402 Agentic Wallet

skills CLI
$ npx skills add apify/awesome-skills --skill apify-x402-agentic-wallet -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install apify/awesome-skills apify-x402-agentic-wallet --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/apify/awesome-skills.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/apify-x402-agentic-wallet .claude/skills/apify-x402-agentic-wallet && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
apify-x402-agentic-wallet
GitHub stars
265
Token cost
~2.8k tokens
SKILL.md length
1,424 words
Files
1
Skills in repo
25
Repo updated
First seen
Licence
Apache-2.0

At a glance

Discover, pay for, and run any Apify Actor by paying USDC on Base over the x402 protocol with a Coinbase Agentic Wallet (awal) — no Apify account or API key.

  • Works in 4 steps: Authenticate the wallet → Check funding (two assets on Base: USDC… → Buy a prepaid Apify token (one x402… → …
  • The user wants to use Apify tools without signing up
  • SKILL.md covers About this page, Start here — greet the user,…, Step 1 — Authenticate the wallet and Step 2 — Check funding (two…, plus 5 more sections
  • Calls npx and curl; reaches agi.apify.com and apify.com

What it does

Apify X402 Agentic Wallet is an agent skill from apify/awesome-skills, published by the product's own GitHub organization. Discover, pay for, and run any Apify Actor by paying USDC on Base over the x402 protocol with a Coinbase Agentic Wallet (awal) — no Apify account or API key. You buy one small, spend-capped prepaid Apify token, then run as many Actors as the request needs with it. Use when the user wants to use Apify tools without signing up, pay per use with crypto / USDC, set up an agentic wallet, mentions "x402", "awal", "agentic wallet", "Coinbase wallet", "pay with USDC", "no API key", or asks to pull live web data (social…

Its SKILL.md is about 2.8k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in Data & Analytics, covering Web scraping. It works with Apify, x402, Circle USDC and Coinbase. The repository describes itself as: Community collection of Apify agent skills for AI coding assistants. The licence is Apache-2.0.

When your agent uses it

  • The user wants to use Apify tools without signing up
  • Pay per use with crypto / USDC
  • Set up an agentic wallet
  • Coinbase wallet

Example prompts

  • “agentic wallet”
  • “Coinbase wallet”
  • “pay with USDC”
  • “/apify-x402-agentic-wallet”

Requirements

  • Node.js

Workflow steps

4 steps, taken from the step headings in SKILL.md.

  1. Authenticate the wallet
  2. Check funding (two assets on Base: USDC + ETH)
  3. Buy a prepaid Apify token (one x402 payment)
  4. Handle the user's request

What it can do on your machine

Read from SKILL.md and the folder at commit 1eb0cd0. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Shell commands in SKILL.md call:

    • npx
    • curl

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    Hosts in commands or code, which the agent is likely to contact:

    • agi.apify.com
    • apify.com
    • api.apify.com

    Also links to:

    • docs.apify.com
    • docs.cdp.coinbase.com

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Apify X402 Agentic Wallet loads about 2.8k tokens when it runs. Until then it costs about 154 tokens; SKILL.md has 1,424 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~154
When it runs · the whole SKILL.md, loaded when a task matches
~2.8k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from apify/awesome-skills at commit 1eb0cd0, republished under its Apache-2.0 licence (© apify). 1,424 words, ~2,830 tokens.

Download SKILL.mdSave it as .claude/skills/apify-x402-agentic-wallet/SKILL.md (or your agent's skills folder).
name
apify-x402-agentic-wallet
description
Discover, pay for, and run any Apify Actor by paying USDC on Base over the x402 protocol with a Coinbase Agentic Wallet (awal) — no Apify account or API key. You buy one small, spend-capped prepaid Apify token, then run as many Actors as the request needs with it. Use when the user wants to use Apify tools without signing up, pay per use with crypto / USDC, set up an agentic wallet, mentions "x402", "awal", "agentic wallet", "Coinbase wallet", "pay with USDC", "no API key", or asks to pull live web data (social media, search, maps, marketplaces, news) while paying on-chain per use.
author
Martin Forejt
author_url
https://github.com/martinforejt
metadata.keywords
x402, awal, agentic-wallet, coinbase, usdc, base, crypto, pay-per-use, prepaid-token, no-api-key, micropayments, web-data

Use Apify tools by paying with an agentic wallet (x402)

You are an agent with a Coinbase Agentic Wallet (awal). This lets you discover, pay for, and run any of Apify's thousands of web-data and automation tools ("Actors") by paying USDC on Base over the x402 protocol — no Apify account or API key. Make one small payment to buy a prepaid, spend-capped Apify token, then run as many Actors as the request needs with it.

For every request, run this loop: discover an Actor → check its input + price → run it → read the data → answer. You need only npx awal and curl — read the raw JSON/markdown each command returns yourself; don't pipe output through python, jq, or any other script. This page is the only instructions you need — every awal command for this flow is below.


About this page

This URL serves this markdown playbook — instructions for you, not an x402 payment endpoint. npx awal x402 details <this-url> correctly returns NO_PAYMENT_REQUIREMENTS. Read the page with curl (or your built-in fetch) and follow the steps below. Real x402 payments happen at agi.apify.com/protocols/x402/prepaid-tokens?amount=…&currency=usd in Step 3.


Start here — greet the user, then set up

Don't run anything yet. First introduce yourself and ask to begin. Say something like:

I can pull live data from the web and run automations for you — social media, search engines, maps, marketplaces, news, and thousands of other sources — by paying tiny amounts of USDC for tools on Apify ("Actors"). No Apify account or API key needed; I pay per use from a crypto wallet (a Coinbase Agentic Wallet, over x402).

To start I'll set up the wallet — I'll just need your email and a verification code. Then you can ask me for any web-data task. Want to begin? If so, what email should I use?

Only proceed when the user agrees. Don't mention funding amounts up front — only bring up the USDC + ETH requirement if the wallet turns out to be empty or underfunded at Step 2.

Step 1 — Authenticate the wallet

Always ask the user for their email. Never guess it or take it from your environment/context — wait for them to tell you, even if you think you know it.

bash
npx -y awal auth login <email>  # emails the user a verification code

(awal needs no install — npx fetches and caches it on first use. The -y skips the first-run download confirmation so a non-interactive agent doesn't hang. Use plain npx awal thereafter.) Then ask the user for the code and verify it:

bash
npx awal auth verify <code>
npx awal status                 # expect: Authenticated, logged in as <email>

The wallet is created on first login. If status isn't authenticated, repeat the login/verify pair. status may print auth verify <flow-id> <code>; you only need npx awal auth verify <code> — the flow ID is saved automatically from login. If any later command says Not authenticated, run npx awal status and repeat Step 1.

Step 2 — Check funding (two assets on Base: USDC + ETH)

bash
npx awal balance --chain base --json   # need BOTH: USDC > $1 AND ETH > 0
npx awal address                 # get the wallet address if the user needs to fund it

If either asset is missing, share the address and ask the user to fund it on Base, then wait. To make funding easy, fetch a scannable QR of the address:

bash
curl -s "https://apify.com/api/wallet-qr?address=<wallet-address>"

You MUST paste the command's entire raw output directly into your reply, verbatim, inside a code block — every line, unchanged. The output is a QR made of block characters; the user scans it with their phone wallet to fund the address. Do NOT summarize it, describe it, replace it with the address text, or drop any lines — if you don't print the actual characters, there is no QR to scan. Show the QR first, then the funding instructions. Optionally open the wallet UI for Coinbase Onramp:

bash
npx awal show   # opens the companion window; user can fund with card/Apple Pay/Coinbase

⚠️ USDC alone is not enough — you need a little ETH for gas. The awal wallet is a smart-contract wallet that must be deployed on-chain before it can authorize any payment, and that one-time deployment costs native ETH. With USDC but 0 ETH, the first payment fails:

Failed to deploy wallet
... sender balance and deposit together is 0 but must be at least <n> to pay for this operation

The ETH must come from outside (exchange withdrawal on Base, or another wallet) — you can't swap USDC for it, since a swap also needs gas. ~0.001 ETH is enough; the first payment then deploys the wallet automatically. Apify payments themselves are gasless.

Step 3 — Buy a prepaid Apify token (one x402 payment)

Pause and ask the user to confirm before paying. Tell them what you're about to do — e.g. "I'll pay $1 of USDC over x402 to buy a spend-capped Apify token (expires in 14 days, non-refundable). Go ahead?" — and only run the command once they say yes. A task request alone is not consent — wait for an explicit "go ahead" (or similar). This is the moment people are here to see, so don't do it silently.

Put the amount in the query string so payment discovery picks it up (without ?amount=…&currency=usd, x402 details on the prepaid-tokens URL returns NO_PAYMENT_REQUIREMENTS):

bash
npx awal x402 pay 'https://agi.apify.com/protocols/x402/prepaid-tokens?amount=1&currency=usd' \
  --max-amount 1000000 --json

--max-amount is a safety cap in USDC atomic units (1000000 = $1.00). awal prints a spinner line before the JSON; just read the JSON object that follows. On success:

json
{"status":201,"data":{"token":"apify_api_...","remainingBalanceUsd":1,"expiresAt":"<+14 days>"}}

Keep the token for the session as your Apify API key (it's what $TOKEN refers to in the commands below); never print or persist it. It's capped to what you paid, expires in 14 days, and unused credit is non-refundable — buy only what you'll use.

Fails with currency must be "usd" → params must be in the URL. Fails with Failed to deploy wallet → see the ETH note in Step 2. Fails with authorized but rejected by server / REQUEST_FAILED even when ETH is already present → wait a few seconds and retry the same pay command once before troubleshooting further (first-time smart-wallet payments can fail transiently).

Show full SKILL.md (514 more words)Show less

Step 4 — Handle the user's request

Ask what they want, then run the loop. The user can ask for anything — there's no fixed menu. Read the JSON/markdown each command returns directly. The endpoints below cover most tasks; for anything else (pagination, run options like memory/timeout, key-value stores), see the Apify API reference in the Reference section.

a. Discover an Actor — search the Store with terms from the request:

bash
curl -s -H "Authorization: Bearer $TOKEN" \
  "https://api.apify.com/v2/store?search=<url-encoded terms>&limit=5"

Read data.items[] and pick one by username/name (prefer high usage/ratings). The API id joins them with a tilde: username~name. For a multi-source request, use one Actor per source.

b. Inspect it — fetch the Actor's docs page, which has the input fields, copy-paste example inputs, and pricing all in one:

bash
curl -s "https://apify.com/<username>/<name>.md"

Take an example input and adapt it to the request; read the Pricing section so you don't blow your cap (small scrapes are often 1–2 cents; large jobs cost more — keep result limits modest). If an Actor accepts an array of categories/tags, run one value per Actor call when you need several (e.g. ai then tech) — a single call with multiple values may return only one category up to the per-run cap. Merge and dedupe in your answer using stable id fields.

c. Run it and read the results:

bash
curl -s -X POST "https://api.apify.com/v2/acts/<username~name>/run-sync-get-dataset-items" \
  -H "Authorization: Bearer $TOKEN" -H "Content-Type: application/json" \
  -d '<input-json>'

Then answer concisely. Watch for failures:

  • Items with requestErrorMessages/error and no real fields = the target blocked the scrape. Retry once, else try another Actor. Never present a blocked/empty run as a result or fabricate data.
  • run-sync times out ~5 min. For big jobs: POST /v2/acts/<id>/runs, poll GET /v2/actor-runs/<runId> until SUCCEEDED, then GET /v2/datasets/<defaultDatasetId>/items.
  • Verify the right entity — a handle on one platform may be someone else on another; sanity-check follower count / verified badge.
  • Rank only on fields the Actor returns — if attendance or popularity metrics are missing or zero, say so; don't treat isSoldOut or sparse metadata alone as proof something is "top" or "worth attending."

Manage the balance

bash
curl -s "https://agi.apify.com/prepaid-tokens/balance" -H "Authorization: Bearer $TOKEN"

When low, buy another token (Step 3) and switch to it.

Guardrails

  • Your spending cap is the token balance. Spend only what the task needs; check price before big jobs.
  • You may run auth login/auth verify and buy a token yourself. Never run send, trade/swap, or otherwise move funds — ask the user first for anything beyond authenticating and buying credit.
  • Never print or persist the token. Treat it like a live API key.
  • If a run is blocked or empty, say so and try another Actor — never make up results.

Reference

© apify, Apache-2.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in skills/apify-x402-agentic-wallet of apify/awesome-skills.

Open the folder on GitHubat commit 1eb0cd0

Compare with similar skills

Apify X402 Agentic Wallet next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Apify X402 Agentic Wallet compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Apify X402 Agentic Wallet this skillapify/awesome-skills265—~2.8kAutomated safety check: PassApache-2.0
Tiktok APIaiskillstore/marketplace430—~2kAutomated safety check: PassNone
Twitter APIaiskillstore/marketplace430—~2.2kAutomated safety check: PassNone
Reddit Post Findergooseworks-ai/goose-skills1.2k1 repos~1.2kAutomated safety check: PassMIT
Apify CLIapify/apify-cli256—~1.5kAutomated safety check: PassApache-2.0
Apify Collectextrasmall0/dear-hiring-manager112—~1.1kAutomated safety check: NotesMIT

Similar skills

  • Tiktok API

    aiskillstore/marketplace

    A TikTok API alternative on fetcher.sh — pay-per-call in USDC via x402, or prepaid credits with a Bearer key, no login and no app review.

    430 GitHub stars~2k tokensUpdated today
    Data & AnalyticsAuto-check passed
  • Twitter API

    aiskillstore/marketplace

    A Twitter API alternative and X API alternative on fetcher.sh — pay-per-call in USDC via x402, or prepaid credits with a Bearer key, no OAuth and no developer application.

    430 GitHub stars~2.2k tokensUpdated today
    Data & AnalyticsAuto-check passed
  • Reddit Post Finder

    gooseworks-ai/goose-skills

    Scrape and search Reddit posts using Apify. An agent skill from gooseworks-ai/goose-skills.

    1.2k GitHub starsUsed in 1 repo~1.2k tokens
    Data & AnalyticsAuto-check passed
  • Apify CLI

    apify/apify-cli

    Official

    Patterns for invoking the Apify CLI (apify) from agents. An agent skill from apify/apify-cli.

    256 GitHub stars~1.5k tokensUpdated today
    Data & AnalyticsAuto-check passed
  • Apify Collect

    extrasmall0/dear-hiring-manager

    Collect fresh job-posting URLs into ~/.dear-hiring-manager/urls.txt by running an Apify job scraper — the discovery source for /batch.

    112 GitHub stars~1.1k tokensUpdated 2 mo ago
    Data & AnalyticsAuto-check: notes
  • Carousel Benchmark

    nestyme/awesome-prompts

    Find the TikTok photo-mode carousels (slideshows) that actually go viral in a niche and the accounts behind them, rank them by organic quality (save-rate, like-rate, boost detection) instead of raw…

    151 GitHub stars~2.6k tokensUpdated 9 days ago
    Data & AnalyticsAuto-check: notes

More from apify/awesome-skills

All 25 skills in this repo
  • Apify Buying Signal Detection

    apify/awesome-skills

    Official

    Set up a recurring buying-signal detection pipeline that finds companies showing buying intent across three signal types — job postings (hiring for the persona), fundraising events (recent raises)…

    265 GitHub stars~5.1k tokensUpdated 16 days ago
    Auto-check: notes
  • Apify Lead Scoring Enrichment

    apify/awesome-skills

    Official

    Score and enrich a CSV of B2B leads using Apify Actors. An agent skill from apify/awesome-skills.

    265 GitHub stars~4.4k tokensUpdated 16 days ago
    Auto-check: notes
  • Apify App Store Intelligence

    apify/awesome-skills

    Official

    Pull structured Apple App Store and Google Play data — app metadata, price, rating, the 1–5★ ratings histogram, version, developer, and reviews — and watch it for changes over time.

    265 GitHub stars~3.5k tokensUpdated 16 days ago
    Auto-check passed
  • Apify Ashby Jobs Scraper

    apify/awesome-skills

    Official

    Scrape Ashby jobs or discover companies using Ashby with the Apify Ashby Job Board API Actor (johnvc/ashby-job-board-scraper).

    265 GitHub stars~3.7k tokensUpdated 16 days ago
    Auto-check passed
  • Apify Company Data API

    apify/awesome-skills

    Official

    Pull structured B2B company data from Clutch.co with the Clutch.co Agency API Actor (johnvc/clutch-agency-api).

    265 GitHub stars~2.8k tokensUpdated 16 days ago
    Auto-check passed
  • Apify Google Maps Leads

    apify/awesome-skills

    Official

    Build a local-business lead database from Google Maps in one Apify pipeline: search by target audience + geography, enrich each place with company contacts from its website, leads enrichment (names…

    265 GitHub stars~3.8k tokensUpdated 16 days ago
    Auto-check passed

Questions about Apify X402 Agentic Wallet

What does Apify X402 Agentic Wallet do?

Discover, pay for, and run any Apify Actor by paying USDC on Base over the x402 protocol with a Coinbase Agentic Wallet (awal) — no Apify account or API key. Apify X402 Agentic Wallet is an agent skill from apify/awesome-skills, published by the product's own GitHub organization. Discover, pay for, and run any Apify Actor by paying USDC on Base over the x402 protocol with a Coinbase Agentic Wallet (awal) — no Apify account or API key.

When should I use Apify X402 Agentic Wallet?

Apify X402 Agentic Wallet fits situations like: the user wants to use Apify tools without signing up; pay per use with crypto / USDC; set up an agentic wallet; coinbase wallet.

How do I install Apify X402 Agentic Wallet in Claude Code?

Run `npx skills add apify/awesome-skills --skill apify-x402-agentic-wallet -a claude-code`. Or copy the skill folder (skills/apify-x402-agentic-wallet in apify/awesome-skills) into .claude/skills/apify-x402-agentic-wallet in your project. Claude Code loads it when a task matches its description.

How do I install Apify X402 Agentic Wallet in Codex?

Run `npx skills add apify/awesome-skills --skill apify-x402-agentic-wallet -a codex`. Or copy the skill folder (skills/apify-x402-agentic-wallet in apify/awesome-skills) into .agents/skills/apify-x402-agentic-wallet in your project. Codex loads it when a task matches its description.

Can I use Apify X402 Agentic Wallet in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add apify/awesome-skills --skill apify-x402-agentic-wallet -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/apify-x402-agentic-wallet, .gemini/skills/apify-x402-agentic-wallet, .github/skills/apify-x402-agentic-wallet and .opencode/skills/apify-x402-agentic-wallet in your project.

What does Apify X402 Agentic Wallet need to run?

Going by SKILL.md and its folder, Apify X402 Agentic Wallet needs the command-line tools its instructions call (npx and curl). Our summary lists: Node.js.

Does Apify X402 Agentic Wallet access the network?

SKILL.md names 5 domains. In commands or code: agi.apify.com, apify.com and api.apify.com; the agent is likely to contact these when it follows the instructions. As links in the text: docs.apify.com and docs.cdp.coinbase.com. This is read from the text; nothing was executed.

Is Apify X402 Agentic Wallet safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Apify X402 Agentic Wallet use?

Apify X402 Agentic Wallet is published under the Apache-2.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Apify X402 Agentic Wallet use?

About 2.8k tokens (SKILL.md is roughly 11k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Apify X402 Agentic Wallet?

Skills that share tags, products or a category with Apify X402 Agentic Wallet: Tiktok API (aiskillstore/marketplace, 430 stars), Twitter API (aiskillstore/marketplace, 430 stars), Reddit Post Finder (gooseworks-ai/goose-skills, 1.2k stars) and Apify CLI (apify/apify-cli, 256 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Apify X402 Agentic Wallet?

apify (a GitHub organization, an official publisher) maintains it in apify/awesome-skills, which has 265 GitHub stars. The repository holds 25 skills in this directory. The repository was last updated on September 22, 2026.

Source: apify/awesome-skills on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.