CarGene Parts API

The parts API from CarGene — 2 operation(s) for parts.

GitHub OpenAPI

Operations 2

0 of 2 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/parts Get Parts #
GET /api/parts/index Get Part Index observed #

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-parts-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-parts-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Car Gene Com Parts API
  version: 1.0.0
  description: 'Operations tagged parts 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: Parts
paths:
  /api/parts:
    get:
      tags:
      - Parts
      summary: Get Parts
      description: 'パーツを取得 (#1711)


        商品ごとに、仕様 (サイズ) と、仕様ごとの適合・出品を入れ子で返す。

        **製品の正は DB。** カスタムシミュレーションはこれを読み、純正と形だけの

        汎用品だけを frontend に持つ。**空配列は「1 つも無い」**。


        **`model_id` / `slug` / `part_key` のどれかが要る。** 全件は Lambda の応答の

        上限 (6MB) を超え、502 で落ちる (#1977・#1986・#2412)。上限に当たるまで DB を

        引いて Lambda を数十秒回すので、引く前に 400 で断る。カスタムシミュレーション

        は 1 台の世代を渡し、一覧を組む側は部位ごとに slim で引き、商品の詳細と全商品

        を回す側は slug で引く (slug の一覧は `/api/parts/index`)。slim でも仕様と

        出品の行は削らない (数と価格は同じ)'
      operationId: get_parts_api_parts_get
      parameters:
      - description: 世代 (models.id)。渡すと、適合の行を持たない商品 (車種を選ばない。ホイールを除く) と、どれかの世代に fit / conditional の商品だけを返す。ホイールはその世代に fit / conditional の行を持つサイズだけ。slim にもなる
        required: false
        schema:
          items:
            type: string
          type: array
          title: Model Id
          description: 世代 (models.id)。渡すと、適合の行を持たない商品 (車種を選ばない。ホイールを除く) と、どれかの世代に fit / conditional の商品だけを返す。ホイールはその世代に fit / conditional の行を持つサイズだけ。slim にもなる
        name: model_id
        in: query
      - description: ホイールの仕様を削って返す (attributes は終了品の印だけ、出典は null、適合の条件は by_grade を省く)。管理画面の一覧
        required: false
        schema:
          type: boolean
          title: Slim
          description: ホイールの仕様を削って返す (attributes は終了品の印だけ、出典は null、適合の条件は by_grade を省く)。管理画面の一覧
          default: false
        name: slim
        in: query
      - description: その商品だけを全部返す (管理画面の商品の詳細)
        required: false
        schema:
          items:
            type: string
          type: array
          title: Slug
          description: その商品だけを全部返す (管理画面の商品の詳細)
        name: slug
        in: query
      - description: その PCD ("5H-114.3") のホイールの仕様だけを返す。ほかの部位は削らない
        required: false
        schema:
          items:
            type: string
          type: array
          title: Wheel Pcd
          description: その PCD ("5H-114.3") のホイールの仕様だけを返す。ほかの部位は削らない
        name: wheel_pcd
        in: query
      - description: その部位 (wheel / suspension …) の商品だけを返す (管理画面の一覧)
        required: false
        schema:
          items:
            type: string
          type: array
          title: Part Key
          description: その部位 (wheel / suspension …) の商品だけを返す (管理画面の一覧)
        name: part_key
        in: query
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GetPartsResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/parts/index:
    get:
      tags:
      - Parts
      summary: Get Part Index
      description: '全商品の軽い行 (#1986)


        管理画面の目次・メーカーの数・語で探す・出品ありの数に使う。仕様と適合は

        持たないので、全商品でも `/api/parts` を部位ごとに引くより軽い'
      operationId: get_part_index_api_parts_index_get
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GetPartIndexResponse'
components:
  schemas:
    PartManufacturerResponse:
      properties:
        slug:
          type: string
          title: Slug
        name:
          type: string
          title: Name
      type: object
      required:
      - slug
      - name
      title: PartManufacturerResponse
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    GetPartsResponse:
      properties:
        parts:
          items:
            $ref: '#/components/schemas/PartResponse'
          type: array
          title: Parts
      type: object
      required:
      - parts
      title: GetPartsResponse
    PartFitmentResponse:
      properties:
        model_id:
          type: string
          title: Model Id
        status:
          type: string
          title: Status
        conditions:
          type: object
          title: Conditions
      type: object
      required:
      - model_id
      - status
      - conditions
      title: PartFitmentResponse
      description: 世代 (models) への適合。unknown と non_fit は別の値
    PartListingResponse:
      properties:
        id:
          type: string
          title: Id
        seller_name:
          type: string
          title: Seller Name
        url:
          type: string
          title: Url
        price_yen:
          type: integer
          title: Price Yen
        quantity:
          type: integer
          title: Quantity
        condition:
          type: string
          title: Condition
        condition_note:
          type: string
          title: Condition Note
        mileage_km:
          type: integer
          title: Mileage Km
        status:
          type: string
          title: Status
        bundled_with:
          type: string
          title: Bundled With
        attributes:
          type: object
          title: Attributes
        observed_at:
          type: string
          format: date-time
          title: Observed At
      type: object
      required:
      - id
      - seller_name
      - price_yen
      - quantity
      - condition
      - status
      - attributes
      - observed_at
      title: PartListingResponse
      description: 出品 1 件。**price_yen は quantity 個での値** (ホイールは 4 本組が多い)
    Part3dAssetResponse:
      properties:
        key:
          type: string
          title: Key
        published:
          type: boolean
          title: Published
        s3_key:
          type: string
          title: S3 Key
        source_name:
          type: string
          title: Source Name
        source_author:
          type: string
          title: Source Author
        source_license:
          type: string
          title: Source License
        source_url:
          type: string
          title: Source Url
        face_count:
          type: integer
          title: Face Count
        size_mb:
          type: number
          title: Size Mb
      type: object
      required:
      - key
      - published
      - source_name
      - source_author
      - source_license
      - source_url
      title: Part3dAssetResponse
      description: '商品の 3D モデル (GLB)。管理画面が読み、売り場はまだ読まない


        形はサイズで変わらないので商品に 1 つ。出どころの 4 つは CC BY の表示の条件'
    PartResponse:
      properties:
        id:
          type: string
          title: Id
        slug:
          type: string
          title: Slug
        part_key:
          type: string
          title: Part Key
        name:
          type: string
          title: Name
        part_number:
          type: string
          title: Part Number
        description:
          type: string
          title: Description
        official_url:
          type: string
          title: Official Url
        manufacturer:
          $ref: '#/components/schemas/PartManufacturerResponse'
        variants:
          items:
            $ref: '#/components/schemas/PartVariantResponse'
          type: array
          title: Variants
        asset_3d:
          $ref: '#/components/schemas/Part3dAssetResponse'
        tool_requirements:
          items:
            $ref: '#/components/schemas/PartToolRequirementResponse'
          type: array
          title: Tool Requirements
      type: object
      required:
      - id
      - slug
      - part_key
      - name
      - manufacturer
      - variants
      - tool_requirements
      title: PartResponse
      description: '商品 1 つ (#1711)


        **製品の正は DB。** カスタムシミュレーションは slug で 3D の描き方を引き、

        保存したカスタムも slug を持つ。'
    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
    GetPartIndexResponse:
      properties:
        parts:
          items:
            $ref: '#/components/schemas/PartIndexResponse'
          type: array
          title: Parts
      type: object
      required:
      - parts
      title: GetPartIndexResponse
    PartIndexResponse:
      properties:
        slug:
          type: string
          title: Slug
        part_key:
          type: string
          title: Part Key
        name:
          type: string
          title: Name
        part_number:
          type: string
          title: Part Number
        description:
          type: string
          title: Description
        manufacturer:
          $ref: '#/components/schemas/PartManufacturerResponse'
        listing_count:
          type: integer
          title: Listing Count
        variant_count:
          type: integer
          title: Variant Count
        list_price_min_yen:
          type: integer
          title: List Price Min Yen
        list_price_max_yen:
          type: integer
          title: List Price Max Yen
        discontinued:
          type: boolean
          title: Discontinued
        has_3d:
          type: boolean
          title: Has 3D
      type: object
      required:
      - slug
      - part_key
      - name
      - manufacturer
      - listing_count
      - variant_count
      - discontinued
      - has_3d
      title: PartIndexResponse
      description: '商品 1 つの軽い行 (#1986)。管理画面の目次・メーカーの数・語で探す・

        一覧の行に使う。仕様・適合・出品は数と幅に畳む (#3018。中身は `/api/parts` を

        slug で引く)。**行の大きさが適合表や出品の数で太らないこと** が、この口の約束'
    PartSourceResponse:
      properties:
        type:
          type: string
          title: Type
        name:
          type: string
          title: Name
        url:
          type: string
          title: Url
        accessed_on:
          type: string
          format: date
          title: Accessed On
      type: object
      required:
      - type
      - name
      - accessed_on
      title: PartSourceResponse
      description: 仕様の寸法と定価をどこから写したか。管理画面が読み、売り場には出さない
    PartCamberResponse:
      properties:
        axle:
          type: string
          title: Axle
        range_kind:
          type: string
          title: Range Kind
        min_arcmin:
          type: integer
          title: Min Arcmin
        max_arcmin:
          type: integer
          title: Max Arcmin
      type: object
      required:
      - axle
      title: PartCamberResponse
      description: '車高調のキャンバーの調整 1 軸 (`part_variant_cambers`)。行の無い軸は調整できない


        range_kind が null なら範囲の数字の公表が無い (シミュレーターは目安の幅で動かす)。

        absolute は付けたあとのキャンバー角、from_stock は純正の位置からの量。単位は角度の分で、

        負がネガティブ'
    PartVariantResponse:
      properties:
        id:
          type: string
          title: Id
        specification:
          type: string
          title: Specification
        diameter_inch:
          type: number
          title: Diameter Inch
        width_j:
          type: number
          title: Width J
        inset_mm:
          type: integer
          title: Inset Mm
        hole_count:
          type: integer
          title: Hole Count
        pcd_mm:
          type: number
          title: Pcd Mm
        center_bore_mm:
          type: number
          title: Center Bore Mm
        attributes:
          type: object
          title: Attributes
        list_price_yen:
          type: integer
          title: List Price Yen
        source:
          $ref: '#/components/schemas/PartSourceResponse'
        fitments:
          items:
            $ref: '#/components/schemas/PartFitmentResponse'
          type: array
          title: Fitments
        listings:
          items:
            $ref: '#/components/schemas/PartListingResponse'
          type: array
          title: Listings
        cambers:
          items:
            $ref: '#/components/schemas/PartCamberResponse'
          type: array
          title: Cambers
          default: []
      type: object
      required:
      - id
      - specification
      - attributes
      - fitments
      - listings
      title: PartVariantResponse
      description: 商品の仕様 (サイズ)。ホイールだけ寸法を列で持ち、他は attributes
    PartToolRequirementResponse:
      properties:
        tool_slug:
          type: string
          title: Tool Slug
        tool_name:
          type: string
          title: Tool Name
        is_consumable:
          type: boolean
          title: Is Consumable
        unit:
          type: string
          title: Unit
        necessity:
          type: string
          title: Necessity
        quantity:
          type: integer
          title: Quantity
        note:
          type: string
          title: Note
        model_id:
          type: string
          title: Model Id
      type: object
      required:
      - tool_slug
      - tool_name
      - is_consumable
      - unit
      - necessity
      - quantity
      title: PartToolRequirementResponse
      description: 取り付けに要る特殊工具・消耗品 1 つ (#1927)。一般的な工具は載らない
  securitySchemes:
    HTTPBearer:
      type: http
      scheme: bearer
x-refined-from:
- car-gene-com-openapi.json
- car-gene-com-openapi.yml