docs.nanobananaapi.ai
language
language
  • 🇺🇸 English
  • 🇨🇳 Chinese
language
language
  • 🇺🇸 English
  • 🇨🇳 Chinese
Support
NanoBanana APICommon API
NanoBanana APICommon API
  1. Common API
  • Get Account Credits
    GET
  1. Common API

Get Account Credits

GET
/api/v1/common/credit
Retrieve the current balance of credits available in your account.

Usage Guide#

Use this endpoint to check your current credit balance
Monitor usage to ensure sufficient credits for continued service
Plan credit replenishment based on your usage patterns

Developer Notes#

Credit balance is required for all generation services
Service access will be restricted when credits are depleted
Credits are consumed based on the specific service and usage volume

Request

Authorization
Bearer Token
Provide your bearer token in the
Authorization
header when making requests to protected resources.
Example:
Authorization: Bearer ********************
or

Responses

🟢200Success
application/json
Request successful
Bodyapplication/json

🔴500Server Error
Request Request Example
Shell
JavaScript
Java
Swift
curl --location 'https://api.nanobananaapi.ai/api/v1/common/credit' \
--header 'Authorization: Bearer <token>'
Response Response Example
{
    "code": 200,
    "msg": "success",
    "data": 100
}
Modified at 2026-11-11 03:43:02
Built with