OwlViz · API docs

Asset & collection intelligence for Solana.

Base URL: https://api.owlviz.dev

Try example mint , agents, or quick start.

Errors

OwlViz API errors use a consistent JSON envelope:

json
{
  "error": {
    "code": "ERROR_CODE",
    "message": "Human-readable message."
  }
}

The TypeScript SDK throws OwlVizApiError with status, code, and message parsed from this shape.

ts
import { OwlViz, OwlVizApiError } from '@owlviz/sdk';

try {
  await client.assets.get('not-a-valid-mint');
} catch (err) {
  if (err instanceof OwlVizApiError) {
    console.error(err.code, err.status, err.message);
  }
}

Client guidance

  • Treat any non-2xx as failure; read error.code when present.
  • Legacy Fastify validation responses may omit error.code — fall back to message or HTTP status.
  • Stack traces are never returned to clients.

Common codes (sample)

CodeTypical HTTPMeaning
ASSET_NOT_FOUND404Mint could not be resolved
COLLECTION_NOT_FOUND404Collection not indexed
RATE_LIMITED429RPM exceeded — honor Retry-After
AUTOMATION_AUTH_REQUIRED401Keyed auth required (monitors, webhooks list)
INVALID_API_KEY401Missing or invalid ov_live_… key

Full matrix and retry behavior: [errors-and-rate-limits.md](./errors-and-rate-limits.md).