per-call$34B geospatial + $5B financial data

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

TypeScript
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.

ProviderPricing
Google MapsGeolocation, geocoding, places -- per-request
OpenWeatherMapWeather data -- per-call pricing
Alpha VantageFinancial data -- per-API-call
Polygon.ioMarket data -- per-request pricing
NewsAPINews aggregation -- per-request pricing
SerpAPISearch engine results -- per-search pricing
Billing model: per-call

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?
Yes. Use method-level pricing to charge 2 cents for current weather, 5 cents for forecasts, and 10 cents for historical data. Each endpoint maps to a method name in your SettleGrid config.
What if my upstream API charges per-call?
Set your SettleGrid pricing above your upstream cost. If your weather API charges $0.01/call, set your price at $0.02/call and keep the $0.01 margin. SettleGrid handles the user-facing billing.
Can I offer a free tier?
Yes. SettleGrid supports a free call quota per user. Set a daily or monthly free allowance, and only bill for calls beyond the quota.
How do I handle rate limiting?
Rate limiting is separate from billing. You can implement rate limits in your wrapper and SettleGrid will only bill for calls that actually execute. Rejected calls are not charged.

Start billing data apis today

Add per-call billing to your data apis service in under 2 minutes. No upfront costs, no contracts.

SettleGrid Help

AI-powered support

How can I help?

Ask me anything about SettleGrid