CarGene Factories API

The factories API from CarGene — 4 operation(s) for factories.

GitHub OpenAPI

Operations 4

0 of 4 operations are conformant: apis.io called them with no credentials and the responses matched this contract; 1 more answered but could not be checked against a schema. Checked 2026-11-12. how this works · status file

GET /api/models/{model_id}/factories Get Factories By Model Id #
GET /api/engines/{engine_id}/factories Get Factories By Engine Id #
GET /api/factories Get Factories observed #
GET /api/factories/{factory_id} Get Factory #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/car-gene-com:car-gene-com-factories-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

car-gene-com-factories-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Car Gene Com Factories API
  version: 1.0.0
  description: 'Operations tagged factories across 2 of this provider''s published API definitions: car-gene-com-openapi.json, car-gene-com-openapi.yml. Each path carries the servers of the definition it was published in.'
servers:
- url: https://api.car-gene.com
  description: CarGene API host (named on https://car-gene.com/mcp/; spec served at https://api.car-gene.com/openapi.json)
tags:
- name: factories
paths:
  /api/models/{model_id}/factories:
    get:
      tags:
      - factories
      summary: Get Factories By Model Id
      description: '世代の生産工場を取得


        **空配列は「まだ調べていない」。** 工場の名前と所在地は工場の行が英語も

        持つので、`lang` を付けても行は落ちない (メーカーの訳が無い行だけ落ちる)。'
      operationId: get_factories_by_model_id_api_models__model_id__factories_get
      parameters:
      - required: true
        schema:
          type: string
          title: Model Id
        name: model_id
        in: path
      - description: 訳を返す言語。省略すると日本語
        required: false
        schema:
          allOf:
          - $ref: '#/components/schemas/Lang'
          description: 訳を返す言語。省略すると日本語
        name: lang
        in: query
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GetModelFactoriesResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/engines/{engine_id}/factories:
    get:
      tags:
      - factories
      summary: Get Factories By Engine Id
      description: 'エンジンの型式の生産工場を取得 (#2684)


        **空配列は「まだ調べていない」。** 車の組立工場とは別の行で、型式を積んだ

        世代の工場から導いていない。`lang` の扱いは世代と同じ'
      operationId: get_factories_by_engine_id_api_engines__engine_id__factories_get
      parameters:
      - required: true
        schema:
          type: string
          title: Engine Id
        name: engine_id
        in: path
      - description: 訳を返す言語。省略すると日本語
        required: false
        schema:
          allOf:
          - $ref: '#/components/schemas/Lang'
          description: 訳を返す言語。省略すると日本語
        name: lang
        in: query
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GetEngineFactoriesResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/factories:
    get:
      tags:
      - factories
      summary: Get Factories
      description: 世代かエンジンを1つ以上持つ工場の一覧。ページを書き出す鍵と sitemap の材料
      operationId: get_factories_api_factories_get
      parameters:
      - description: 訳を返す言語。省略すると日本語
        required: false
        schema:
          allOf:
          - $ref: '#/components/schemas/Lang'
          description: 訳を返す言語。省略すると日本語
        name: lang
        in: query
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/FactoryListItemResponse'
                type: array
                title: Response Get Factories Api Factories Get
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/factories/{factory_id}:
    get:
      tags:
      - factories
      summary: Get Factory
      description: 工場1つと、そこで作った世代 (発売年の順) とエンジン。どちらも0の工場は 404
      operationId: get_factory_api_factories__factory_id__get
      parameters:
      - required: true
        schema:
          type: string
          title: Factory Id
        name: factory_id
        in: path
      - description: 訳を返す言語。省略すると日本語
        required: false
        schema:
          allOf:
          - $ref: '#/components/schemas/Lang'
          description: 訳を返す言語。省略すると日本語
        name: lang
        in: query
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/FactoryResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    FactoryModelResponse:
      properties:
        id:
          type: string
          title: Id
        name:
          type: string
          title: Name
        series_id:
          type: string
          title: Series Id
        series_name:
          type: string
          title: Series Name
        maker_name:
          type: string
          title: Maker Name
        start_year:
          type: integer
          title: Start Year
        end_year:
          type: integer
          title: End Year
        thumbnail_s3key:
          type: string
          title: Thumbnail S3Key
        thumbnail_license:
          type: string
          title: Thumbnail License
        thumbnail_author:
          type: string
          title: Thumbnail Author
        thumbnail_source_url:
          type: string
          title: Thumbnail Source Url
        period_start_year:
          type: integer
          title: Period Start Year
        period_start_month:
          type: integer
          title: Period Start Month
        period_end_year:
          type: integer
          title: Period End Year
        period_end_month:
          type: integer
          title: Period End Month
        scope:
          type: string
          title: Scope
        is_primary:
          type: boolean
          title: Is Primary
          default: false
      type: object
      required:
      - id
      - name
      - series_id
      - series_name
      - maker_name
      - start_year
      title: FactoryModelResponse
      description: 'この工場で作った世代1つ


        期間・範囲・主は世代 × 工場の行のもの (`ModelFactoryResponse` と同じ読み方。

        **空は「出典が言っていない」**)'
    EngineListItemResponse:
      properties:
        id:
          type: string
          title: Id
        code:
          type: string
          title: Code
        family:
          type: string
          title: Family
        kind:
          type: string
          title: Kind
        maker_id:
          type: string
          title: Maker Id
        maker_name:
          type: string
          title: Maker Name
        project_id:
          type: string
          title: Project Id
        thumbnail_s3key:
          type: string
          title: Thumbnail S3Key
        thumbnail_license:
          type: string
          title: Thumbnail License
        thumbnail_author:
          type: string
          title: Thumbnail Author
        thumbnail_source_url:
          type: string
          title: Thumbnail Source Url
        layout:
          type: string
          title: Layout
        cylinders:
          type: integer
          title: Cylinders
        aspiration:
          type: string
          title: Aspiration
        displacement_cc_min:
          type: integer
          title: Displacement Cc Min
        displacement_cc_max:
          type: integer
          title: Displacement Cc Max
        max_power_ps_min:
          type: integer
          title: Max Power Ps Min
        max_power_ps_max:
          type: integer
          title: Max Power Ps Max
        max_power_kw_min:
          type: number
          title: Max Power Kw Min
        max_power_kw_max:
          type: number
          title: Max Power Kw Max
        revision_count:
          type: integer
          title: Revision Count
          default: 0
        first_year:
          type: integer
          title: First Year
        last_year:
          type: integer
          title: Last Year
        models:
          items:
            $ref: '#/components/schemas/EngineListModelResponse'
          type: array
          title: Models
          default: []
      type: object
      required:
      - id
      - code
      - kind
      - maker_id
      - maker_name
      title: EngineListItemResponse
      description: 'エンジンの型式1つ。エンジン一覧 (`/engines`) のカードと、`/engines/[id]` を

        書き出す id・sitemap の材料 (#2076)


        **版の値は型式の中で畳む。** 形式・気筒は値を持つ版で揃うとき、過給は全部の版で

        同じときだけ値を持ち (揃わなければ null。カードに出さない)、排気量と出力は版の中の

        最小と最大。

        人・説明文・根拠は詳細で返す (一覧は全型式ぶんを配るので重くしない)'
    GetEngineFactoriesResponse:
      properties:
        factories:
          items:
            $ref: '#/components/schemas/EngineFactoryResponse'
          type: array
          title: Factories
      type: object
      required:
      - factories
      title: GetEngineFactoriesResponse
    EngineFactoryResponse:
      properties:
        id:
          type: string
          title: Id
        name:
          type: string
          title: Name
        maker_id:
          type: string
          title: Maker Id
        maker_name:
          type: string
          title: Maker Name
        country_code:
          type: string
          title: Country Code
        location:
          type: string
          title: Location
        latitude:
          type: number
          title: Latitude
        longitude:
          type: number
          title: Longitude
        thumbnail_s3key:
          type: string
          title: Thumbnail S3Key
        thumbnail_license:
          type: string
          title: Thumbnail License
        thumbnail_author:
          type: string
          title: Thumbnail Author
        thumbnail_source_url:
          type: string
          title: Thumbnail Source Url
        source_url:
          type: string
          title: Source Url
        period_start_year:
          type: integer
          title: Period Start Year
        period_start_month:
          type: integer
          title: Period Start Month
        period_end_year:
          type: integer
          title: Period End Year
        period_end_month:
          type: integer
          title: Period End Month
        scope:
          type: string
          title: Scope
        is_primary:
          type: boolean
          title: Is Primary
          default: false
        detail_source_url:
          type: string
          title: Detail Source Url
      type: object
      required:
      - id
      - name
      - maker_id
      - maker_name
      - country_code
      - location
      - latitude
      - longitude
      title: EngineFactoryResponse
      description: 'エンジンの型式の生産工場1つ (#2684)。列は世代の工場と同じ


        **1つの意味は「この型式のどれかの版がここで作られた」。** 車の組立工場とは

        別の行で、世代の工場から導いていない。`maker_id` は工場を持つメーカー'
    ModelFactoryResponse:
      properties:
        id:
          type: string
          title: Id
        name:
          type: string
          title: Name
        maker_id:
          type: string
          title: Maker Id
        maker_name:
          type: string
          title: Maker Name
        country_code:
          type: string
          title: Country Code
        location:
          type: string
          title: Location
        latitude:
          type: number
          title: Latitude
        longitude:
          type: number
          title: Longitude
        thumbnail_s3key:
          type: string
          title: Thumbnail S3Key
        thumbnail_license:
          type: string
          title: Thumbnail License
        thumbnail_author:
          type: string
          title: Thumbnail Author
        thumbnail_source_url:
          type: string
          title: Thumbnail Source Url
        source_url:
          type: string
          title: Source Url
        period_start_year:
          type: integer
          title: Period Start Year
        period_start_month:
          type: integer
          title: Period Start Month
        period_end_year:
          type: integer
          title: Period End Year
        period_end_month:
          type: integer
          title: Period End Month
        scope:
          type: string
          title: Scope
        is_primary:
          type: boolean
          title: Is Primary
          default: false
        detail_source_url:
          type: string
          title: Detail Source Url
      type: object
      required:
      - id
      - name
      - maker_id
      - maker_name
      - country_code
      - location
      - latitude
      - longitude
      title: ModelFactoryResponse
      description: '世代の生産工場1つ


        **1つの意味は「この世代のどれかがここで作られた」**で、「全部がここ」では

        ない (`ModelSuspensionResponse` と同じ読み方)。'
    FactoryListItemResponse:
      properties:
        id:
          type: string
          title: Id
        name:
          type: string
          title: Name
        maker_id:
          type: string
          title: Maker Id
        maker_name:
          type: string
          title: Maker Name
        country_code:
          type: string
          title: Country Code
        location:
          type: string
          title: Location
        latitude:
          type: number
          title: Latitude
        longitude:
          type: number
          title: Longitude
        thumbnail_s3key:
          type: string
          title: Thumbnail S3Key
        thumbnail_license:
          type: string
          title: Thumbnail License
        thumbnail_author:
          type: string
          title: Thumbnail Author
        thumbnail_source_url:
          type: string
          title: Thumbnail Source Url
        model_count:
          type: integer
          title: Model Count
        engine_count:
          type: integer
          title: Engine Count
      type: object
      required:
      - id
      - name
      - maker_id
      - maker_name
      - country_code
      - location
      - latitude
      - longitude
      - model_count
      - engine_count
      title: FactoryListItemResponse
      description: '工場の一覧 (`/factories`。#2559) の1つ


        **世代もエンジンも無い工場は返さない** (子ページを書き出さない。#2719)'
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    Lang:
      type: string
      enum:
      - en
      title: Lang
      description: An enumeration.
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
            - type: string
            - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
      type: object
      required:
      - loc
      - msg
      - type
      title: ValidationError
    GetModelFactoriesResponse:
      properties:
        factories:
          items:
            $ref: '#/components/schemas/ModelFactoryResponse'
          type: array
          title: Factories
      type: object
      required:
      - factories
      title: GetModelFactoriesResponse
    FactoryResponse:
      properties:
        id:
          type: string
          title: Id
        name:
          type: string
          title: Name
        maker_id:
          type: string
          title: Maker Id
        maker_name:
          type: string
          title: Maker Name
        country_code:
          type: string
          title: Country Code
        location:
          type: string
          title: Location
        latitude:
          type: number
          title: Latitude
        longitude:
          type: number
          title: Longitude
        thumbnail_s3key:
          type: string
          title: Thumbnail S3Key
        thumbnail_license:
          type: string
          title: Thumbnail License
        thumbnail_author:
          type: string
          title: Thumbnail Author
        thumbnail_source_url:
          type: string
          title: Thumbnail Source Url
        models:
          items:
            $ref: '#/components/schemas/FactoryModelResponse'
          type: array
          title: Models
        engines:
          items:
            $ref: '#/components/schemas/EngineListItemResponse'
          type: array
          title: Engines
      type: object
      required:
      - id
      - name
      - maker_id
      - maker_name
      - country_code
      - location
      - latitude
      - longitude
      - models
      - engines
      title: FactoryResponse
      description: '工場1つと、そこで作った世代 (発売年の順) とエンジン。子ページ (`/factories/[id]`) の材料


        **どちらかは空でない** (両方空の工場は 404)。エンジンだけの工場 (上郷) は `models` が空'
    EngineListModelResponse:
      properties:
        id:
          type: string
          title: Id
        name:
          type: string
          title: Name
        series_name:
          type: string
          title: Series Name
        start_year:
          type: integer
          title: Start Year
        end_year:
          type: integer
          title: End Year
      type: object
      required:
      - id
      - name
      - series_name
      - start_year
      title: EngineListModelResponse
      description: エンジン一覧のカードの「載った車」。名前と年だけ (画像・根拠は詳細で返す)
  securitySchemes:
    HTTPBearer:
      type: http
      scheme: bearer
x-refined-from:
- car-gene-com-openapi.json
- car-gene-com-openapi.yml