X402 Balance
Read a wallet-derived project’s credit balance auth by off-chain wallet signature
POST
/
x402
/
balance
X402 Balance
const options = {
method: 'POST',
headers: {'Content-Type': 'application/json'},
body: JSON.stringify({
address: '<string>',
issued_at: '<string>',
nonce: '<string>',
signature: '<string>'
})
};
fetch('https://api.browser-use.com/api/v3/x402/balance', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));curl --request POST \
--url https://api.browser-use.com/api/v3/x402/balance \
--header 'Content-Type: application/json' \
--data '
{
"address": "<string>",
"issued_at": "<string>",
"nonce": "<string>",
"signature": "<string>"
}
'import requests
url = "https://api.browser-use.com/api/v3/x402/balance"
payload = {
"address": "<string>",
"issued_at": "<string>",
"nonce": "<string>",
"signature": "<string>"
}
headers = {"Content-Type": "application/json"}
response = requests.post(url, json=payload, headers=headers)
print(response.text){
"wallet": "<string>",
"project_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"total_credits_usd": 123,
"additional_credits_usd": 123
}{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>"
}
]
}Body
application/json
Wallet-signature auth payload for a free, read-only balance check
Response
Successful Response
Was this page helpful?
⌘I
X402 Balance
const options = {
method: 'POST',
headers: {'Content-Type': 'application/json'},
body: JSON.stringify({
address: '<string>',
issued_at: '<string>',
nonce: '<string>',
signature: '<string>'
})
};
fetch('https://api.browser-use.com/api/v3/x402/balance', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));curl --request POST \
--url https://api.browser-use.com/api/v3/x402/balance \
--header 'Content-Type: application/json' \
--data '
{
"address": "<string>",
"issued_at": "<string>",
"nonce": "<string>",
"signature": "<string>"
}
'import requests
url = "https://api.browser-use.com/api/v3/x402/balance"
payload = {
"address": "<string>",
"issued_at": "<string>",
"nonce": "<string>",
"signature": "<string>"
}
headers = {"Content-Type": "application/json"}
response = requests.post(url, json=payload, headers=headers)
print(response.text){
"wallet": "<string>",
"project_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"total_credits_usd": 123,
"additional_credits_usd": 123
}{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>"
}
]
}