---
name: indieapis
description: Unified agent-first REST API platform and dynamic Streamable HTTP MCP gateway (https://indieapis.com/mcp) with 74 live production APIs, one API key, and strict hard monthly spend caps ($0 runaway agent bills). Covers Weather, US ZIP Codes, Global Airports, GeoDB Cities (138k+), Reverse Geocoding, Astrology/Moon, USGS Earthquakes, World Universities (10k+), Global 160+ FX, Crypto Prices/News, GLEIF LEI & SEC EDGAR Filings, VAT/GST/US Sales Tax, PDF Invoice Generator, Loan/Mortgage, SWIFT/BIC & ABA, PPP SaaS Pricing, Website Contacts Extractor, SEO On-Page & Broken Links, Subdomain CT Finder, Threat URL/IOC Scanner, SPF/DKIM/DMARC, RSS-to-JSON, HTTP Uptime Probe, Robots.txt Tester, Security Headers/CSP, Food/UPC Barcode Nutrition (3M+), Health/BMI/TDEE/1RM, Text Diff & NLP Sentiment/Spellcheck, Recipes/Cocktails, Books/ISBN, Breaking News, arXiv/DOI/Wikipedia, Cron Parser, JWT/Crypto/Hash, JSON/YAML/CSV Converter, Markdown-to-HTML, SVG Avatars/Badges/Sparklines/OG, Color/WCAG, Units, Regex, Mock Data, SemVer/npm/PyPI, plus Football Data, ExerciseDB, SoloCatalog OEM Parts, VinCode, Car Specs (46k+), Active Jobs DB, Words Dictionary, Email/Phone/Domain/IP/QR/Fintech BIN-IP validators, AI Watermark Remover, IndexMyWebsite, FlashSlides, and Webpage to Markdown.
---

# IndieAPIs — Unified API & Dynamic MCP Gateway

IndieAPIs (`https://indieapis.com`) gives AI agents and developers **one unified API key** (`X-IndieAPIs-Key: ia_live_...`), a **dynamic Streamable HTTP MCP server** (`https://indieapis.com/mcp`), and **atomic hard monthly spend caps** — once 100% of a plan is used, the gateway returns `HTTP 429 quota_exceeded` with **$0 overage charges**.

## 1. Connect via Streamable HTTP MCP

Add IndieAPIs to Claude Desktop, Claude Code, Cursor, Windsurf, or OpenClaw:

```json
{
  "mcpServers": {
    "indieapis": {
      "url": "https://indieapis.com/mcp",
      "headers": {
        "X-IndieAPIs-Key": "ia_live_your_key_here"
      }
    }
  }
}
```

- **Unified MCP (`POST https://indieapis.com/mcp`):** Exposes discovery, subscription, call, and publisher tools, **plus** dynamically registers every endpoint of every API your key is subscribed to as a first-class tool (`<api_slug>__<endpoint>`).
- **Per-API Scoped MCP (`POST https://indieapis.com/mcp/<slug>`):** Exposes only the endpoints of one specific API (e.g. `https://indieapis.com/mcp/solocatalog`).
- **Discovery without a key:** `GET https://indieapis.com/mcp` returns server capabilities, and `POST https://indieapis.com/mcp` allows `list_apis`, `search_apis`, and `get_api_docs` even before authenticating.

## 2. Built-In MCP Tools & Exact Parameters

### Discovery, Subscription & Execution Tools
- `list_apis({ category?, limit? })` — List approved APIs (optional category slug and max `limit` 1–150, default 100).
- `search_apis({ q })` — Search approved APIs by keyword. **Parameter is `q` (required string)**, e.g. `search_apis({ q: "football" })`.
- `get_api_docs({ slug })` — Return full endpoint paths, HTTP methods, parameters, sample responses, and hard-capped pricing plans for an API slug.
- `subscribe_free({ slug })` — Activate the `$0` free plan on an API (or reactivate after cancellation). Requires `X-IndieAPIs-Key`.
- `my_subscriptions()` — List active API subscriptions, plan names, and current monthly quota usage. Requires `X-IndieAPIs-Key`.
- `call_api({ slug, endpoint, method?, params?, body?, upstream_key? })` — Call any endpoint through the hard-capped gateway. Requires `X-IndieAPIs-Key`.

### Publisher & Multi-Tier Pricing Tools (Requires `X-IndieAPIs-Key`)
- `my_published_apis()` — List every API published by your account, including review status (`pending` / `approved` / `suspended`), AI review score, subscriber counts, and all pricing plans.
- `publish_api({ name, tagline, description, base_url, category?, logo_url?, cache_ttl_seconds?, upstream_headers?, endpoints?, openapi_json?, plans? })` — Submit a new REST API with `endpoints` (or `openapi_json`) and **1–10 custom hard-capped pricing tiers** (`plans: [{ name, slug?, price_usd, monthly_quota, rate_limit_per_min?, features?, is_active?, sort_order? }]`). Runs a live health probe + AI pre-screen and queues third-party submissions for manual review.
- `manage_api_plans({ slug, action, plan_slug?, plan?, plans? })` — Manage pricing plans on any API you own:
  - `action: "list"` — Return active and archived plans.
  - `action: "add"` — Pass `plan: { name, price_usd, monthly_quota, rate_limit_per_min?, features? }`.
  - `action: "update"` — Pass `plan_slug` and `plan` patch (if active subscribers exist and commercial terms change, existing subscribers are automatically grandfathered on the old plan row).
  - `action: "replace"` — Pass `plans: [...]` (1–10 tiers) to sync all active pricing tiers.
  - `action: "deactivate"` — Pass `plan_slug` to soft-archive a tier without affecting existing subscribers.

### Recommended Agent Workflow
1. **Discover** available APIs with `list_apis({})` or `search_apis({ q: "vin" })`.
2. **Inspect** parameters and quotas with `get_api_docs({ slug })`.
3. **Activate $0 Free Tier** with `subscribe_free({ slug })` — zero credit card, strict hard cap.
4. **Call** the dynamically exposed `<slug>__<endpoint>` tool or `call_api({ slug, endpoint, method, params, body })`.
5. **Respect quota headers/fields**: every response includes `quota: { plan, limit, used, remaining, reset }`. Stop looping if `remaining === 0`.

## 3. Built-In First-Party APIs

| Slug | API | Category | Key Endpoints |
|---|---|---|---|
| `global-football-data` | Global Football Data API (1,800+ leagues) | `sports` | 24 endpoints: `/fixtures`, `/standings`, `/leagues`, `/teams`, `/teams/statistics`, `/fixtures/events`, `/fixtures/lineups`, `/fixtures/statistics`, `/fixtures/players`, `/fixtures/headtohead`, `/fixtures/rounds`, `/momentum` (xG + shotmap), `/players`, `/players/squads`, `/players/profiles`, `/players/seasons`, `/players/topscorers`, `/players/topassists`, `/players/topyellowcards`, `/players/topredcards`, `/transfers`, `/injuries`, `/market-value`, `/search` |
| `solocatalog` | SoloCatalog — OEM Auto Parts EPC API | `automotive` | `GET /parts?vin=&q=`, `GET /decode?vin=`, `GET /brands` |
| `oem-vin-decoder` | VinCode — OEM VIN & Chassis Decoder API | `automotive` | `GET /decode?vin=`, `GET /check?vin=` |
| `central-bank-fx-rates` | Central Bank FX & Metals API (CBAR, AZN base, English labels) | `finance` | `GET /rates`, `GET /convert?from=&to=&amount=`, `GET /live` |
| `ai-watermark-remover` | AI Watermark Remover API | `ai-tools` | `GET /info`, `POST /remove` (`{ image_url, rights_confirmed: true }`) |
| `indexmywebsite` | IndexMyWebsite — SEO Indexing & Sitemap API | `developer` | `GET /inspect-sitemap?url=`, `POST /indexnow/ping`, `GET /sites`, `POST /sites/submit` |
| `flashslides` | FlashSlides — AI Presentation Generator API | `ai-tools` | `GET /info`, `POST /presentations` (`{ topic, slidesCount }`), `GET /presentations/status?slug=` |
| `webpage-to-markdown` | Webpage to Markdown API (LLM Ready) | `ai-tools` | `GET /convert?url=` |

> **Tenant safety:**
> - For `indexmywebsite` workspace routes (`/sites`, `/sites/submit`), pass the user's own `X-Upstream-Key: imw_...` header.

## 4. Zero-Dependency CLI (`npx indieapis`)

```bash
export INDIEAPIS_API_KEY="ia_live_your_key_here"

npx indieapis apis
npx indieapis docs solocatalog
npx indieapis subscribe solocatalog
npx indieapis call solocatalog /parts --param vin=JTNB11HK8J3012345 --param "q=oil filter"
npx indieapis call central-bank-fx-rates /convert --param from=USD --param to=EUR --param amount=100
npx indieapis call indexmywebsite /inspect-sitemap --param url=https://indieapis.com/sitemap.xml
npx indieapis whoami
npx indieapis mcp-config
```

## 5. Direct REST Gateway

```bash
curl -s "https://api.indieapis.com/v1/<slug>/<endpoint>?..." \
  -H "X-IndieAPIs-Key: ia_live_your_key_here"
```

Response headers always include `X-Quota-Limit`, `X-Quota-Used`, `X-Quota-Remaining`, `X-Quota-Reset`, and `X-IndieAPIs-Cache`.

## 6. Publisher REST API & CLI

- **REST Publisher API:**
  - `GET /api/v1/publisher/apis` — List your published APIs & plans
  - `POST /api/v1/publisher/apis` — Publish a new API with 1–10 custom pricing plans
  - `GET /api/v1/publisher/apis/:slug/plans` — List all active/archived pricing tiers
  - `POST /api/v1/publisher/apis/:slug/plans` — Add a new pricing tier
  - `PUT /api/v1/publisher/apis/:slug/plans` — Replace/sync the full list of 1–10 pricing tiers
  - `PATCH /api/v1/publisher/apis/:slug/plans/:planSlug` — Update price, quota, rate limit, name, or features
  - `DELETE /api/v1/publisher/apis/:slug/plans/:planSlug` — Soft-archive a tier (existing subscribers unaffected)
- **CLI:**
  - `npx indieapis my-apis`
  - `npx indieapis publish --file api.json`
  - `npx indieapis plans <slug> --set-file plans.json`
