BS
BaseScreener

Query Complexity

Table of every field and its associated complexity cost

Query Complexity

To prevent abuse and price requests fairly, different GraphQL fields incur different costs. Simple DB lookups are free, while external API lookups are more expensive.

Field costs

Type.FieldCost (units)Why
Token.address0Free DB column
Token.symbol0Free DB column
Token.name0Free DB column
Token.decimals0Free DB column
Token.deployedAt0Free DB column
Token.price3Historical snapshot lookup
Token.liquidity3Historical snapshot lookup
Token.volume224-hour volume computation
Token.holders8Top 10 holder distribution
Token.risk10Real-time Honeypot + BaseScan analysis

Query base costs

QueryCost (units)
Query.token1
Query.newTokens5
Query.trending5
Query.movers5
Query.search2
Query.pairs2

How total cost is calculated

Total cost = query base cost + sum of each field's cost

Cost per unit: $0.00002 USDC
Minimum charge: $0.002 USDC

Example

Query: newTokens(limit: 10) requesting symbol and risk.score:

ComponentCost
Query.newTokens base5 units
Token.symbol × 100 units
Token.risk × 10100 units
Total105 units
USD cost105 × $0.00002 = $0.0021 USDC

Preview cost before paying

Send your query without a payment header. The 402 response includes queryCostUnits and costPerUnit so your agent can compute the exact cost before committing.