Skip to content

Daya API Overview

Daya provides a unified API layer for teams that need to call multiple model families without rebuilding their integration stack for every provider. You can authenticate with one Daya API key, choose the protocol that matches your SDK, and centralize metering, billing, and observability in one place.

Protocols

OpenAI-compatible

Anthropic-compatible

Google-compatible

  • SDK base URL: https://api.dayaai.com
  • REST path prefix: /v1beta
  • Best for: Gemini-native client flows
  • Core docs:

Platform APIs

Authentication

Use your Daya API key in the Authorization header unless the target SDK requires a different header shape:

http
Authorization: Bearer <DAYA_API_KEY>

You can create or manage keys from:

Base URLs At A Glance

ProtocolBase URL
OpenAI-compatiblehttps://api.dayaai.com/v1
Anthropic-compatiblehttps://api.dayaai.com/v1
Google-compatiblehttps://api.dayaai.com (/v1beta REST path prefix)
Platform APIhttps://api.dayaai.com/api/v1
  1. Start with the Quickstart if you need your first successful request fast.
  2. Use the OpenAI-compatible endpoints if you want the broadest SDK support.
  3. Use the protocol-specific docs when you need SDK-native behaviors such as Anthropic Messages or Gemini-native calls.
  4. Use Get Generation for post-request auditing and billing lookups.