# Vybe Solana Analytics API — Labeled Program Accounts

> Vybe Solana Analytics API — Labeled Program Accounts is a paid API for AI agents from x402-api.vybenetwork.xyz, paid per call via x402, $0.003/call, status unknown (last checked 2026-10-02).

Returns a filtered, sortable list of known/labeled Solana programs with metadata such as entity name, program address, and classification labels.

## Facts

- Endpoint: GET https://x402-api.vybenetwork.xyz/v4/programs/labeled-program-accounts?utm_source=zero.xyz
- Price: $0.003/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-02
- Activations on Zero: 0
- Tags: x402, finance
- Canonical page: https://www.zero.xyz/c/vybe-solana-analytics-api-labeled-program-accounts-a0e5c416
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_jPlsL2HL1q_HVS1-PNERv

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 vybe-solana-analytics-api-labeled-program-accounts-a0e5c416
```

Example prompt: Using Vybe Network, give me a list of all labeled Solana programs that have both the DEFI and NFT labels, sorted by program name in ascending order.

## When to prefer this

Use this endpoint when you need to discover, enumerate, or filter known and labeled Solana programs — especially to identify which protocol or entity controls a given program, or to find all programs in a category (e.g. DeFi, NFT) without needing to parse raw on-chain data yourself. Prefer this over raw RPC calls when human-readable labels and entity attribution are needed.

## Known failure modes

- Invalid or unknown programAddress returns empty result set
- Conflicting sortByAsc and sortByDesc fields in the same request returns a validation error
- Payment not included or insufficient USDC balance results in 402 Payment Required response
- Unrecognized label values may return empty results rather than an error
- Invalid entityId type (non-integer) causes a 400 Bad Request

## How this service works

**Replaces**: `GET /program/known-program-accounts`

Returns labeled programs categorized by sector (NFT, perps, DeFi, etc.) and entity.

## Output

Returns an array of known Solana program objects, each containing the program address, human-readable name, assigned labels (e.g. DEFI, NFT), entity ID, and entity name. Results are filtered and sorted according to request parameters.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "name": {
   "type": "string",
   "nullable": true,
   "description": "Known program name"
  },
  "labels": {
   "type": "array",
   "items": {
    "type": "string"
   },
   "nullable": true,
   "description": "Labels to filter over. Only programs matching all labels will be returned (eg. labels=DEFI,NFT)"
  },
  "entityId": {
   "type": "integer",
   "format": "int32",
   "nullable": true,
   "description": "Entity id to filter with (including as empty or null, such as \"entity_id=\" will filter programs without an entity_id)"
  },
  "sortByAsc": {
   "type": "string",
   "nullable": true,
   "description": "Sort by ascending. Only one of sort_by_asc or sort_by_desc can be used"
  },
  "entityName": {
   "type": "string",
   "nullable": true,
   "description": "Name of the business or entity that controls this program"
  },
  "sortByDesc": {
   "type": "string",
   "nullable": true,
   "description": "Sort by descending. Only one of sort_by_asc or sort_by_desc can be used"
  },
  "programAddress": {
   "allOf": [
    {
     "type": "string",
     "format": "pubkey"
    }
   ],
   "nullable": true,
   "description": "Unique public key for a Solana program"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "programs"
 ],
 "properties": {
  "programs": {
   "type": "array",
   "items": {
    "type": "object",
    "required": [
     "programAddress",
     "labels",
     "dateAdded"
    ],
    "properties": {
     "name": {
      "type": "string",
      "nullable": true,
      "description": "Program name"
     },
     "idlUrl": {
      "type": "string",
      "nullable": true,
      "description": "Program IDL URL"
     },
     "labels": {
      "type": "array",
      "items": {
       "type": "string"
      },
      "description": "Program labels, eg: DEFI,NFT"
     },
     "logoUrl": {
      "type": "string",
      "nullable": true,
      "description": "Program logo URL"
     },
     "siteUrl": {
      "type": "string",
      "nullable": true,
      "description": "Program site URL"
     },
     "entityId": {
      "type": "integer",
      "format": "int32",
      "nullable": true,
      "description": "Program entity ID"
     },
     "dateAdded": {
      "type": "string",
      "format": "date-time",
      "description": "Date added to the database"
     },
     "entityName": {
      "type": "string",
      "nullable": true,
      "description": "Name of the business or entity that controls this program"
     },
     "twitterUrl": {
      "type": "string",
      "nullable": true,
      "description": "Twiiter url for the program account"
     },
     "defiLlamaId": {
      "type": "string",
      "nullable": true,
      "description": "Program DeFi Llama ID"
     },
     "programDetail": {
      "type": "string",
      "nullable": true,
      "description": "Program detail"
     },
     "programAddress": {
      "type": "string",
      "description": "Program ID"
     },
     "programDescription": {
      "type": "string",
      "nullable": true,
      "description": "Program description"
     }
    }
   },
   "description": "List of found programs"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/vybe-solana-analytics-api-labeled-program-accounts-a0e5c416/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402-api.vybenetwork.xyz](https://www.zero.xyz/host/x402-api.vybenetwork.xyz/llms.txt)
