What you get#
- REST API
Read-only JSON at /api/v1: the index, a whole industry graph, or any single entity.
- MCP server
Plug the reference into Claude, ChatGPT, Cursor or any MCP client: search, read pages, list industries, report gaps.
- Bulk exports
Stream a whole dataset of an industry as JSON or CSV: players, relationships, companies, comparisons, contracts.
The website stays free for people, forever. These machine-readable surfaces also stay open to everyone, at every tier, with no key:
- Any page as Markdown: /automotive.md Append .md to a page URL.
- Any page as JSON: /automotive.json Append .json to a page URL.
- llms.txt: /llms.txt Index of every live page with Markdown links.
- llms-full.txt: /llms-full.txt The full text of the reference in one file.
- Report a gap: /api/v1/gaps POST what you could not find. Free at every tier.
Quickstart#
No key is needed to start. Add your key with either header once you have one.
curl https://www.howindustrieswork.com/api/v1
curl -H "Authorization: Bearer $HIW_API_KEY" \ https://www.howindustrieswork.com/api/v1/automotive/players/standards-bodies
curl -H "x-api-key: $HIW_API_KEY" https://www.howindustrieswork.com/api/v1/automotive
curl -H "Authorization: Bearer $HIW_API_KEY" \ -o automotive-companies.csv https://www.howindustrieswork.com/api/v1/automotive/export/companies.csv
curl -X POST https://www.howindustrieswork.com/api/v1/gaps \
-H "content-type: application/json" \
-d '{"looking_for": "...", "page": "https://www.howindustrieswork.com/automotive", "agent": "my-bot"}'MCP server#
Endpoint: https://www.howindustrieswork.com/api/mcp. Stateless JSON-RPC 2.0 over HTTP POST. Access is checked per tool call; report_gap is always free and never counted.
{
"mcpServers": {
"how-industries-work": {
"type": "http",
"url": "https://www.howindustrieswork.com/api/mcp",
"headers": {
"Authorization": "Bearer YOUR_KEY"
}
}
}
}{
"mcpServers": {
"how-industries-work": {
"command": "npx",
"args": [
"-y",
"mcp-remote",
"https://www.howindustrieswork.com/api/mcp",
"--header",
"Authorization:Bearer YOUR_KEY"
]
}
}
}Leave out the header to use the keyless tier. Tools:
searchFrom FreeSearch every page section (players, relationships, regions, flows, companies, glossary, FAQs) and return the best-matching passages with deep links.
get_pageFrom FreeRead one page as Markdown. Pass a site URL or path, e.g. /automotive, /automotive/players/oem, /car-dealerships/relationships/<slug>.
list_industriesFrom FreeList industries on the site with their status (live pages vs. planned).
report_gapAlways freeTell the site what your user was looking for that it did not have, or what looked wrong. Call this whenever search/get_page did not fully answer the question. Include what you found elsewhere and its sources if you can; that is how missing content gets added.
curl -X POST https://www.howindustrieswork.com/api/mcp \
-H "content-type: application/json" -H "Authorization: Bearer $HIW_API_KEY" \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"search","arguments":{"query":"how do dealers get paid"}}}'Endpoint reference#
| Method | Path | Access | What it returns |
|---|---|---|---|
| GET | /api/v1 | Read | API index: every industry with its status and API URL, plus the endpoint map. |
| GET | /api/v1/{industry} | Read | One industry's whole graph in one JSON document: players, relationships, regions, stages, flows, glossary, companies, comparisons, contracts and sources. |
| GET | /api/v1/{industry}/{kind}/{slug} | Read | One entity with its sections, sources, page URL, Markdown URL and last-verified date.kind is one of players, relationships, regions, stages, flows, glossary, companies, compare, contracts. |
| GET | /api/v1/{industry}/export | Always free | Lists the bulk exports available for an industry. |
| GET | /api/v1/{industry}/export/{dataset}.{json|csv} | Pro and above | Bulk export of one dataset for an industry, streamed. JSON has a header object and a records array; CSV has one row per record with nested fields as JSON.dataset is one of players, relationships, companies, comparisons, contracts. |
| POST | /api/v1/gaps | Always free | Report what you were looking for and did not find. Always free, never gated. GET shows the field reference. |
| POST | /api/mcp | Per tool | Model Context Protocol server (Streamable HTTP, JSON-RPC 2.0). Gated per tool call; report_gap is always free. |
| POST | /api/access/signup | Always free | Create a free API key. Body (all optional): email, name, use. The key is returned once. |
| POST | /api/billing/checkout | Your key | Start a Stripe Checkout for a paid tier. Body: tier. Send your key. Inactive until billing is configured. |
| POST | /api/billing/portal | Your key | Get a link to the Stripe customer portal for your account. Send your key. Inactive until billing is configured. |
Rate limits#
Early access: limits are not enforced yet. These are the planned limits; see pricing.
| Tier | Per hour | Per day | Per month | Bulk export |
|---|---|---|---|---|
| No key | 60 | 300 | No fixed limit | No |
| Free | 120 | 1,000 | No fixed limit | No |
| Builder | 2,000 | 20,000 | 200,000 | No |
| Pro | 10,000 | 100,000 | 1,000,000 | Yes |
| Enterprise | No fixed limit | No fixed limit | No fixed limit | Yes |
Windows are UTC clock hours, UTC days and UTC calendar months. Requests without a key are counted per IP address; requests with a key are counted per key.
Errors and headers#
Every metered response carries these headers:
- X-RateLimit-Limit: the limit of the window closest to running out
- X-RateLimit-Remaining: requests left in that window
- X-RateLimit-Reset: when that window resets (Unix seconds)
- X-HIW-Tier: the tier the request was counted against
Errors are JSON with a stable code: 401 invalid_key or key_revoked; 403 tier_forbidden (your tier does not include that endpoint or tool); 429 rate_limited, with a Retry-After header in seconds. Over MCP the same errors arrive as JSON-RPC errors (codes -32001, -32003, -32029) with the details in data.
{
"error": {
"code": "rate_limited",
"status": 429,
"message": "Rate limit reached: 60 requests per hour on the No key tier. Try again in 1200 seconds, or send a free API key for higher limits. Get a key and see the limits at https://www.howindustrieswork.com/developers.",
"tier": "anonymous",
"retryAfterSeconds": 1200,
"docs": "https://www.howindustrieswork.com/developers"
}
}Get a key#
A free key lifts the keyless limits and ties usage to your key instead of your IP address. Paid tiers are coming soon.
Attribution and terms#
The website text is licensed CC BY 4.0. Credit "How Does This Industry Work" with a link to the page you used. Use of the API, MCP server and bulk exports is covered by the API terms (a draft pending legal review), which set out what each tier allows.