optimizationIntermediate8 min

Cost Optimization Guide

Maximize value from your API usage

Reduce API costs through smart caching, batch processing, efficient querying, and usage monitoring without sacrificing functionality.

01

Understanding Pricing

Olympus uses a tiered pricing model with included requests and per-request overage. Understanding your usage patterns helps optimize costs.

02

Reducing API Calls

Combine related queries, use batch endpoints, implement smart caching, and avoid redundant requests.

typescript
class="text-white/class="text-amber-400">30 italic">// Instead of multiple calls
class="text-pink-400">const entity = class="text-pink-400">await getEntity(id);
class="text-pink-400">const officers = class="text-pink-400">await getOfficers(id);
class="text-pink-400">const filings = class="text-pink-400">await getFilings(id);

class="text-white/class="text-amber-400">30 italic">// Use a combined endpoint
class="text-pink-400">const fullProfile = class="text-pink-400">await getEntityProfile(id, {
  include: [class="text-emerald-class="text-amber-400">400">'officers', class="text-emerald-class="text-amber-400">400">'filings', class="text-emerald-class="text-amber-400">400">'history']
});
03

Right-Sizing Your Plan

Monitor your usage patterns and choose the plan that best matches your actual needs. Upgrading can reduce per-request costs.

04

Usage Monitoring

Set up usage alerts to avoid surprise overages. The Olympus dashboard provides real-time usage metrics.

Related Guides

Ready to implement?

Explore our API documentation to start building with Olympus.