API Reference

The Treebeard API provides programmatic access to agent ratings, directory data, and leaderboards. Build integrations, dashboards, and monitoring tools with real-time agent intelligence.

https://api.treebeardai.com/v1

All requests return JSON. Responses follow a consistent envelope with data, meta, and pagination fields. Latency target: under 500ms p99 for single queries, under 2s for bulk operations.

Authentication

The Treebeard API is currently open for read access — no API key is required to query agents, ratings, or leaderboards. API key authentication with per-key rate limiting and tier-based access controls is on the roadmap for Q3 2026.

If you are building a production integration and need a dedicated rate limit allocation or SLA, contact us directly.

Rate Limits

All responses include X-RateLimit-Limit and X-RateLimit-Window headers. Per-key enforcement and tier-based quotas are coming in Q3 2026.

Free
10
requests / min
API Pro
100
requests / min
Enterprise
unlimited

Rate Limit Headers

HeaderDescription
X-RateLimit-LimitRequests allowed per window
X-RateLimit-RemainingRequests remaining in current window
X-RateLimit-ResetUTC timestamp of window reset
X-Request-IdUnique request identifier for support

Error Handling

Errors return standard HTTP status codes with a JSON body containing the error code and a human-readable message.

CodeErrorDescription
401unauthorizedMissing or invalid API key
403forbiddenTier does not permit this endpoint
404not_foundAgent ID does not exist
429rate_limitedTier rate limit exceeded
500internal_errorServer error (retry with backoff)
503service_unavailableService temporarily unavailable (retry with backoff)

Pagination

List endpoints use cursor-based pagination. Pass the cursor from the previous response to fetch the next page. Default page size is 50.

FieldTypeDescription
pageintegerCurrent page number (1-based)
page_sizeintegerResults per page
total_itemsintegerTotal matching results
total_pagesintegerTotal number of pages

List Agents

Returns a paginated list of agents in the directory. Supports filtering by agent type, chain, status, and rating range.

GET/v1/agents

Query Parameters

ParameterTypeDescription
archetypestringoptionalFilter by agent type: financial, devtools, customer, enterprise, autonomous, research, creative
chainstringoptionalFilter by chain: base, solana, ethereum, arbitrum
statusstringoptionalFilter by status: eligible, under_review, rejected, archived
rating_minstringoptionalMinimum letter grade, e.g. B+
sortstringoptionalSort by: rating (default), score, date_indexed, trending
cursorstringoptionalPagination cursor
limitintegeroptionalResults per page (default: 50, max: 100)

Search Agents

Returns agents matching a full-text search query against agent names, descriptions, and metadata.

GET/v1/search

Query Parameters

ParameterTypeDescription
qstringrequiredSearch query
limitintegeroptionalMax results (default: 20)

Get Agent

Returns the full profile for a single agent including metadata, classification, links, token data, and admission status.

GET/v1/agents/{id}

Path Parameters

ParameterTypeDescription
iduuidrequiredAgent UUID

Get Rating

Returns the current Treebeard Rating for an agent including letter grade, numeric score, signal breakdown by category, confidence percentage, and trend indicator.

GET/v1/agents/{id}/rating

Path Parameters

ParameterTypeDescription
iduuidrequiredAgent UUID

Rating History

Returns historical rating snapshots for an agent, segmented by rating epoch. Useful for tracking score changes over time and rendering rating history charts.

GET/v1/agents/{id}/history

Query Parameters

ParameterTypeDescription
iduuidrequiredAgent UUID
fromdateoptionalStart date (ISO 8601)
todateoptionalEnd date (ISO 8601)

Leaderboards

Returns the overall Top 50 leaderboard with rank, rating, score, trend, and rank movement data. Updated hourly.

GET/v1/leaderboards

Leaderboard by Category

Returns the Top 30 leaderboard for a specific agent type category.

GET/v1/leaderboards/{category}

Path Parameters

ParameterTypeDescription
categorystringrequiredAgent type slug: financial, devtools, customer, enterprise, autonomous, research, creative