Per-Call Billing for Any Data API
Weather, finance, geolocation, news -- if your API returns data, SettleGrid can meter and bill it. Per-query pricing with zero upfront cost.
How it works
import { settlegrid } from '@settlegrid/mcp'
const sg = settlegrid.init({
toolSlug: 'weather-api',
pricing: {
methods: {
'current': { costCents: 2 },
'forecast': { costCents: 5 },
'historical': { costCents: 10 },
},
},
})
const billedWeather = sg.wrap(async (args: { location: string; type: string }) => {
const data = await fetchWeatherData(args.location, args.type)
return { content: [{ type: 'text', text: JSON.stringify(data) }] }
}, { method: args.type })Supported providers
SettleGrid works with any provider. Here are the most common ones for data apis.
| Provider | Pricing |
|---|---|
| Google Maps | Geolocation, geocoding, places -- per-request |
| OpenWeatherMap | Weather data -- per-call pricing |
| Alpha Vantage | Financial data -- per-API-call |
| Polygon.io | Market data -- per-request pricing |
| NewsAPI | News aggregation -- per-request pricing |
| SerpAPI | Search engine results -- per-search pricing |
Why per-call billing?
Data APIs are the simplest services to meter: every call returns data, every call has a cost. Per-call billing scales linearly with usage and is easy for users to understand. SettleGrid lets you set different rates for different endpoints (current weather vs. historical data vs. forecasts) so pricing reflects the actual value delivered.
$34B
Total Addressable Market
6
Supported Providers
2 min
Setup Time
Frequently asked questions
Can I charge different rates for different endpoints?
What if my upstream API charges per-call?
Can I offer a free tier?
How do I handle rate limiting?
Start billing data apis today
Add per-call billing to your data apis service in under 2 minutes. No upfront costs, no contracts.