Base URL: https://market-insight-global.com
All endpoints require Authorization: Bearer <YOUR_KEY>. Get a free key below.
Instant self-serve: enter your email, get a free key on the spot (500 calls/month, no card).
{
"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).
| Tier | Monthly quota | Freshness | Symbols/req |
|---|---|---|---|
| Free | 500 | 24h | 3 |
| Builder | 50,000 | 15 min | 12 |
| Pro | 500,000 | 5 min | 12 |
| Institutional | Unmetered* | 5 min | 12 |
*fair use. Response headers X-QuotaRemaining and X-MIG-Tier accompany every metered response.
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.
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.
Upgrades happen through Stripe Checkout; on webhook receipt your existing key's tier is raised automatically (same key, new limits) — no key rotation needed.