2D
SecondDevApi
v1.4.0

Overview

SecondDevApi is a unified neural network aggregator. Access OpenAI, Anthropic, Meta, and open-source models through a single standardized REST API interface with automatic fallback routing and high availability.

BASE URL https://api.seconddev.ai/

Authentication

Authenticate your requests by passing your secret API key in the authorization header. Keep your keys secure and never expose them in client-side applications.

Authorization: Bearer devbearer_liveXXXXXXXXXXXXXXXXXX

Endpoints

POST /chat/completions
Model-agnostic text generation
curl -X POST https://api.seconddev.ai/v1/chat/completions \ -H "Authorization: Bearer sd_live_xxx" \ -H "Content-Type: application/json" \ -d '{ "model": "anthropic/claude-3.5-sonnet", "messages": [{"role": "user", "content": "Hello world"}] }'

Playground

Live Mock
Response Payload
// Awaiting trigger...