{
  "openapi": "3.0.1",
  "info": {
    "title": "Japan Used Trucks (55truck.com)",
    "description": "Japanese used commercial-vehicle listings from 55truck.com (トラック王国) — price, year, mileage, load capacity, body type, size, transmission and inspection by maker/body-type/size, English schema. Unofficial; not affiliated with 55truck / トラック王国.",
    "version": "0.1",
    "x-build-id": "H2fmaB2eubkzrzAF7"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/jpopendata~japan-used-trucks-55truck/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-jpopendata-japan-used-trucks-55truck",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor, waits for its completion, and returns Actor's dataset items in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/acts/jpopendata~japan-used-trucks-55truck/runs": {
      "post": {
        "operationId": "runs-sync-jpopendata-japan-used-trucks-55truck",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor and returns information about the initiated run in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/runsResponseSchema"
                }
              }
            }
          }
        }
      }
    },
    "/acts/jpopendata~japan-used-trucks-55truck/run-sync": {
      "post": {
        "operationId": "run-sync-jpopendata-japan-used-trucks-55truck",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor, waits for completion, and returns the OUTPUT from Key-value store in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    }
  },
  "components": {
    "schemas": {
      "inputSchema": {
        "type": "object",
        "properties": {
          "maker": {
            "title": "Maker",
            "type": "string",
            "description": "Optional maker filter, applied upstream via the static maker list pages. English (\"Isuzu\", \"Hino\", \"Mitsubishi Fuso\", \"UD Trucks\"), Japanese (\"いすゞ\", \"日野\") or a 55truck slug (\"isuzu\"); spellings such as \"Mitsubishi-Fuso\", \"UD\", \"Fuso\" are accepted. Commercial: Isuzu, Hino, Mitsubishi Fuso, UD Trucks, Nissan, Toyota, Mazda, Daihatsu, Mercedes-Benz, Scania, Volvo. Heavy equipment: Komatsu, Hitachi, Kobelco, Kubota, Yanmar, Kato, Tadano, Caterpillar and more. Leave empty for all makers. Example: \"Hino\"."
          },
          "bodyType": {
            "title": "Body type",
            "type": "string",
            "description": "Optional body-type filter, applied upstream. English (\"Dump\", \"Crane\", \"Flatbed\"), Japanese (\"ダンプ\", \"クレーン\") or a 55truck figure slug (\"dump\", \"crane\", \"flatbody\", \"coldfreezing\", \"alumiwing\", \"mixer\", \"trailerhead\", \"forklift\" …). Any figure slug from the site's sitemap is accepted. Leave empty for all body types. Example: \"dump\"."
          },
          "size": {
            "title": "Size class",
            "enum": [
              "",
              "small",
              "middle",
              "plus",
              "big"
            ],
            "type": "string",
            "description": "Optional size filter, applied upstream: \"small\" (小型/2t class), \"middle\" (中型/4t class), \"plus\" (増トン) or \"big\" (大型/10t class). Aliases \"large\"/\"medium\"/\"2t\"/\"4t\"/\"10t\" are accepted via the API. Leave empty (All sizes) for every size.",
            "default": ""
          },
          "model": {
            "title": "Model keyword",
            "type": "string",
            "description": "Optional case-insensitive substring filter on the vehicle name as published (e.g. \"レンジャー\", \"プロフィア\", \"エルフ\" — Japanese usually matches best), applied client-side after parsing."
          },
          "priceMin": {
            "title": "Min vehicle price (万円)",
            "minimum": 0,
            "maximum": 100000,
            "type": "integer",
            "description": "Optional lower bound on the vehicle price, in 万円 (10,000 JPY units — e.g. 100 = ¥1,000,000). Whole number. Applied client-side."
          },
          "priceMax": {
            "title": "Max vehicle price (万円)",
            "minimum": 0,
            "maximum": 100000,
            "type": "integer",
            "description": "Optional upper bound on the vehicle price, in 万円 (10,000 JPY units — e.g. 800 = ¥8,000,000). Whole number. Applied client-side."
          },
          "yearMin": {
            "title": "Min first-registration year",
            "minimum": 1940,
            "maximum": 2100,
            "type": "integer",
            "description": "Optional lower bound on the first registration year (年式, 4-digit e.g. 2015). Applied client-side."
          },
          "yearMax": {
            "title": "Max first-registration year",
            "minimum": 1940,
            "maximum": 2100,
            "type": "integer",
            "description": "Optional upper bound on the first registration year (4-digit e.g. 2024). Applied client-side."
          },
          "detailFetch": {
            "title": "Fetch vehicle detail pages",
            "type": "boolean",
            "description": "When true, each vehicle costs one extra request but adds type code (型式), displacement, gross weight, fuel, engine model, seats, body/bed dimensions and the superstructure maker. When false (default) the actor emits list data only (name, prices, year, mileage, load capacity, transmission, emission status, inspection, showroom) — cheaper.",
            "default": false
          },
          "maxItems": {
            "title": "Max records",
            "minimum": 1,
            "maximum": 10000,
            "type": "integer",
            "description": "Stop after this many dataset records (1-10000, default 10).",
            "default": 10
          },
          "maxApiRequests": {
            "title": "Max upstream requests",
            "minimum": 1,
            "maximum": 60,
            "type": "integer",
            "description": "Hard budget of HTTP requests to 55truck.com for this run (1-60, default 30; list pages of 50 vehicles + 1 per vehicle detail when detailFetch is on). Requests are strictly serial with >= 1.2 s spacing. When the budget runs out the run completes with complete=false in RUN_SUMMARY.",
            "default": 30
          },
          "proxyConfiguration": {
            "title": "Proxy configuration",
            "type": "object",
            "description": "Apify proxy settings. Default: no proxy. Never used for rotation/evasion — one client identity per run."
          }
        }
      },
      "runsResponseSchema": {
        "type": "object",
        "properties": {
          "data": {
            "type": "object",
            "properties": {
              "id": {
                "type": "string"
              },
              "actId": {
                "type": "string"
              },
              "userId": {
                "type": "string"
              },
              "startedAt": {
                "type": "string",
                "format": "date-time",
                "example": "2025-01-08T00:00:00.000Z"
              },
              "finishedAt": {
                "type": "string",
                "format": "date-time",
                "example": "2025-01-08T00:00:00.000Z"
              },
              "status": {
                "type": "string",
                "example": "READY"
              },
              "meta": {
                "type": "object",
                "properties": {
                  "origin": {
                    "type": "string",
                    "example": "API"
                  },
                  "userAgent": {
                    "type": "string"
                  }
                }
              },
              "stats": {
                "type": "object",
                "properties": {
                  "inputBodyLen": {
                    "type": "integer",
                    "example": 2000
                  },
                  "rebootCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "restartCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "resurrectCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "computeUnits": {
                    "type": "integer",
                    "example": 0
                  }
                }
              },
              "options": {
                "type": "object",
                "properties": {
                  "build": {
                    "type": "string",
                    "example": "latest"
                  },
                  "timeoutSecs": {
                    "type": "integer",
                    "example": 300
                  },
                  "memoryMbytes": {
                    "type": "integer",
                    "example": 1024
                  },
                  "diskMbytes": {
                    "type": "integer",
                    "example": 2048
                  }
                }
              },
              "buildId": {
                "type": "string"
              },
              "defaultKeyValueStoreId": {
                "type": "string"
              },
              "defaultDatasetId": {
                "type": "string"
              },
              "defaultRequestQueueId": {
                "type": "string"
              },
              "buildNumber": {
                "type": "string",
                "example": "1.0.0"
              },
              "containerUrl": {
                "type": "string"
              },
              "usage": {
                "type": "object",
                "properties": {
                  "ACTOR_COMPUTE_UNITS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_WRITES": {
                    "type": "integer",
                    "example": 1
                  },
                  "KEY_VALUE_STORE_LISTS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_INTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_EXTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_SERPS": {
                    "type": "integer",
                    "example": 0
                  }
                }
              },
              "usageTotalUsd": {
                "type": "number",
                "example": 0.00005
              },
              "usageUsd": {
                "type": "object",
                "properties": {
                  "ACTOR_COMPUTE_UNITS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_WRITES": {
                    "type": "number",
                    "example": 0.00005
                  },
                  "KEY_VALUE_STORE_LISTS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_INTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_EXTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_SERPS": {
                    "type": "integer",
                    "example": 0
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}