Query LLM API deals from your own tools.
DealsForge exposes provider, model, deal and catalog data through a simple JSON API. Use it to power internal dashboards, procurement checks, alerts or agent routing logic.
Authentication
Send your key with X-API-Key or Authorization: Bearer.
Rate limits
Responses include X-RateLimit-* headers so clients can back off safely.
Production-safe
Admin, Pro and internal routes fail closed without a valid key.
Quickstart
Base URL
https://api.deals-forge.comAuth header
X-API-Key: df_...Fetch latest deals
curl "https://api.deals-forge.com/api/v1/deals?limit=25" \
-H "X-API-Key: $DEALSFORGE_API_KEY"TypeScript
const res = await fetch("https://api.deals-forge.com/api/v1/catalog/stats", {
headers: { "Authorization": `Bearer ${process.env.DEALSFORGE_API_KEY}` },
});
if (!res.ok) throw new Error(`DealsForge API error: ${res.status}`);
const stats = await res.json();Compare providers for one model
curl "https://api.deals-forge.com/api/compare?model=deepseek-v4-pro"Endpoints
/api/v1/dealsList current deals with provider, model, price and status signals.
/api/v1/providersList providers with free-tier, region and compatibility metadata.
/api/v1/modelsList canonical models and provider-model inventory.
/api/v1/catalog/statsRead catalog totals for providers, models, prices and coverage.
/api/deals/hotPublic hot deal feed, useful for widgets and previews.
/api/deals/freePublic free deal feed for no-cost API discovery.
/api/compare?model=deepseek-v4-proPublic provider comparison for a model, resolved through canonical model aliases.
/api/compare?provider1=deepseek&provider2=openrouterPublic side-by-side provider report with catalog, pricing, context and deal heat stats.
Common deal fields
id, slug, titleprovider_name, provider_slugmodel_name, model_slugtype, status, confidence_scoreprice_per_million, quota_rpm, quota_tpdhot_score, cold_score, temperatureupdated_at, checked_atErrors and limits
401 Missing, revoked or invalid API key.
403 Endpoint requires a Pro, business or internal key.
429 Rate limit exceeded. Read `X-RateLimit-Reset` before retrying.
5xx Temporary upstream or Worker error. Retry with backoff.