Skip to content

Pricing

Endpoint Costs

EndpointCostDescription
GET /price/:symbol$0.01Real-time aggregated price
GET /price/history/:symbol$0.02Historical OHLCV data
GET /volume/:symbol$0.0124h volume data
GET /spread/:pair$0.01Bid/ask spread analysis
GET /arbitrage-opportunity$0.03Cross-DEX arbitrage scanner
GET /volatility-index/:symbol$0.02Risk metrics and volatility
POST /price-alert$0.05Create webhook alert
GET /healthFreeHealth check
GET /FreeAPI info

Payment Method

  • Token: USDC on Base
  • Token Address: 0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913
  • Network: Base (Chain ID: 8453)

Caching = Savings

  • 30-second cache TTL on all paid endpoints
  • Identical requests within 30s are FREE
  • No payment needed, no rate limit count
  • Cache headers: X-Cache: HIT or MISS

Example Savings

# First request: $0.01
price = client.get("https://api.foursec.xyz/price/ETH")

# Same request 5 seconds later: $0.00 (cached!)
price = client.get("https://api.foursec.xyz/price/ETH")

# Same request 35 seconds later: $0.01 (cache expired)
price = client.get("https://api.foursec.xyz/price/ETH")

Cost Estimation

Per Use Case

Use CasePatternMonthly Cost
Trading bot (1 check/min)1440 req/day x $0.06~$2,592
Portfolio tracker (5 tokens, hourly)120 req/day x $0.01~$36
Dashboard (10 tokens, 5 min)2880 req/day x $0.02~$1,728
Price alerts (10 alerts)10 x $0.05~$0.50
Research (100 queries/day)100 x $0.02~$60

With Caching Optimization

Use CaseWithout CacheWith CacheSavings
Trading bot$2,592/mo~$780/mo70%
Dashboard$1,728/mo~$520/mo70%
Research$60/mo~$30/mo50%

TIP

Smart caching is the #1 way to reduce costs. Use the 30s free cache window aggressively.

No Hidden Fees

  • No subscription required
  • No minimum purchase
  • No setup fee
  • No monthly commitment
  • Pay only for what you use
  • Cancel anytime (just stop making requests)

Bulk Discounts

For high-volume users (>100,000 requests/day):

VolumeDiscount
100K-500K req/day10% off
500K-1M req/day20% off
1M+ req/dayCustom pricing

Contact: sales@foursec.xyz

Released under the MIT License.