API Overview
Use the OnchainProbe API to manage chains, endpoints, suites, runs, and catalog data.
Base URL
Section titled “Base URL”https://api.onchainprobe.com/v1All paths in this reference are relative to that base URL.
Authentication
Section titled “Authentication”Send bearer token in Authorization header.
curl "https://api.onchainprobe.com/v1/users/me" \ -H "Authorization: Bearer $ONCHAINPROBE_API_KEY"curl "https://api.onchainprobe.com/v1/users/me" \ -H "Authorization: Bearer $CLERK_JWT"Content types
Section titled “Content types”- Request body:
application/json - Response body:
application/json
Pagination
Section titled “Pagination”List endpoints use limit and offset query params.
Example:
curl "https://api.onchainprobe.com/v1/chains?limit=20&offset=0" \ -H "Authorization: Bearer $ONCHAINPROBE_API_KEY"Typical response shape:
{ "data": [], "pagination": { "total": 0, "limit": 20, "offset": 0, "has_more": false }}Error format
Section titled “Error format”Errors return HTTP non-2xx and JSON payload.
{ "error": { "code": "validation_error", "message": "chain_chain_id is required", "details": [{"field": "chain_chain_id", "message": "Required"}], "request_id": "req_abc123" }}Common status codes:
400validation error401missing/invalid auth403insufficient scope or tenant access404resource not found409conflict429rate limited500server error
Rate limits
Section titled “Rate limits”Requests are rate-limited per identity.
When rate limited, expect 429 with retry guidance headers when available.
Time and IDs
Section titled “Time and IDs”- Timestamps are ISO-8601 UTC strings
- Resource IDs are UUIDs