Philidor Docs
API Reference

API Overview

Public REST API — base URL, rate limits, response format, pagination, and caching. No API key required.

Base URL

https://api.philidor.io

All endpoints are under /v1. OpenAPI spec available at /v1/openapi.json. Swagger UI at /v1/docs.

Authentication

No API key required for public read endpoints. For higher rate limits and SLA guarantees, see API Access & Tiers.

Rate Limits

TierLimitKey Required
Public30 requests/minuteNo
Growth300 requests/minuteYes
EnterpriseCustom (up to 10K)Yes

Rate limit headers are included in responses: X-RateLimit-Limit, X-RateLimit-Window.

To get an API key, contact @zdeadex on Telegram.

Response Format

All responses use a standard envelope:

{
  "success": true,
  "data": { ... }
}

Paginated responses include pagination metadata:

{
  "success": true,
  "data": [ ... ],
  "pagination": {
    "page": 1,
    "limit": 10,
    "total": 247,
    "totalPages": 25
  }
}

Error Format

{
  "success": false,
  "error": {
    "message": "Vault not found",
    "code": "NOT_FOUND"
  }
}

HTTP status codes: 200 (success), 400 (bad request), 404 (not found), 429 (rate limited), 500 (server error).

Caching

Redis-backed HTTP caching with varying TTLs:

Endpoint TypeTTL
Vault detail5 minutes
Lists (vaults, protocols)1 hour
Reference data (chains, assets)24 hours

Cache headers (Cache-Control, ETag) are included in responses.

Endpoints

EndpointDescription
VaultsList and search vaults
Vault DetailSingle vault with risk breakdown
ProtocolsProtocol information
CuratorsCurator information
PortfolioAddress position analysis
ChainsSupported chains
AssetsTracked assets
StatsPlatform statistics
OracleOracle freshness data
HealthAPI health check

On this page

Raw