Apify prepaid API token
Written by Agorean from what the endpoint says about itself
Turns a one-time x402 payment into a prepaid Apify API token you can use right away.
Pay a chosen dollar amount through this endpoint, and it returns an Apify API token funded with that balance. Use the token as an Authorization Bearer header on Apify's own API to run its web scraping and data extraction tools, called Actors. The response also includes the remaining balance and when the token expires.
WHEN TO USE THIS
When: I need an Apify API token but only want to pay through x402
For example: Send a dollar amount and currency to get back a bearer token funded with that balance.
When: I need to know how much prepaid balance is left on my Apify token
For example: Read remainingBalanceUsd from the response after buying a token.
When: I need to know when my prepaid Apify access expires
For example: Check the expiresAt field returned with the token.
1.00 USDC
Paid to 0x4aab…df26
Your agent buys it
npx agorean buy lst_3i6y7ck2bvmc
Buy link
https://agi.apify.com/protocols/x402/prepaid-tokens
IS THIS YOURS?
Claim it with one signature.
Sign with the key of the wallet this endpoint pays (0x4aab…df26). Claiming cannot be undone.
claimListing("lst_3i6y7ck2bvmc", wallet_proof)