{"uid":"cap_qEfN58dpYMZOwP24CN-xl","slug":"apify-prepaid-token-purchase-501badd1","name":"Apify Prepaid Token Purchase","description":"Buy access to Apify's Actors with MPP. Send `{\"amount\":\"<usd>\",\"currency\":\"usd\"}` as a JSON body (or `?amount=<usd>&currency=usd` in the query). Returns a 402 MPP challenge without `Authorization: Payment`; returns an Apify API token after a valid Tempo or Solana charge payment, or a Stripe Shared Payment Token card payment: for a card, name the payer's `country` (and `state` for the US and Canada) and the challenge amount is the price plus tax on top (Czech VAT 21% without a known country); the token's billing details must be complete and in that country, else 422 billing-details-required and nothing is charged. New card purchases need a quote younger than five minutes; 409 quote-expired requires a fresh quote if no payment was submitted. Retry payment-pending with the identical credential. On 202 payment-unresolved, stop and contact Apify with the reference; do not pay again.","url":"https://agi.apify.com/protocols/mpp/prepaid-tokens?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","required":["amount","currency"],"properties":{"state":{"type":"string","example":"CA","description":"Stripe card payments only: US state or Canadian province code, required for the US and Canada."},"amount":{"type":"string","example":"2","pattern":"^\\d+(\\.\\d{1,2})?$","description":"Prepaid amount in USD (e.g. \"5\" or \"1.50\"). Minimum $1."},"country":{"type":"string","example":"DE","description":"Stripe card payments only: ISO 3166-1 alpha-2 country the payer is taxed in. Tax is added on top of the price; Czech VAT (21%) applies when omitted or unknown."},"currency":{"enum":["usd"],"type":"string","example":"usd","description":"Payment currency. Only \"usd\" is supported."}},"additionalProperties":false},"responseSchema":{"type":"object","required":["token","remainingBalanceUsd","expiresAt"],"properties":{"token":{"type":"string","description":"Apify API token; use as Authorization: Bearer <token>."},"expiresAt":{"type":"string","format":"date-time"},"remainingBalanceUsd":{"type":"number"}},"additionalProperties":false},"example":null,"exampleRequest":null,"tags":["scraping","crawling","data-extraction","actors","automation","prepaid-token","data","web"],"displayCostAmount":"1","displayCostAsset":"USDC","priceDynamic":true,"priceHint":"buyer-chosen, minimum $1","priceStatus":"priced","priceSource":"registry","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"dynamic","summary":"buyer-chosen, minimum $1 (dynamic)","primary":{"kind":"dynamic","protocol":"mpp","network":"tempo","amountUsd":"1","per":"call","confidence":"exact"},"accepted":[{"kind":"dynamic","protocol":"mpp","network":"tempo","amountUsd":"1","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_h3zl3ihtvM8slzf7hX8_l","protocol":"mpp","methodType":"crypto","chain":"tempo","mode":"charge","costAmount":"1","costPer":"request","priority":0,"asset":"usd","unit":"request","depositMicros":null,"planRef":null}],"brandName":"Apify","brandSlug":"apify-mpp","brandBaseUrl":"https://apify.com","brandDocsUrl":"https://agi.apify.com","whatItDoes":"Purchases a spend-capped Apify API token by paying a specified USD amount via MPP (Tempo or Solana), enabling access to Apify Actors for web scraping and automation.","exampleAgentPrompt":"Buy me $5 worth of prepaid Apify access so I can run their Actors for web scraping — charge in USD.","exampleUseCases":[{"title":"Fund scraping run for lead generation","prompt":"Get me a prepaid Apify token loaded with $10 in USD so I can run their LinkedIn scraper Actor and pull leads."},{"title":"Budget-capped research data pull","prompt":"I need to extract product data from an e-commerce site using Apify — buy me a $2 prepaid token in USD to get started."},{"title":"One-off social media data extraction","prompt":"Can you purchase a $5 Apify prepaid token in USD so I can use their Instagram scraper Actor for a one-time data pull?"}],"resultDescription":"Returns a time-limited Apify API token (for use as `Authorization: Bearer <token>`), the remaining balance in USD on that token, and an expiry timestamp. The token grants access to Apify Actors up to the prepaid spend limit.","failureModes":["402 Payment Required — no valid MPP Authorization: Payment header present; agent must complete Tempo or Solana payment challenge first","Invalid amount format — amount must match pattern ^\\d+(\\.\\d{1,2})?$ and be at least $1","Unsupported currency — only 'usd' is accepted","Payment verification failure — MPP charge was invalid or insufficient","Token generation failure — internal Apify error after valid payment"],"whenToPreferThis":"Use this endpoint when an agent needs programmatic, budget-capped access to Apify's Actor marketplace for web scraping, crawling, or data extraction tasks, and wants to pay via MPP (Tempo or Solana) rather than managing a full Apify subscription. Ideal for one-off or automated workflows where spend control is critical.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-12-01T18:36:54.809Z","isFirstParty":false,"canonicalSlug":"apify-prepaid-token-purchase-c94225fd"}