Skip to main content

About

The Surf Data API provides typed REST endpoints for crypto market data, project analytics, social signals, on-chain queries, and more. All endpoints use credit-based billing with per-request rate limiting. Base URL: https://api.asksurf.ai/gateway

Parameter Conventions

All endpoints follow a standardized naming scheme.

Asset Identification

Time & Aggregation

Filtering & Sorting

Pagination

All list endpoints support:
  • limit (int, default: 20, max: 100) — results per page
  • offset (int, default: 0) — pagination offset

Supported Chains

Use canonical long-form names only. Short aliases (eth, sol, matic, etc.) are not accepted. Not all chains are available on every endpoint. Check each endpoint’s chain enum for supported values.

Authentication

All data endpoints require a Bearer token in the Authorization header:

Error Responses

All endpoints return errors in a consistent format:

Credits

Each API call costs a certain number of credits. The cost is returned in every response under meta.credits_used. Check your remaining balance via GET /v1/me/credit-balance.