CarGene Used Cars API

The used-cars API from CarGene — 5 operation(s) for used-cars.

GitHub OpenAPI

Operations 5

GET /api/used-cars List Used Cars #
GET /api/used-cars/facets Used Car Facets #
GET /api/used-cars/shared/{token} Get Shared Used Car #
GET /api/used-cars/{listing_id} Get Used Car #
POST /api/used-cars/{listing_id}/inquiries Create Inquiry #

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-used-cars-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-used-cars-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Car Gene Com Used Cars API
  version: 1.0.0
  description: 'Operations tagged used-cars 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: used-cars
paths:
  /api/used-cars:
    get:
      tags:
      - used-cars
      summary: List Used Cars
      description: 公開中の物件。**価格の絞りは支払総額で見る** (応談の物件は外れる)
      operationId: list_used_cars_api_used_cars_get
      parameters:
      - required: false
        schema:
          type: string
          title: Maker Id
        name: maker_id
        in: query
      - required: false
        schema:
          type: string
          title: Series Id
        name: series_id
        in: query
      - required: false
        schema:
          type: string
          title: Model Id
        name: model_id
        in: query
      - required: false
        schema:
          type: string
          title: Shop Id
        name: shop_id
        in: query
      - required: false
        schema:
          type: string
          title: Prefecture
        name: prefecture
        in: query
      - description: 支払総額 (円) の下限
        required: false
        schema:
          type: integer
          minimum: 0.0
          title: Price Min
          description: 支払総額 (円) の下限
        name: price_min
        in: query
      - description: 支払総額 (円) の上限
        required: false
        schema:
          type: integer
          minimum: 0.0
          title: Price Max
          description: 支払総額 (円) の上限
        name: price_max
        in: query
      - required: false
        schema:
          type: integer
          maximum: 2100.0
          minimum: 1900.0
          title: Year Min
        name: year_min
        in: query
      - required: false
        schema:
          type: integer
          maximum: 2100.0
          minimum: 1900.0
          title: Year Max
        name: year_max
        in: query
      - required: false
        schema:
          type: integer
          minimum: 0.0
          title: Mileage Max
        name: mileage_max
        in: query
      - required: false
        schema:
          type: string
          enum:
          - mt
          - at
          - cvt
          - other
          title: Transmission
        name: transmission
        in: query
      - required: false
        schema:
          type: boolean
          title: No Repair
          default: false
        name: no_repair
        in: query
      - required: false
        schema:
          type: string
          enum:
          - new
          - price_asc
          - price_desc
          - year_asc
          - year_desc
          - mileage_asc
          title: Sort
          default: new
        name: sort
        in: query
      - required: false
        schema:
          type: integer
          maximum: 100.0
          minimum: 1.0
          title: Limit
          default: 30
        name: limit
        in: query
      - required: false
        schema:
          type: integer
          minimum: 0.0
          title: Offset
          default: 0
        name: offset
        in: query
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ListingsResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/used-cars/facets:
    get:
      tags:
      - used-cars
      summary: Used Car Facets
      description: 絞り込みの候補 (公開中の物件があるメーカー・車種・世代・都道府県) と件数
      operationId: used_car_facets_api_used_cars_facets_get
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ListingFacetsResponse'
  /api/used-cars/shared/{token}:
    get:
      tags:
      - used-cars
      summary: Get Shared Used Car
      description: '共有リンクの物件 (#2640)。**ログインなしで、公開前の物件も返す。**

        トークンが合い期限内で、運営が止めていない物件だけ。それ以外は 404'
      operationId: get_shared_used_car_api_used_cars_shared__token__get
      parameters:
      - required: true
        schema:
          type: string
          title: Token
        name: token
        in: path
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ListingDetail'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/used-cars/{listing_id}:
    get:
      tags:
      - used-cars
      summary: Get Used Car
      description: 物件 1 台。**売約済みも返す** (画面は「売約済み」と出す)
      operationId: get_used_car_api_used_cars__listing_id__get
      parameters:
      - required: true
        schema:
          type: string
          title: Listing Id
        name: listing_id
        in: path
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ListingDetail'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/used-cars/{listing_id}/inquiries:
    post:
      tags:
      - used-cars
      summary: Create Inquiry
      operationId: create_inquiry_api_used_cars__listing_id__inquiries_post
      parameters:
      - required: true
        schema:
          type: string
          title: Listing Id
        name: listing_id
        in: path
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/InquiryInput'
        required: true
      responses:
        '201':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/InquiryAccepted'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    GradeResponse:
      properties:
        id:
          type: string
          title: Id
        name:
          type: string
          title: Name
        chassis_code:
          type: string
          title: Chassis Code
        displacement_cc:
          type: integer
          title: Displacement Cc
        doors:
          type: integer
          title: Doors
        transmission:
          type: string
          title: Transmission
        drivetrain:
          type: string
          title: Drivetrain
        seats:
          type: integer
          title: Seats
        fuel_economy_km_l:
          type: number
          title: Fuel Economy Km L
        weight_kg:
          type: integer
          title: Weight Kg
        length_mm:
          type: integer
          title: Length Mm
        width_mm:
          type: integer
          title: Width Mm
        height_mm:
          type: integer
          title: Height Mm
        price_yen:
          type: integer
          title: Price Yen
        sale_start_year:
          type: integer
          title: Sale Start Year
        sale_start_month:
          type: integer
          title: Sale Start Month
        sale_end_year:
          type: integer
          title: Sale End Year
        sale_end_month:
          type: integer
          title: Sale End Month
        engine_code:
          type: string
          title: Engine Code
        max_power:
          type: string
          title: Max Power
        max_power_ps:
          type: integer
          title: Max Power Ps
        max_torque:
          type: string
          title: Max Torque
        max_torque_nm:
          type: number
          title: Max Torque Nm
        tire_size_front:
          type: string
          title: Tire Size Front
        tire_size_rear:
          type: string
          title: Tire Size Rear
        source_url:
          type: string
          title: Source Url
        edition_id:
          type: string
          title: Edition Id
      type: object
      required:
      - id
      - name
      - source_url
      title: GradeResponse
      description: '改良1つの中のグレード1行 (#1493)。公開ページの表の1行


        列は goo-net のカタログの表に合わせてある (DB の `model_grades`)。**数値の無い

        列は None** で、出典がその値を持たない (古い車の価格・燃費など)。

        販売開始・終了は月単位で、終了の None は「世代の終わりまで」。'
    ListingModel:
      properties:
        id:
          type: string
          title: Id
        name:
          type: string
          title: Name
        chassis_code:
          type: string
          title: Chassis Code
        start_year:
          type: integer
          title: Start Year
        end_year:
          type: integer
          title: End Year
        series_id:
          type: string
          title: Series Id
        series_name:
          type: string
          title: Series Name
        maker_id:
          type: string
          title: Maker Id
        maker_name:
          type: string
          title: Maker Name
      type: object
      required:
      - id
      - name
      - start_year
      - series_id
      - series_name
      - maker_id
      - maker_name
      title: ListingModel
      description: 紐づけた世代。画面は `lib/model-metadata.ts` の見出しと同じ綴りで出す
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    InquiryInput:
      properties:
        kind:
          type: string
          enum:
          - stock
          - estimate
          - visit
          - other
          title: Kind
        name:
          type: string
          title: Name
        email:
          type: string
          title: Email
        phone:
          type: string
          title: Phone
        message:
          type: string
          title: Message
          default: ''
        website:
          type: string
          title: Website
      type: object
      required:
      - kind
      - name
      - email
      title: InquiryInput
    ListingDetail:
      properties:
        id:
          type: string
          title: Id
        model:
          $ref: '#/components/schemas/ListingModel'
        grade:
          type: string
          title: Grade
        price_yen:
          type: integer
          title: Price Yen
        total_price_yen:
          type: integer
          title: Total Price Yen
        first_registration_year:
          type: integer
          title: First Registration Year
        first_registration_month:
          type: integer
          title: First Registration Month
        mileage_km:
          type: integer
          title: Mileage Km
        inspection_year:
          type: integer
          title: Inspection Year
        inspection_month:
          type: integer
          title: Inspection Month
        repair_history:
          type: boolean
          title: Repair History
        transmission:
          type: string
          enum:
          - mt
          - at
          - cvt
          - other
          title: Transmission
        status:
          type: string
          enum:
          - draft
          - published
          - sold
          - hidden
          title: Status
        published_at:
          type: string
          format: date-time
          title: Published At
        minor_change_name:
          type: string
          title: Minor Change Name
        drivetrain:
          type: string
          enum:
          - ff
          - fr
          - mr
          - rr
          - 4wd
          title: Drivetrain
        displacement_cc:
          type: integer
          title: Displacement Cc
        fuel:
          type: string
          enum:
          - gasoline
          - diesel
          - hybrid
          - ev
          - other
          title: Fuel
        body_color:
          type: string
          title: Body Color
        steering:
          type: string
          enum:
          - right
          - left
          title: Steering
        doors:
          type: integer
          title: Doors
        seats:
          type: integer
          title: Seats
        warranty:
          type: string
          title: Warranty
        maintenance:
          type: string
          title: Maintenance
        equipment:
          items:
            type: string
          type: array
          title: Equipment
        description:
          type: string
          title: Description
        stock_number:
          type: string
          title: Stock Number
        sold_at:
          type: string
          format: date-time
          title: Sold At
        updated_at:
          type: string
          format: date-time
          title: Updated At
        photos:
          items:
            $ref: '#/components/schemas/Photo'
          type: array
          title: Photos
        minor_change:
          $ref: '#/components/schemas/ListingMinorChange'
        catalog_grade:
          $ref: '#/components/schemas/GradeResponse'
        parts:
          items:
            $ref: '#/components/schemas/ListingPart'
          type: array
          title: Parts
        shop:
          $ref: '#/components/schemas/ListingShop'
      type: object
      required:
      - id
      - model
      - first_registration_year
      - repair_history
      - transmission
      - status
      - equipment
      - updated_at
      - photos
      - parts
      - shop
      title: ListingDetail
      description: 物件ページ。店は公開してよい欄だけ
    ListingSummary:
      properties:
        id:
          type: string
          title: Id
        model:
          $ref: '#/components/schemas/ListingModel'
        grade:
          type: string
          title: Grade
        price_yen:
          type: integer
          title: Price Yen
        total_price_yen:
          type: integer
          title: Total Price Yen
        first_registration_year:
          type: integer
          title: First Registration Year
        first_registration_month:
          type: integer
          title: First Registration Month
        mileage_km:
          type: integer
          title: Mileage Km
        inspection_year:
          type: integer
          title: Inspection Year
        inspection_month:
          type: integer
          title: Inspection Month
        repair_history:
          type: boolean
          title: Repair History
        transmission:
          type: string
          enum:
          - mt
          - at
          - cvt
          - other
          title: Transmission
        status:
          type: string
          enum:
          - draft
          - published
          - sold
          - hidden
          title: Status
        published_at:
          type: string
          format: date-time
          title: Published At
        minor_change_name:
          type: string
          title: Minor Change Name
        photo:
          $ref: '#/components/schemas/Photo'
        photo_count:
          type: integer
          title: Photo Count
        shop_id:
          type: string
          title: Shop Id
        shop_name:
          type: string
          title: Shop Name
        prefecture:
          type: string
          title: Prefecture
        city:
          type: string
          title: City
      type: object
      required:
      - id
      - model
      - first_registration_year
      - repair_history
      - transmission
      - status
      - photo_count
      - shop_id
      - shop_name
      title: ListingSummary
      description: 一覧のカード。写真は先頭の 1 枚
    InquiryAccepted:
      properties:
        ok:
          type: boolean
          title: Ok
          default: true
      type: object
      title: InquiryAccepted
    ListingPart:
      properties:
        id:
          type: string
          title: Id
        part_id:
          type: string
          title: Part Id
        part_key:
          type: string
          title: Part Key
        manufacturer_name:
          type: string
          title: Manufacturer Name
        name:
          type: string
          title: Name
        part_number:
          type: string
          title: Part Number
        note:
          type: string
          title: Note
      type: object
      required:
      - id
      - name
      title: ListingPart
      description: 装着パーツ 1 行。DB の商品ならメーカー名と品番も出る
    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
    FacetMaker:
      properties:
        id:
          type: string
          title: Id
        name:
          type: string
          title: Name
        count:
          type: integer
          title: Count
      type: object
      required:
      - id
      - name
      - count
      title: FacetMaker
    ListingFacetsResponse:
      properties:
        total:
          type: integer
          title: Total
        makers:
          items:
            $ref: '#/components/schemas/FacetMaker'
          type: array
          title: Makers
        series:
          items:
            $ref: '#/components/schemas/FacetSeries'
          type: array
          title: Series
        models:
          items:
            $ref: '#/components/schemas/FacetModel'
          type: array
          title: Models
        prefectures:
          items:
            $ref: '#/components/schemas/FacetPrefecture'
          type: array
          title: Prefectures
      type: object
      required:
      - total
      - makers
      - series
      - models
      - prefectures
      title: ListingFacetsResponse
      description: 公開中の物件がある候補だけ。**0 件の候補は出さない** (選んでも空になる)
    FacetPrefecture:
      properties:
        name:
          type: string
          title: Name
        count:
          type: integer
          title: Count
      type: object
      required:
      - name
      - count
      title: FacetPrefecture
    FacetSeries:
      properties:
        id:
          type: string
          title: Id
        name:
          type: string
          title: Name
        maker_id:
          type: string
          title: Maker Id
        count:
          type: integer
          title: Count
      type: object
      required:
      - id
      - name
      - maker_id
      - count
      title: FacetSeries
    FacetModel:
      properties:
        id:
          type: string
          title: Id
        name:
          type: string
          title: Name
        chassis_code:
          type: string
          title: Chassis Code
        start_year:
          type: integer
          title: Start Year
        end_year:
          type: integer
          title: End Year
        series_id:
          type: string
          title: Series Id
        count:
          type: integer
          title: Count
      type: object
      required:
      - id
      - name
      - start_year
      - series_id
      - count
      title: FacetModel
    ListingMinorChange:
      properties:
        id:
          type: string
          title: Id
        name:
          type: string
          title: Name
        common_name:
          type: string
          title: Common Name
        start_year:
          type: integer
          title: Start Year
        start_month:
          type: integer
          title: Start Month
        classifications:
          items:
            type: string
          type: array
          title: Classifications
      type: object
      required:
      - id
      - name
      - start_year
      - classifications
      title: ListingMinorChange
      description: 物件の改良。物件ページに呼び名と分類 (前期・後期など) を出す
    ListingsResponse:
      properties:
        items:
          items:
            $ref: '#/components/schemas/ListingSummary'
          type: array
          title: Items
        total:
          type: integer
          title: Total
      type: object
      required:
      - items
      - total
      title: ListingsResponse
    Photo:
      properties:
        id:
          type: string
          title: Id
        s3key:
          type: string
          title: S3Key
        width:
          type: integer
          title: Width
        height:
          type: integer
          title: Height
      type: object
      required:
      - id
      - s3key
      - width
      - height
      title: Photo
    ListingShop:
      properties:
        id:
          type: string
          title: Id
        name:
          type: string
          title: Name
        prefecture:
          type: string
          title: Prefecture
        city:
          type: string
          title: City
        address_line:
          type: string
          title: Address Line
        phone:
          type: string
          title: Phone
        website_url:
          type: string
          title: Website Url
        inquiry_url:
          type: string
          title: Inquiry Url
        antique_license:
          type: string
          title: Antique License
      type: object
      required:
      - id
      - name
      title: ListingShop
      description: 物件ページに出す店。店舗ページ (/shops/<id>/) と同じ店
  securitySchemes:
    HTTPBearer:
      type: http
      scheme: bearer
x-refined-from:
- car-gene-com-openapi.json
- car-gene-com-openapi.yml