API Reference

Traini API

AI-powered pet intelligence for developers. Process dog voice, behavior, and visual data through a unified REST API.

Base URL

EnvironmentBase URL
Production (US)https://b-api-us.traini.app
Ireland (EU)http://34.244.14.87:8081
Staginghttps://dev.traini.app

All AI and recommendation endpoints are under /api/b/v1/. Portal self-service endpoints are under /api/b/portal/.

Credit costs per call

EndpointCredits
POST /ai/analyze-image3
POST /ai/analyze-video-frames5
POST /ai/dog-expert/chat2
POST /ai/translate-dog-to-human2
POST /ai/translate-human-to-dog2
POST /ai/detect-emotion1
GET /ai/health0
POST /recommend/place/*2
POST /recommend/product/*2

Rate limits

Default: 60 requests per minute (RPM) per API key. Resets on a rolling 60-second window. Returns 429 when exceeded.