Repository navigation
docs: Full x402 usage example (Apify via AGI prepaid token) - #486
Merged
Merged
Conversation
Rename the section to a generic heading and make it a runnable end-to-end walkthrough: wallet setup, buying a prepaid token on agi.apify.com, connecting, calling a tool, and checking the balance. Use the portable header parsing from the rest of the x402 docs instead of gawk-only IGNORECASE. Refs #477 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_015KycPo9KDXbnxVrHaj57HY
Refs #477 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_015KycPo9KDXbnxVrHaj57HY
$1 is the agi.apify.com minimum, so the example is cheaper to try. Refs #477 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_015KycPo9KDXbnxVrHaj57HY
Records the README flow end to end against agi.apify.com and mcp.apify.com. Each render makes a real 1 USDC payment; the GIF follows once recorded. Refs #477 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_015KycPo9KDXbnxVrHaj57HY
jancurn
commented
Nov 5, 2026
Refs #477 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_015KycPo9KDXbnxVrHaj57HY
Recorded with a real 1 USDC payment on Base: wallet balance, payment challenge, x402 sign, prepaid token from agi.apify.com, connect to mcp.apify.com, a tool call, and the remaining balance. Refs #477 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_015KycPo9KDXbnxVrHaj57HY
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Turns the "Paying for Apify with x402" README section from #477 into a generically titled "Full x402 usage example" that runs end to end against Apify: buy a $1 prepaid token on agi.apify.com with x402, then use it with
mcp.apify.com.tools-callafter connecting, and a token balance check; says what Apify isawk -F': 'header parsing from the plain-HTTP example (theIGNORECASEvariant only works with gawk)docs/vhs/x402.tape+x402.gif, recorded with a real 1 USDC payment on Base, embedded in the sectionRefs #477
🤖 Generated with Claude Code
https://claude.ai/code/session_015KycPo9KDXbnxVrHaj57HY