# Coinlight Solana Associated Token Address Deriver

> Coinlight Solana Associated Token Address Deriver 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-29).

Derives the Associated Token Account (ATA) address for a given owner wallet and mint address on Solana, offline and deterministically, supporting both spl-token and token-2022 programs.

## Facts

- Endpoint: GET https://coinlight-app.vercel.app/p/solana-associated-token-address?utm_source=zero.xyz
- Price: $0.005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-29
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/coinlight-solana-associated-token-address-deriver-80665ce5
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_LenDiXNoIFPg4gbTJXKks

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-associated-token-address-deriver-80665ce5
```

Example prompt: What is the associated token account address for wallet HD1ryR3dYSXBVNGfJZydbpmnChiE1wrAQkupWWtHt4pM and mint EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v using the spl-token program?

## When to prefer this

Use this endpoint when you need to quickly and cheaply derive a Solana ATA address without spinning up a local Solana SDK or making an RPC call to a validator node. Ideal for transaction construction, pre-flight checks, or batch derivation where speed and determinism matter. Prefer over a full Solana RPC call when you only need the address and not on-chain account state.

## Known failure modes

- Invalid base58 owner or mint address returns an error response
- Unsupported program value (other than spl-token or token-2022) may cause a validation error
- Network/payment failure (HTTP 402 if payment not processed correctly)
- Malformed query parameters result in a 400 bad request

## How this service works

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

## Output

Returns the derived Associated Token Account (ATA) address as a base58 string for the given owner and mint combination. The computation is deterministic and performed offline — no Solana RPC call is made, so the result is the canonical PDA address regardless of whether the account exists on-chain yet.

## 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": [
      {
       "mint": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
       "owner": "HD1ryR3dYSXBVNGfJZydbpmnChiE1wrAQkupWWtHt4pM"
      }
     ],
     "required": [
      "owner",
      "mint"
     ],
     "properties": {
      "mint": {
       "type": "string",
       "description": "Token mint (base58)."
      },
      "owner": {
       "type": "string",
       "description": "Owner wallet (base58)."
      },
      "program": {
       "enum": [
        "spl-token",
        "token-2022"
       ],
       "type": "string",
       "description": "spl-token (default) or token-2022."
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "endpoint": "Solana associated token address"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/coinlight-solana-associated-token-address-deriver-80665ce5/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)
