shadepedia Production API
PUBLIC EYEWEAR DATA

Shadepedia
API.

Source-backed catalog data for eyewear discovery across web, iOS, and Android. Search brands and models, filter exact products, and retrieve complete public records.
API process online

Public procedures

The API uses tRPC with shared Zod contracts. Calls are type-safe across the backend, Next.js client, and future Expo clients.

QUERY

catalog.browse

Search the public catalog, apply basic or advanced filters, and paginate grouped model and exact-product cards.

QUERY

catalog.getProductPage

Retrieve one public model or product page with its brand, configurations, gallery, identifiers, specifications, and source metadata.

Operational checks

Liveness confirms the process is running. Readiness also verifies PostgreSQL connectivity.

One contract,
every client.

Connect through the shared @shadepedia/trpc client at /trpc. Public output is explicitly allowlisted, publication-aware, region-aware, and safe for client applications.