Skip to main content
POST
Buy standing access with an x402 or MPP payment
Payment is an x402 payment in USDC on Base, or an MPP payment (USDC.e on Tempo, or a card through Stripe) — not an API key: call once without a credential to receive the 402 with both challenges, pay one, and repeat the request with PAYMENT-SIGNATURE or Authorization: Payment …. Pay per request walks through it with code.

Authorizations

PAYMENT-SIGNATURE
string
header
required

An x402 payment for this one request: the signed payment for the challenge a bare request receives in its PAYMENT-REQUIRED header. Alternative to the bearer API key. See https://docs.brandfetch.com/agents/pay-per-request.

Query Parameters

usd
integer
required

Whole US dollars to pay, between 1 and 500. Buys usd × 20 credits.

Required range: 1 <= x <= 500
rotateKey
boolean
default:false

When true on a top-up, issues a new key holding the combined balance, returned once like any other. The wallet's earlier keys stop working once the new key has been returned, even if the client never receives that response. If the rotation is answered with an error instead of the new key, they keep working. A retry answered 409 credential_already_delivered means the rotation completed: pay again with rotateKey=true for a new key.

Response

Topped up: the wallet already owned an organization. The credential is returned once, in this response.

organization
object
apiKey
object

The API key. Returned once, in the response that completes the purchase: store it.

apiClient
object | null

The Logo API client, for cdn.brandfetch.io URLs.

mcp
object
credits
object
usage
object
topUp
object
documentation
string
Example:

"https://docs.brandfetch.com/agents/overview"