MIG API Reference← home 🎁 Bundle

Quickstart

Base URL: https://market-insight-global.com

All endpoints require Authorization: Bearer <YOUR_KEY>. Get a free key below.

Getting a free key

Instant self-serve: enter your email, get a free key on the spot (500 calls/month, no card).

Keys are issued per email address. One free key per address; re-requesting from the same address reissues the same key.

Envelopes

{
  "ok": true,
  "data": { ...endpoint-specific... },
  "meta": { "freshness_hours": 24 }
}

Errors return HTTP 4xx/5xx with {"detail": {...}}, including error, message, and when relevant upgrade_options (machine-readable, safe to consume programmatically).

Rate limiting

TierMonthly quotaFreshnessSymbols/req
Free50024h3
Builder50,00015 min12
Pro500,0005 min12
InstitutionalUnmetered*5 min12

*fair use. Response headers X-QuotaRemaining and X-MIG-Tier accompany every metered response.

Endpoints

GET /v1/macro/series — Parameters: dataset (CPI | RATE | GDP | UNEMPLOYMENT), limit (max 24 on free, 240 on paid). Sourced from FRED (Federal Reserve Economic Data).

GET /v1/markets/snapshot — Parameter: symbols (comma-separated, max 3 free / 12 paid). Quotes from public Yahoo Finance data, normalized envelope.

GET /v1/analytics/yield-curve — Parameter: country (US implemented). Returns tenor points + flags.flat_within_10bps and flags.inverted_3m_vs_long.

GET /v1/news/sentiment — Parameters: hours (max 168). Headlines from finance RSS feeds; lexicon-scored; returns aggregate gauge + top items.

Python SDK

pip install mig-data

from mig_data import MIGClient
client = MIGClient(api_key="mig_YOUR_KEY")
curve = client.yield_curve(country="US")
print(curve.flags)

Async variant: from mig_data import AsyncMIGClient. MCP tool manifest available at /.well-known/mcp-manifest.json for agent autodiscovery.

Payments

Upgrades happen through Stripe Checkout; on webhook receipt your existing key's tier is raised automatically (same key, new limits) — no key rotation needed.