Developers

The API and MCP server

Every industry on the site as structured data: players, relationships, regions, flows, companies, comparisons and contracts, with sources and confidence labels, in one call instead of page by page.

Free during early accessLast updated 2026-11-23
01
Three ways in

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.
02
curl

Quickstart#

No key is needed to start. Add your key with either header once you have one.

The API index
curl https://www.howindustrieswork.com/api/v1
One entity: the standards-bodies player type in Automotive
curl -H "Authorization: Bearer $HIW_API_KEY" \
  https://www.howindustrieswork.com/api/v1/automotive/players/standards-bodies
A whole industry graph
curl -H "x-api-key: $HIW_API_KEY" https://www.howindustrieswork.com/api/v1/automotive
Bulk export as CSV (Pro and above once tiers launch)
curl -H "Authorization: Bearer $HIW_API_KEY" \
  -o automotive-companies.csv https://www.howindustrieswork.com/api/v1/automotive/export/companies.csv
Tell us what was missing (always free)
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"}'
03
Streamable HTTP

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.

Client configuration (clients that support remote servers with headers)
{
  "mcpServers": {
    "how-industries-work": {
      "type": "http",
      "url": "https://www.howindustrieswork.com/api/mcp",
      "headers": {
        "Authorization": "Bearer YOUR_KEY"
      }
    }
  }
}
Clients that only run local commands (through the mcp-remote bridge)
{
  "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 Free

    Search every page section (players, relationships, regions, flows, companies, glossary, FAQs) and return the best-matching passages with deep links.

  • get_pageFrom Free

    Read one page as Markdown. Pass a site URL or path, e.g. /automotive, /automotive/players/oem, /car-dealerships/relationships/<slug>.

  • list_industriesFrom Free

    List industries on the site with their status (live pages vs. planned).

  • report_gapAlways free

    Tell 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.

A raw tool call
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"}}}'
04
Every route

Endpoint reference#

MethodPathAccessWhat it returns
GET/api/v1ReadAPI index: every industry with its status and API URL, plus the endpoint map.
GET/api/v1/{industry}ReadOne 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}ReadOne 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}/exportAlways freeLists the bulk exports available for an industry.
GET/api/v1/{industry}/export/{dataset}.{json|csv}Pro and aboveBulk 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/gapsAlways freeReport what you were looking for and did not find. Always free, never gated. GET shows the field reference.
POST/api/mcpPer toolModel Context Protocol server (Streamable HTTP, JSON-RPC 2.0). Gated per tool call; report_gap is always free.
POST/api/access/signupAlways freeCreate a free API key. Body (all optional): email, name, use. The key is returned once.
POST/api/billing/checkoutYour keyStart a Stripe Checkout for a paid tier. Body: tier. Send your key. Inactive until billing is configured.
POST/api/billing/portalYour keyGet a link to the Stripe customer portal for your account. Send your key. Inactive until billing is configured.
05
Not enforced yet

Rate limits#

Early access: limits are not enforced yet. These are the planned limits; see pricing.

TierPer hourPer dayPer monthBulk export
No key60300No fixed limitNo
Free1201,000No fixed limitNo
Builder2,00020,000200,000No
Pro10,000100,0001,000,000Yes
EnterpriseNo fixed limitNo fixed limitNo fixed limitYes

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.

06
What to expect

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.

Example 429 body
{
  "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"
  }
}
07
Free, in seconds

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.

By creating a key you agree to the API terms (draft).
08
Cite the source

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.

Before you go

Did you find what you came here for?