# Coinlight Solana USDC Balance

> Coinlight Solana USDC Balance is a paid API for AI agents from coinlight-app.vercel.app, paid per call via x402, $0.005/call, status unknown (last checked 2026-10-30).

Returns the total USDC balance of a Solana wallet by summing all associated USDC token accounts

## Facts

- Endpoint: GET https://coinlight-app.vercel.app/p/solana-usdc-balance?utm_source=zero.xyz
- Price: $0.005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-30
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/coinlight-solana-usdc-balance-54495cbd
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_DClXpHoUylZEvMuFc83pQ

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability coinlight-solana-usdc-balance-54495cbd
```

Example prompt: What's the total USDC balance for Solana wallet HD1ryR3dYSXBVNGfJZydbpmnChiE1wrAQkupWWtHt4pM? I want to make sure it has enough to cover the payment before I proceed.

## When to prefer this

Use this endpoint when you need a quick, single-call lookup of a Solana wallet's total USDC balance — especially before initiating or accepting a USDC payment on Solana. Prefer this over general Solana RPC calls when you want a clean, aggregated balance that sums across all USDC token accounts without writing custom logic.

## Known failure modes

- Invalid or malformed base58 wallet address returns an error
- Wallet address with no USDC token accounts returns zero balance
- Network or RPC node timeouts may cause failed lookups
- Missing required 'address' query parameter returns a validation error
- Rate limiting or payment failure if x402 payment not included

## How this service works

Coinlight charges USDC per API call with the x402 protocol on Solana and Base.

## Output

A JSON response containing the total USDC balance (summed across all USDC token accounts) for the specified Solana wallet address, labeled under the endpoint name.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "examples": [
      {
       "address": "HD1ryR3dYSXBVNGfJZydbpmnChiE1wrAQkupWWtHt4pM"
      }
     ],
     "required": [
      "address"
     ],
     "properties": {
      "address": {
       "type": "string",
       "description": "Solana wallet address (base58)."
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "endpoint": "Solana USDC balance"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/coinlight-solana-usdc-balance-54495cbd/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from coinlight-app.vercel.app](https://www.zero.xyz/host/coinlight-app.vercel.app/llms.txt)
