Developer API
The verified free-AI catalog as JSON: filters, ETags, CORS, an OpenAPI spec and free keys. Build dashboards, bots, extensions and lists on top of data a person has checked.
Endpoints
| Endpoint | What |
|---|---|
GET /api/v1/offers | Catalog with filters, field selection and pagination |
GET /api/v1/offers/{slug} | One offer |
GET /api/v1/offers/{slug}/history | What changed on one offer: events and public edits with diffs |
GET /api/v1/changes | Changelog events, newest first (since, kind, hub) |
GET /api/v1/deadlines | Offers ending soon, soonest first (hub, provider, withinDays) |
GET /api/v1/providers | Providers with their public offers |
GET /api/v1/eligibility | What a profile can claim (the /unlock rules), verified USD total |
GET /api/v1/models | Every model served free, with live source counts (/model data) |
GET /api/v1/models/{model} | One model: free sources, rate limits, context, card rule |
GET /api/v1/status | Uptime and job health (no key) |
POST /api/v1/keys | Issue a free API key |
GET /api/v1/openapi.json | OpenAPI 3.1 spec |
POST /mcp | MCP server (Streamable HTTP) |
aifree CLI | npx aifree: search, show, history, deadlines, watch, calendar, check, models, model, stack, calc |
Telegram / Discord | Bots: /search, /show, /where, /expiring, /watch |
/developers/webhooks | Signed webhooks for offer changes |
/developers/examples | curl, JavaScript, Python and Go requests; recorded responses |
Base URL https://aifree.dev/api/v1. Every response sends Access-Control-Allow-Origin: *; catalog reads add a strong ETag and a 5-minute shared cache s-maxage=300. Uptime of the site and the API over 90 days, with every outage: incident history. Full spec: openapi.json. For LLM crawlers and agents without an API client: llms.txt (index) and llms-full.txt (every verified offer with its terms, plus comparisons, top charts and guides, in one plain-text file). Bulk downloads without the API (the catalog as CSV and JSON, freshness checks, the changelog, report figures): open datasets. To be told when a free tier changes (email, RSS, changes API, webhooks, a CI check, MCP), see Track free-tier changes automatically.
Filters on /offers
| Parameter | Values |
|---|---|
category | coding, image, audio, video, api-credits, assistant, other |
audience | developers, students, startups, creators, researchers, nonprofits, educators, everyone |
freeType | free-tier, free-credits, free-trial, student-program, startup-program, nonprofit-program, fully-free |
cardRequired | true / false |
region | ISO 3166-1 alpha-2 (VN, US, …) or global |
commercialUse | yes, no, unknown (may free-plan output be used commercially) |
refill | once, hourly, daily, weekly, monthly, unknown (how the free allowance comes back) |
status | verified, listed, changed, expired (default: all but expired) |
q | free text; every term must match |
fields | comma list of record fields; slug is always included |
page, limit | 1-based page, limit up to 200 |
Unknown values return 400 with a details list; nothing is guessed. Offers never expose the markdown body: link to the record's url.
Examples
curl -s 'https://aifree.dev/api/v1/offers?category=api-credits&cardRequired=false&fields=name,headline,vendorUrl'More curl requests (commercial-use filter, ETags, a free key), JavaScript, Python and Go clients using only the standard library, and the real response of every endpoint, errors included: API examples.
Postman and Bruno collections
Every endpoint as a ready request, grouped like the spec, with the filters listed (switched off until you need them) and real slugs in the path: aifree-api-v1.postman_collection.json (Postman Collection v2.1). Postman: Import → the file. Bruno, Insomnia and Hoppscotch import the same file, or the spec URL https://aifree.dev/api/v1/openapi.json. Put a free key in the apiKey variable and switch on the X-API-Key header for the higher limit; requests that need a key have it on already. Both are generated from openapi.json, so they change when the API does.
MCP server
The catalog as a Model Context Protocol server, hosted at https://aifree.dev/mcp (Streamable HTTP, stateless, no auth). Tools: search_free_ai_offers, get_offer (with each model's rate limits), list_free_llm_apis, find_models (which free API serves a model, at what RPM/RPD/TPM), recent_changes, offer_history, upcoming_deadlines, compare_offers, check_eligibility (what a student, startup, country or no-card profile can claim, same rules as /unlock), is_free (is a brand, model or product free, with the best verified offer and its check date), list_models and get_model (the model catalog, filter by vision, tools or context), list_providers, build_stack, get_status; resources: aifree://offer/{slug}, aifree://hub/{slug} (API v1 records), aifree://model/{slug}, aifree://top/{slug}, aifree://provider/{slug} (Markdown pages), aifree://llms.txt, aifree://hubs, aifree://changes, aifree://courses; prompts: find_free_llm, compare_free_tiers, what_can_i_claim. Every answer cites the verified offer page.
Claude Code
claude mcp add --transport http aifree https://aifree.dev/mcpCursor (.cursor/mcp.json)
{
"mcpServers": {
"aifree": { "url": "https://aifree.dev/mcp" }
}
}Claude Desktop
Settings → Connectors → Add custom connector → URL https://aifree.dev/mcp. The hosted URL works today in every client that takes a remote MCP server. Clients that only run local servers can use the stdio proxy: npx -y @aifree/mcp (Node 18+).
Agents
Tested setups that give an agent this catalog through MCP: Claude Desktop, Cursor, the OpenAI Agents SDK (Python) and LangChain (JavaScript / TypeScript), on Use aifree in an AI agent.
CLI
A zero-dependency client over this API (Node 18+, about 10 KB packed). Run it with npx aifree search "free tts" (npm). Its search, show, models and model commands are thin wrappers over these calls:
# what the CLI commands return, with plain HTTP, no install
curl -s 'https://aifree.dev/api/v1/offers?q=free%20tts&cardRequired=false'
curl -s 'https://aifree.dev/api/v1/offers/groq-free-tier' # details + per-model rate limits
curl -s 'https://aifree.dev/api/v1/offers/groq-free-tier/history?since=2026-10-01' # what changed
curl -s 'https://aifree.dev/api/v1/models?q=qwen' # models served free, by free sources
curl -s 'https://aifree.dev/api/v1/models/gpt-oss-120b' # where one model is free: RPM/RPD/TPM, card--json prints the raw API payload for scripting; model follows a renamed model slug to its current one; AIFREE_API_KEY raises the rate limit; AIFREE_API_URL targets another deployment.
Telegram and Discord bots
The same catalog in chat: /search free tts, /show groq-free-tier, /where llama 3.3 70b, /expiring 14, /watch groq-free-tier. Answers link to the verified offer pages.
- Telegram: @aifreedevbot (add it to a group; it answers commands only).
- Discord: add the aifree slash commands to your server
- Channel feed: register a Slack or Discord incoming webhook on the webhooks console with the
discordorslackformat to get every listing, verification, change and expiry posted to a channel.
CI check: aifree check
Fail CI when a free tier your project depends on expired or has an incident, and warn when its terms changed. The CLI's check command reads the offers from .aifree.yml, the slugs you pass, or the known AI SDKs in package.json; --markdown prints a table for a pull-request comment.
# .aifree.yml
offers:
- google-gemini-developer-api-free-tier
- groq-free-tier
fail_on: [expired, incident]
# .github/workflows/aifree-check.yml
on: [pull_request]
permissions: { contents: read }
jobs:
check:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v7
- run: npx -y aifree check --since 30dREADME badge per offer:  renders as . Link snippets, vendor badges and how to cite the data: press & link kit.
Embed: upcoming deadlines
A text-only iframe of the next 5 free AI offers by end date, linking to each offer and the full deadline calendar. ?hub=<hub slug> limits it to one category, ?limit=1-5 sets the rows. No script; more widgets on /promote.
<iframe src="https://aifree.dev/embed/deadlines" width="360" height="330" style="border:0" title="Upcoming free AI deadlines on aifree.dev" loading="lazy"></iframe>
Free API key
Anonymous: 600 requests per 15 minutes per IP. With a key: 6,000 per 15 minutes, plus a heads-up before any breaking change. Keys are free and issued instantly.
Already have a key? See usage per day, webhook health and limits, or rotate and revoke it on your account page. Revocation takes effect on the next request.
Terms and license
- Data is licensed CC BY 4.0: reuse it, including commercially, with a visible link to the aifree.dev offer page.
- Respect the rate limits and the ETags; cache on your side for at least 5 minutes.
- Verification claims are scoped to rows whose
statusisverified;listedrows are public but unverified. See how we verify. - The
/changesfeed is the event log, recorded as changes happen; history from before the log started is derived from offer rows at day granularity.
FAQ
- Can I use the data in my own app or list?
- Yes. The data is CC BY 4.0: keep a visible link to the aifree.dev offer page (every record carries its canonical url) and you can reuse it commercially.
- How fresh is the API?
- Exactly as fresh as the site: responses come from the same 5-minute cache that renders the pages, and every admin edit purges it immediately. Use ETags to poll cheaply.
- Do I need an API key?
- No. Anonymous callers get 600 requests per 15 minutes per IP. A free key raises that to 6,000 and lets us warn you before a breaking change.
- Will the shape change?
- Not within v1. New optional fields may appear; nothing is removed or renamed without a v2 and a deprecation notice to key holders.