{
  "openapi": "3.1.0",
  "info": {
    "title": "1000 Business Ideas API",
    "version": "1.0.0",
    "description": "Read-only access to a classified catalogue of ~1,000 business types. No authentication required. CORS is open. Every concept is described by plain facts about the business type: category, model family, value chain role, customers, revenue model, startup capital band and footprint. An MCP server with the same capabilities is available at /mcp."
  },
  "servers": [
    {
      "url": "https://www.1000businessideas.com"
    }
  ],
  "paths": {
    "/api/v1/concepts": {
      "get": {
        "operationId": "searchConcepts",
        "summary": "Search and filter business ideas",
        "parameters": [
          {
            "name": "q",
            "in": "query",
            "required": false,
            "description": "Free-text search over name, aliases, category, summary and overview. All words must match.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "category",
            "in": "query",
            "required": false,
            "description": "Category slug. Comma-separated or repeated; an idea matches if it has any of the values. Allowed: food-drink, retail-storefront, retail-online-e-commerce, personal-care-beauty, health-medical-care, fitness-recreation, home-services-residential, construction-trades-contracting, automotive-motor, professional-business-b2b, cleaning-facility-services, property-real-estate, manufacturing-production, wholesale-distribution, transportation-logistics, agriculture-land, education-training-childcare, hospitality-lodging, arts-media-creative, events-entertainment, pets-animals, technology-digital, financial-insurance, asset-route-buy-an-income, niche-specialty-emerging.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "model_family",
            "in": "query",
            "required": false,
            "description": "Business model family. Comma-separated or repeated; an idea matches if it has any of the values. Allowed: goods_channel, service, asset_operator, hybrid.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "value_chain_role",
            "in": "query",
            "required": false,
            "description": "Primary value chain role. Comma-separated or repeated; an idea matches if it has any of the values. Allowed: producer, distributor, reseller, retailer, direct_service, intermediary, asset_operator.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "customer_type",
            "in": "query",
            "required": false,
            "description": "Customer type. Comma-separated or repeated; an idea matches if it has any of the values. Allowed: B2C, B2B, B2B2C, B2G.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "revenue_model",
            "in": "query",
            "required": false,
            "description": "Revenue model. Comma-separated or repeated; an idea matches if it has any of the values. Allowed: transactional, subscription, usage_based, commission, rental_leasing.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "capital",
            "in": "query",
            "required": false,
            "description": "Startup capital band. Comma-separated or repeated; an idea matches if it has any of the values. Allowed: low, medium, high, varies.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "footprint",
            "in": "query",
            "required": false,
            "description": "Where it operates. Comma-separated or repeated; an idea matches if it has any of the values. Allowed: home_based, mobile, premises, field_onsite, online.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "preset",
            "in": "query",
            "required": false,
            "description": "Apply a saved filter combination.",
            "schema": {
              "type": "string",
              "enum": [
                "lean-start",
                "recurring-revenue",
                "buy-an-income",
                "work-from-home",
                "sell-to-businesses",
                "on-the-road"
              ]
            }
          },
          {
            "name": "sort",
            "in": "query",
            "schema": {
              "type": "string",
              "enum": [
                "relevance",
                "name",
                "capital"
              ],
              "default": "relevance"
            }
          },
          {
            "name": "limit",
            "in": "query",
            "schema": {
              "type": "integer",
              "default": 20,
              "minimum": 1,
              "maximum": 100
            }
          },
          {
            "name": "offset",
            "in": "query",
            "schema": {
              "type": "integer",
              "default": 0,
              "minimum": 0
            }
          },
          {
            "name": "include",
            "in": "query",
            "description": "Comma-separated extras: overview, facets.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "A page of matching concepts",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "total": {
                      "type": "integer"
                    },
                    "limit": {
                      "type": "integer"
                    },
                    "offset": {
                      "type": "integer"
                    },
                    "has_more": {
                      "type": "boolean"
                    },
                    "next": {
                      "type": "string",
                      "nullable": true
                    },
                    "results": {
                      "type": "array",
                      "items": {
                        "$ref": "#/components/schemas/Concept"
                      }
                    },
                    "facets": {
                      "type": "object",
                      "description": "Counts per facet value (with include=facets)."
                    }
                  }
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/concepts/{id}": {
      "get": {
        "operationId": "getConcept",
        "summary": "Get one business idea, with overview and similar ideas",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "format",
            "in": "query",
            "schema": {
              "type": "string",
              "enum": [
                "json",
                "md"
              ]
            },
            "description": "md returns Markdown."
          }
        ],
        "responses": {
          "200": {
            "description": "The concept",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Concept"
                }
              }
            }
          },
          "404": {
            "description": "Not found"
          }
        }
      }
    },
    "/api/v1/concepts/{id}/similar": {
      "get": {
        "operationId": "getSimilarConcepts",
        "summary": "Find similar business ideas",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "limit",
            "in": "query",
            "schema": {
              "type": "integer",
              "default": 6,
              "maximum": 50
            }
          },
          {
            "name": "scope",
            "in": "query",
            "schema": {
              "type": "string",
              "enum": [
                "any",
                "same_category",
                "other_categories"
              ],
              "default": "any"
            },
            "description": "other_categories returns only ideas from other industries."
          }
        ],
        "responses": {
          "200": {
            "description": "Similar concepts",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/categories": {
      "get": {
        "operationId": "listCategories",
        "summary": "List the 25 categories with counts",
        "responses": {
          "200": {
            "description": "Categories",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/taxonomy": {
      "get": {
        "operationId": "describeTaxonomy",
        "summary": "Every filter dimension, its allowed values, meanings and counts, plus presets",
        "responses": {
          "200": {
            "description": "Taxonomy",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/random": {
      "get": {
        "operationId": "randomConcepts",
        "summary": "Draw random business ideas, optionally filtered",
        "parameters": [
          {
            "name": "q",
            "in": "query",
            "required": false,
            "description": "Free-text search over name, aliases, category, summary and overview. All words must match.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "category",
            "in": "query",
            "required": false,
            "description": "Category slug. Comma-separated or repeated; an idea matches if it has any of the values. Allowed: food-drink, retail-storefront, retail-online-e-commerce, personal-care-beauty, health-medical-care, fitness-recreation, home-services-residential, construction-trades-contracting, automotive-motor, professional-business-b2b, cleaning-facility-services, property-real-estate, manufacturing-production, wholesale-distribution, transportation-logistics, agriculture-land, education-training-childcare, hospitality-lodging, arts-media-creative, events-entertainment, pets-animals, technology-digital, financial-insurance, asset-route-buy-an-income, niche-specialty-emerging.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "model_family",
            "in": "query",
            "required": false,
            "description": "Business model family. Comma-separated or repeated; an idea matches if it has any of the values. Allowed: goods_channel, service, asset_operator, hybrid.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "value_chain_role",
            "in": "query",
            "required": false,
            "description": "Primary value chain role. Comma-separated or repeated; an idea matches if it has any of the values. Allowed: producer, distributor, reseller, retailer, direct_service, intermediary, asset_operator.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "customer_type",
            "in": "query",
            "required": false,
            "description": "Customer type. Comma-separated or repeated; an idea matches if it has any of the values. Allowed: B2C, B2B, B2B2C, B2G.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "revenue_model",
            "in": "query",
            "required": false,
            "description": "Revenue model. Comma-separated or repeated; an idea matches if it has any of the values. Allowed: transactional, subscription, usage_based, commission, rental_leasing.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "capital",
            "in": "query",
            "required": false,
            "description": "Startup capital band. Comma-separated or repeated; an idea matches if it has any of the values. Allowed: low, medium, high, varies.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "footprint",
            "in": "query",
            "required": false,
            "description": "Where it operates. Comma-separated or repeated; an idea matches if it has any of the values. Allowed: home_based, mobile, premises, field_onsite, online.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "preset",
            "in": "query",
            "required": false,
            "description": "Apply a saved filter combination.",
            "schema": {
              "type": "string",
              "enum": [
                "lean-start",
                "recurring-revenue",
                "buy-an-income",
                "work-from-home",
                "sell-to-businesses",
                "on-the-road"
              ]
            }
          },
          {
            "name": "count",
            "in": "query",
            "schema": {
              "type": "integer",
              "default": 1,
              "maximum": 25
            }
          },
          {
            "name": "seed",
            "in": "query",
            "schema": {
              "type": "integer"
            },
            "description": "Makes the draw reproducible."
          }
        ],
        "responses": {
          "200": {
            "description": "Random concepts",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/compare": {
      "get": {
        "operationId": "compareConcepts",
        "summary": "Compare several business ideas and list the traits they share",
        "parameters": [
          {
            "name": "ids",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Comma-separated concept ids (max 20)."
          }
        ],
        "responses": {
          "200": {
            "description": "Comparison",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          }
        }
      }
    }
  },
  "components": {
    "schemas": {
      "Concept": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "example": "food-truck"
          },
          "name": {
            "type": "string"
          },
          "summary": {
            "type": "string",
            "nullable": true
          },
          "overview": {
            "type": "string",
            "nullable": true,
            "description": "Two-paragraph overview. Included on single-concept responses, or with include=overview."
          },
          "aliases": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "category": {
            "type": "object",
            "properties": {
              "slug": {
                "type": "string"
              },
              "name": {
                "type": "string"
              }
            }
          },
          "model_family": {
            "type": "string",
            "enum": [
              "goods_channel",
              "service",
              "asset_operator",
              "hybrid"
            ]
          },
          "value_chain_role": {
            "type": "string",
            "enum": [
              "producer",
              "distributor",
              "reseller",
              "retailer",
              "direct_service",
              "intermediary",
              "asset_operator"
            ]
          },
          "value_chain_role_secondary": {
            "type": "array",
            "items": {
              "type": "string",
              "enum": [
                "producer",
                "distributor",
                "reseller",
                "retailer",
                "direct_service",
                "intermediary",
                "asset_operator"
              ]
            }
          },
          "customer_type": {
            "type": "array",
            "items": {
              "type": "string",
              "enum": [
                "B2C",
                "B2B",
                "B2B2C",
                "B2G"
              ]
            }
          },
          "revenue_model": {
            "type": "array",
            "items": {
              "type": "string",
              "enum": [
                "transactional",
                "subscription",
                "usage_based",
                "commission",
                "rental_leasing"
              ]
            }
          },
          "capital_intensity": {
            "type": "string",
            "enum": [
              "low",
              "medium",
              "high",
              "varies"
            ]
          },
          "footprint": {
            "type": "array",
            "items": {
              "type": "string",
              "enum": [
                "home_based",
                "mobile",
                "premises",
                "field_onsite",
                "online"
              ]
            }
          },
          "url": {
            "type": "string",
            "format": "uri"
          },
          "api_url": {
            "type": "string",
            "format": "uri"
          }
        }
      }
    }
  }
}