CarGene Shops API

The shops API from CarGene — 9 operation(s) for shops.

GitHub OpenAPI

Operations 9

GET /api/services Get Services #
GET /api/services/{code} Get Service #
GET /api/shop-attributes Get Shop Attributes #
GET /api/vehicle-models Get Vehicle Models #
GET /api/search-origins Get Search Origins #
GET /api/shops List Shops #
GET /api/shops/search Search Shops #
GET /api/shops/detail/{shop_id} Get Shop #
GET /api/shops/missing-facts Get Missing Facts #

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-shops-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-shops-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Car Gene Com Shops API
  version: 1.0.0
  description: 'Operations tagged shops 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: Shops
paths:
  /api/services:
    get:
      tags:
      - Shops
      summary: Get Services
      description: '施術一覧を取得


        検索の第一軸。業態ではなく「何をしてほしいか」で店舗を横断的に探すために使う。'
      operationId: get_services_api_services_get
      parameters:
      - description: 公開面に出していない施術 (中古車販売など) も含める。管理画面が使う
        required: false
        schema:
          type: boolean
          title: Include Unlisted
          description: 公開面に出していない施術 (中古車販売など) も含める。管理画面が使う
          default: false
        name: include_unlisted
        in: query
      - description: 英語 (#2471) なら語の一覧を英語で返す。省略すると日本語
        required: false
        schema:
          allOf:
          - $ref: '#/components/schemas/Lang'
          description: 英語 (#2471) なら語の一覧を英語で返す。省略すると日本語
        name: lang
        in: query
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ServiceResponse'
                type: array
                title: Response Get Services Api Services Get
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/services/{code}:
    get:
      tags:
      - Shops
      summary: Get Service
      description: '施術の詳細と、その施術で確認すべき条件を取得


        返ってくる attributes が、そのまま検索 UI の絞り込み項目になる。'
      operationId: get_service_api_services__code__get
      parameters:
      - required: true
        schema:
          type: string
          title: Code
        name: code
        in: path
      - description: 英語 (#2471) なら語の一覧を英語で返す。省略すると日本語
        required: false
        schema:
          allOf:
          - $ref: '#/components/schemas/Lang'
          description: 英語 (#2471) なら語の一覧を英語で返す。省略すると日本語
        name: lang
        in: query
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ServiceDetailResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/shop-attributes:
    get:
      tags:
      - Shops
      summary: Get Shop Attributes
      description: 'スポット自体の条件一覧を取得


        施術を指定しない検索の絞り込み項目になる。駐車場の有無のように、

        施術ではなく場所そのものに紐づく条件だけを返す。'
      operationId: get_shop_attributes_api_shop_attributes_get
      parameters:
      - description: 英語 (#2471) なら語の一覧を英語で返す。省略すると日本語
        required: false
        schema:
          allOf:
          - $ref: '#/components/schemas/Lang'
          description: 英語 (#2471) なら語の一覧を英語で返す。省略すると日本語
        name: lang
        in: query
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ServiceAttributeResponse'
                type: array
                title: Response Get Shop Attributes Api Shop Attributes Get
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/vehicle-models:
    get:
      tags:
      - Shops
      summary: Get Vehicle Models
      description: 型式で引ける車種一覧を取得
      operationId: get_vehicle_models_api_vehicle_models_get
      parameters:
      - description: 英語 (#2471) なら語の一覧を英語で返す。省略すると日本語
        required: false
        schema:
          allOf:
          - $ref: '#/components/schemas/Lang'
          description: 英語 (#2471) なら語の一覧を英語で返す。省略すると日本語
        name: lang
        in: query
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/VehicleModelResponse'
                type: array
                title: Response Get Vehicle Models Api Vehicle Models Get
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/search-origins:
    get:
      tags:
      - Shops
      summary: Get Search Origins
      description: 検索の起点一覧を取得
      operationId: get_search_origins_api_search_origins_get
      parameters:
      - description: 英語 (#2471) なら語の一覧を英語で返す。省略すると日本語
        required: false
        schema:
          allOf:
          - $ref: '#/components/schemas/Lang'
          description: 英語 (#2471) なら語の一覧を英語で返す。省略すると日本語
        name: lang
        in: query
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/SearchOriginResponse'
                type: array
                title: Response Get Search Origins Api Search Origins Get
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/shops:
    get:
      tags:
      - Shops
      summary: List Shops
      description: '店舗の索引を取得


        検索と違い、閉店した店舗も status 付きで返す。フロントは静的書き出しのため、

        どの店舗にページを作るかをビルド時にここから決める。

        閉店した店舗のページも残し、古いリンクを 404 にせず「閉店」と伝える。'
      operationId: list_shops_api_shops_get
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ShopIndexEntry'
                type: array
                title: Response List Shops Api Shops Get
  /api/shops/search:
    get:
      tags:
      - Shops
      summary: Search Shops
      description: '条件に合うスポットを探す


        service_code を指定すると、その施術に対応できる店舗を探す。指定しなければ

        施術を持たないスポット(カフェなど)も含めて全て返し、条件はスポット自体の

        ものだけで判定する。


        require に挙げた条件について、対応不可と確認済みのスポットは常に除外する。

        まだ確認できていないスポットは include_unknown が真のときだけ候補に残り、

        レスポンスの availability と unknown_attributes で何が未確認かが分かる。'
      operationId: search_shops_api_shops_search_get
      parameters:
      - description: '施術コード(例: wheel_alignment_4)。指定しなければ施術を問わず全スポットを返す'
        required: false
        schema:
          type: string
          title: Service Code
          description: '施術コード(例: wheel_alignment_4)。指定しなければ施術を問わず全スポットを返す'
        name: service_code
        in: query
      - description: 検索の起点となる緯度
        required: false
        schema:
          type: number
          title: Latitude
          description: 検索の起点となる緯度
        name: latitude
        in: query
      - description: 検索の起点となる経度
        required: false
        schema:
          type: number
          title: Longitude
          description: 検索の起点となる経度
        name: longitude
        in: query
      - description: 起点からの半径 (km)。指定しなければ距離では絞らず、起点からの近い順に並べるだけになる
        required: false
        schema:
          type: number
          title: Radius Km
          description: 起点からの半径 (km)。指定しなければ距離では絞らず、起点からの近い順に並べるだけになる
        name: radius_km
        in: query
      - description: '型式(例: ZN6)'
        required: false
        schema:
          type: string
          title: Vehicle Model Code
          description: '型式(例: ZN6)'
        name: vehicle_model_code
        in: query
      - description: 満たすべき条件のコード。カンマ区切り
        required: false
        schema:
          type: string
          title: Require
          description: 満たすべき条件のコード。カンマ区切り
        name: require
        in: query
      - description: まだ確認できていない店舗も候補に含めるか
        required: false
        schema:
          type: boolean
          title: Include Unknown
          description: まだ確認できていない店舗も候補に含めるか
          default: true
        name: include_unknown
        in: query
      - description: 最大件数
        required: false
        schema:
          type: integer
          maximum: 2000.0
          minimum: 1.0
          title: Limit
          description: 最大件数
          default: 50
        name: limit
        in: query
      - description: 英語 (#2471) なら語の一覧を英語で返す。省略すると日本語
        required: false
        schema:
          allOf:
          - $ref: '#/components/schemas/Lang'
          description: 英語 (#2471) なら語の一覧を英語で返す。省略すると日本語
        name: lang
        in: query
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ShopSearchResult'
                type: array
                title: Response Search Shops Api Shops Search Get
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/shops/detail/{shop_id}:
    get:
      tags:
      - Shops
      summary: Get Shop
      description: '店舗の詳細を取得


        確認できた事実は出典と確信度つきで、確認できていない条件は一覧で返す。

        「なぜこの店が候補なのか」「何がまだ分かっていないのか」を辿れるようにする。'
      operationId: get_shop_api_shops_detail__shop_id__get
      parameters:
      - required: true
        schema:
          type: string
          title: Shop Id
        name: shop_id
        in: path
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ShopDetailResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/shops/missing-facts:
    get:
      tags:
      - Shops
      summary: Get Missing Facts
      description: 'まだ分かっていないことを取得


        店舗の調査・問い合わせの作業キューとして使う。'
      operationId: get_missing_facts_api_shops_missing_facts_get
      parameters:
      - description: 店舗IDで絞り込む
        required: false
        schema:
          type: string
          title: Shop Id
          description: 店舗IDで絞り込む
        name: shop_id
        in: query
      - description: 施術コードで絞り込む
        required: false
        schema:
          type: string
          title: Service Code
          description: 施術コードで絞り込む
        name: service_code
        in: query
      - description: 判定に必須の条件だけに絞る
        required: false
        schema:
          type: boolean
          title: Required Only
          description: 判定に必須の条件だけに絞る
          default: false
        name: required_only
        in: query
      - description: 最大件数
        required: false
        schema:
          type: integer
          maximum: 1000.0
          minimum: 1.0
          title: Limit
          description: 最大件数
          default: 200
        name: limit
        in: query
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/MissingFactResponse'
                type: array
                title: Response Get Missing Facts Api Shops Missing Facts Get
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    ShopIndexEntry:
      properties:
        id:
          type: string
          title: Id
        name:
          type: string
          title: Name
        prefecture:
          type: string
          title: Prefecture
        city:
          type: string
          title: City
        status:
          type: string
          title: Status
        last_verified_at:
          type: string
          title: Last Verified At
        detail_version:
          type: string
          title: Detail Version
      type: object
      required:
      - id
      - name
      - status
      - detail_version
      title: ShopIndexEntry
      description: 存在する店舗の索引。閉店した店舗も status 付きで含む
    Lang:
      type: string
      enum:
      - en
      title: Lang
      description: An enumeration.
    BusinessHoursResponse:
      properties:
        days:
          additionalProperties:
            anyOf:
            - $ref: '#/components/schemas/BusinessHoursDayResponse'
            - type: 'null'
          type: object
          title: Days
        note:
          type: string
          title: Note
      type: object
      required:
      - days
      title: BusinessHoursResponse
      description: '曜日ごとの営業時間


        **キーが無い曜日は未確認、値が null は定休。** 7日ぶんを埋めずに済む形に

        しているのは、出典が「月〜土 6:00〜22:00」までしか書いていないことが多いため。

        出典と確信度は返さない (画面に出さないものを API に出さない)。'
    BusinessHoursDayResponse:
      properties:
        open:
          type: string
          title: Open
        close:
          type: string
          title: Close
      type: object
      required:
      - open
      - close
      title: BusinessHoursDayResponse
      description: 1日の営業時間。24 時間営業は 00:00 から 24:00 で表す
    MissingFactResponse:
      properties:
        shop_id:
          type: string
          title: Shop Id
        shop_name:
          type: string
          title: Shop Name
        service_code:
          type: string
          title: Service Code
        service_name:
          type: string
          title: Service Name
        attribute_code:
          type: string
          title: Attribute Code
        attribute_name:
          type: string
          title: Attribute Name
        value_type:
          type: string
          title: Value Type
        is_required:
          type: boolean
          title: Is Required
      type: object
      required:
      - shop_id
      - shop_name
      - service_code
      - service_name
      - attribute_code
      - attribute_name
      - value_type
      - is_required
      title: MissingFactResponse
      description: まだ分かっていないこと。Research / Inquiry Agent の作業キューになる
    ServiceResponse:
      properties:
        id:
          type: string
          title: Id
        code:
          type: string
          title: Code
        name:
          type: string
          title: Name
        category:
          type: string
          title: Category
        description:
          type: string
          title: Description
        parent_code:
          type: string
          title: Parent Code
      type: object
      required:
      - id
      - code
      - name
      title: ServiceResponse
    SourceResponse:
      properties:
        kind:
          type: string
          title: Kind
        url:
          type: string
          title: Url
        fetched_at:
          type: string
          title: Fetched At
      type: object
      required:
      - kind
      title: SourceResponse
      description: '店の値の根拠の fact の source 1つ (#1933 の 5d)


        **逐語は返さない** (#1026)。`fetched_at` は、その source の fact を初めて読んだ日

        (日付だけ)。'
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    FactResponse:
      properties:
        attribute_code:
          type: string
          title: Attribute Code
        attribute_name:
          type: string
          title: Attribute Name
        value_type:
          type: string
          title: Value Type
        unit:
          type: string
          title: Unit
        value_bool:
          type: boolean
          title: Value Bool
        value_number:
          type: number
          title: Value Number
        value_text:
          type: string
          title: Value Text
        confidence:
          type: number
          title: Confidence
        confirmed_at:
          type: string
          title: Confirmed At
        source_url:
          type: string
          title: Source Url
      type: object
      required:
      - attribute_code
      - attribute_name
      - value_type
      title: FactResponse
      description: 確認できた事実。どこから得たか、どれくらい確かかを併せて返す
    ServiceDetailResponse:
      properties:
        id:
          type: string
          title: Id
        code:
          type: string
          title: Code
        name:
          type: string
          title: Name
        category:
          type: string
          title: Category
        description:
          type: string
          title: Description
        parent_code:
          type: string
          title: Parent Code
        attributes:
          items:
            $ref: '#/components/schemas/ServiceAttributeResponse'
          type: array
          title: Attributes
      type: object
      required:
      - id
      - code
      - name
      - attributes
      title: ServiceDetailResponse
    SearchOriginResponse:
      properties:
        code:
          type: string
          title: Code
        name:
          type: string
          title: Name
        latitude:
          type: number
          title: Latitude
        longitude:
          type: number
          title: Longitude
      type: object
      required:
      - code
      - name
      - latitude
      - longitude
      title: SearchOriginResponse
      description: 検索の起点。利用者の選択肢と、広域調査の走査点を兼ねる
    ShopServicePriceResponse:
      properties:
        label:
          type: string
          title: Label
        price_yen:
          type: integer
          title: Price Yen
        duration_minutes:
          type: number
          title: Duration Minutes
        note:
          type: string
          title: Note
      type: object
      required:
      - label
      - price_yen
      title: ShopServicePriceResponse
      description: 料金メニューの1コース。price_min / price_max では表せない区別を持つ
    ShopSearchResult:
      properties:
        shop_id:
          type: string
          title: Shop Id
        name:
          type: string
          title: Name
        shop_type:
          type: string
          title: Shop Type
        shop_type_code:
          type: string
          title: Shop Type Code
        prefecture:
          type: string
          title: Prefecture
        city:
          type: string
          title: City
        address_line:
          type: string
          title: Address Line
        latitude:
          type: number
          title: Latitude
        longitude:
          type: number
          title: Longitude
        distance_km:
          type: number
          title: Distance Km
        availability:
          type: string
          title: Availability
        price_min:
          type: integer
          title: Price Min
        price_max:
          type: integer
          title: Price Max
        price_note:
          type: string
          title: Price Note
        matched_attributes:
          items:
            type: string
          type: array
          title: Matched Attributes
        unknown_attributes:
          items:
            type: string
          type: array
          title: Unknown Attributes
        has_track_record:
          type: boolean
          title: Has Track Record
          default: false
        last_verified_at:
          type: string
          title: Last Verified At
        services:
          items:
            $ref: '#/components/schemas/ShopSearchService'
          type: array
          title: Services
          default: []
        rents_cars:
          type: boolean
          title: Rents Cars
          default: false
      type: object
      required:
      - shop_id
      - name
      - matched_attributes
      - unknown_attributes
      title: ShopSearchResult
    ShopServiceDetailResponse:
      properties:
        service_code:
          type: string
          title: Service Code
        service_name:
          type: string
          title: Service Name
        availability:
          type: string
          title: Availability
        price_min:
          type: integer
          title: Price Min
        price_max:
          type: integer
          title: Price Max
        price_note:
          type: string
          title: Price Note
        duration_minutes:
          type: integer
          title: Duration Minutes
        last_verified_at:
          type: string
          title: Last Verified At
        business_hours:
          $ref: '#/components/schemas/BusinessHoursResponse'
        prices:
          items:
            $ref: '#/components/schemas/ShopServicePriceResponse'
          type: array
          title: Prices
          default: []
        facts:
          items:
            $ref: '#/components/schemas/FactResponse'
          type: array
          title: Facts
        missing_attributes:
          items:
            $ref: '#/components/schemas/ServiceAttributeResponse'
          type: array
          title: Missing Attributes
      type: object
      required:
      - service_code
      - service_name
      - availability
      - facts
      - missing_attributes
      title: ShopServiceDetailResponse
    VehicleModelResponse:
      properties:
        id:
          type: string
          title: Id
        model_code:
          type: string
          title: Model Code
        name:
          type: string
          title: Name
        maker_name:
          type: string
          title: Maker Name
        start_year:
          type: integer
          title: Start Year
        end_year:
          type: integer
          title: End Year
        car_model_id:
          type: string
          title: Car Model Id
      type: object
      required:
      - id
      - model_code
      - name
      - maker_name
      title: VehicleModelResponse
    ShopDetailResponse:
      properties:
        id:
          type: string
          title: Id
        name:
          type: string
          title: Name
        shop_type:
          type: string
          title: Shop Type
        shop_type_code:
          type: string
          title: Shop Type Code
        postal_code:
          type: string
          title: Postal Code
        prefecture:
          type: string
          title: Prefecture
        city:
          type: string
          title: City
        address_line:
          type: string
          title: Address Line
        latitude:
          type: number
          title: Latitude
        longitude:
          type: number
          title: Longitude
        phone:
          type: string
          title: Phone
        website_url:
          type: string
          title: Website Url
        reservation_url:
          type: string
          title: Reservation Url
        reservation_method:
          type: string
          title: Reservation Method
        status:
          type: string
          title: Status
        last_verified_at:
          type: string
          title: Last Verified At
        business_hours:
          $ref: '#/components/schemas/BusinessHoursResponse'
        photo:
          $ref: '#/components/schemas/ShopPhotoResponse'
        facts:
          items:
            $ref: '#/components/schemas/FactResponse'
          type: array
          title: Facts
        missing_attributes:
          items:
            $ref: '#/components/schemas/ServiceAttributeResponse'
          type: array
          title: Missing Attributes
        services:
          items:
            $ref: '#/components/schemas/ShopServiceDetailResponse'
          type: array
          title: Services
        sources:
          items:
            $ref: '#/components/schemas/SourceResponse'
          type: array
          title: Sources
      type: object
      required:
      - id
      - name
      - status
      - facts
      - missing_attributes
      - services
      - sources
      title: ShopDetailResponse
    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
    ShopSearchService:
      properties:
        code:
          type: string
          title: Code
        name:
          type: string
          title: Name
      type: object
      required:
      - code
      - name
      title: ShopSearchService
    ShopPhotoResponse:
      properties:
        url:
          type: string
          title: Url
        page_url:
          type: string
          title: Page Url
        credit:
          type: string
          title: Credit
      type: object
      required:
      - url
      title: ShopPhotoResponse
      description: 店舗の写真。公式サイトのものだけ (Google の写真は保存できない)
    ServiceAttributeResponse:
      properties:
        code:
          type: string
          title: Code
        name:
          type: string
          title: Name
        value_type:
          type: string
          title: Value Type
        unit:
          type: string
          title: Unit
        is_required:
          type: boolean
          title: Is Required
      type: object
      required:
      - code
      - name
      - value_type
      - is_required
      title: ServiceAttributeResponse
      description: 施術ごとに確認すべき条件。検索 UI の絞り込み項目にそのまま使える
  securitySchemes:
    HTTPBearer:
      type: http
      scheme: bearer
x-refined-from:
- car-gene-com-openapi.json
- car-gene-com-openapi.yml