Developer Portal · OpenAPI 3.1 · CORS-Enabled

AI Dosa API & Developer Portal

Programmatic access to 567+ curated AI coding tools across 14 categories, live LLM pricing, and Markdown mirrors. The public catalog API requires no API key and returns structured JSON errors.

Quickstart

Query the catalog immediately with no API key required, or request any page with Accept: text/markdown to receive clean Markdown directly.

cURL — Search Catalog
curl -sS "https://ai.dosa.dev/api/v1/tools?q=terminal&pricing=open-source&limit=5"
cURL — Markdown Negotiation
curl -sS -H "Accept: text/markdown" "https://ai.dosa.dev/tools/claude-code"
JavaScript / TypeScript
const res = await fetch('https://ai.dosa.dev/api/v1/tools?category=cli-agents&limit=10');
const { total, tools } = await res.json();
Python
import requests
r = requests.get("https://ai.dosa.dev/api/v1/tools", params={"slug": "claude-code"})
tool = r.json()["tool"]

Interactive API Sandbox

Live against /api/v1/tools
GET https://ai.dosa.dev/api/v1/tools?limit=3
Ready — click Send Request to run a live query.
{
  "hint": "Click Send Request to inspect live JSON from /api/v1/tools"
}

Endpoints

Method Path Auth Scope Description
GET /api/v1/tools Public catalog:read Search and filter curated AI coding tools (`q`, `category`, `pricing`, `tag`, `slug`, `limit`, `offset`).
GET /api/v1/models.json Public catalog:read Live & cached LLM token pricing and context-window specs.
GET /api/v1/openapi.json Public catalog:read OpenAPI 3.1 machine-readable specification.
GET /api/v1/count Public catalog:read Aggregate community Zap vote counts per tool.
POST /api/v1/vote Session + Turnstile votes:write Cast a Zap upvote for a tool (`{ tool_id, cf_token }`).
GET / POST /api/stacks Session stacks:read / stacks:write List or create authenticated user AI coding stacks.
PUT / DELETE /api/favorites/{slug} Session favorites:write Save or remove a tool from authenticated user favorites.
PUT / DELETE /api/follows/{slug} Session follows:write Follow or unfollow a tool for release and pricing updates.
GET / PATCH /api/notifications/prefs Session notifications:write Read or update email digest and notification preferences.

Default page size for /api/v1/tools is 25 (max 100). Every error response returns JSON with error, code, message, hint, and docs.

Authentication, API Keys & Scopes

Public Catalog Access (No Key Required)

Read-only endpoints (/api/v1/tools, /api/v1/models.json, /api/v1/openapi.json, and all .md mirrors) are open, CORS-enabled, and require no API key.

Authenticated Actions & OAuth Metadata

User write endpoints authenticate via first-party aat_session cookies (GitHub, Google, or Email OTP). Machine-readable scope and OAuth 2.0 discovery metadata are published at /.well-known/oauth-protected-resource and /.well-known/oauth-authorization-server.

Scope Permission
catalog:read Read public AI coding tools catalog, LLM pricing models, and metadata.
stacks:read Read the authenticated user AI tool stacks.
stacks:write Create, update, fork, and delete the authenticated user AI tool stacks.
favorites:write Add or remove tools in the authenticated user favorites list.
follows:write Follow or unfollow tools for release and update notifications.
votes:write Submit tool upvotes (Zaps) and community switch votes.
profile:write Update the authenticated user handle and public profile settings.
notifications:write Read and update email digest and notification preferences.

Structured JSON Error Format

All 4xx and 5xx responses under /api/* and /.well-known/* return structured JSON so agents never have to parse HTML error pages:

{
  "error": "Tool not found: example-slug",
  "code": "tool_not_found",
  "message": "Tool not found: example-slug",
  "hint": "List available tool slugs via GET /api/v1/tools or search with ?q=<query>.",
  "docs": "https://ai.dosa.dev/api/v1/openapi.json"
}