Skip to main content

Let your AI agent pay for Actor runs

Agentic payments let an AI agent pay for Actor runs on its own, without signing up for Apify or a person setting up billing. The agent pays through a payment protocol, and the Apify platform meters each run against the amount it paid.

Experimental feature

Agentic payments are experimental and may change as payment protocols evolve.

Supported payment methods

With each payment method, the agent buys a prepaid token from the Apify Agent General Interface:

Payment methodHow the agent paysGuide
x402A one-time payment in stablecoins on Base or Solana, exchanged for a prepaid tokenAgentic payments with x402
MPPA one-time payment in stablecoins on Tempo or Solana, exchanged for a prepaid tokenAgentic payments with MPP
CardA one-time card charge through a Stripe Shared Payment Token sent over MPP, exchanged for a prepaid token, with tax added on topAGI instructions
SkyfireA one-time charge to a Skyfire PAY token funded from a Skyfire wallet, exchanged for a prepaid tokenAgentic payments with Skyfire
Supported cards

Card payments currently work only with cards issued in the US.

Apify Agent General Interface

The Apify Agent General Interface (AGI) is the entry point for agents that pay their own way. An agent pays once through a supported protocol, and AGI returns a temporary Apify API token with a fixed spend cap. To buy and use a token:

  1. List the supported protocols with GET https://agi.apify.com/protocols.
  2. Request a token for an amount in USD through one of the supported payment methods, for example GET https://agi.apify.com/protocols/x402/prepaid-tokens?amount=5&currency=usd. AGI responds with a one-time payment challenge.
  3. Pay the challenge and repeat the request with the signed payment credential. After the payment settles, AGI returns the prepaid token.
  4. Call the Apify API or the MCP server with the Authorization: Bearer <token> header. Check the remaining balance with GET https://agi.apify.com/prepaid-tokens/balance.

The minimum amount for a prepaid token is $1. The token balance is a hard spending cap, the token expires 14 days after you buy it, and unused balance is non-refundable. AGI serves its own instructions at agi.apify.com, written for agents to read before they pay. They cover each protocol, the supported networks and currencies, and the current terms.

A prepaid token works like a regular API token, so it runs any Actor that uses limited permissions, whatever its pricing model. Actors that need full permissions return an error, because a prepaid account can't approve them.

Prepaid account limits

On top of the spending cap, a prepaid account can use at most:

  • 1,000 compute units
  • 10 GB of residential proxy traffic
  • 50,000 Google SERP proxy requests
  • 1,000 GB of external data transfer