{
  "openapi": "3.0.1",
  "info": {
    "title": "Be Forward Scraper",
    "description": "Scrape Japanese export car stock from beforward.jp. Use filters (make, type, fuel, year, price) or paste a stocklist URL — the URL wins when set. Returns FOB price, specs, location, and photos.",
    "version": "0.1",
    "x-build-id": "h7ALg32Sc2z4czjFc"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/dadhalfdev~beforward-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-dadhalfdev-beforward-scraper",
        "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/dadhalfdev~beforward-scraper/runs": {
      "post": {
        "operationId": "runs-sync-dadhalfdev-beforward-scraper",
        "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/dadhalfdev~beforward-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-dadhalfdev-beforward-scraper",
        "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": {
          "input_url": {
            "title": "Input URL",
            "type": "string",
            "description": "Paste any Be Forward /stocklist URL (with or without filters)."
          },
          "make": {
            "title": "Make",
            "enum": [
              "",
              "1",
              "3",
              "2",
              "5",
              "94",
              "4",
              "7",
              "8",
              "10",
              "103",
              "744",
              "68",
              "106",
              "83",
              "52",
              "51",
              "205",
              "48",
              "47",
              "72",
              "57",
              "50",
              "79",
              "53",
              "745",
              "44",
              "313",
              "371",
              "414",
              "410",
              "119",
              "779",
              "77",
              "402",
              "806",
              "108",
              "391",
              "384",
              "383",
              "82",
              "746",
              "200",
              "380",
              "379",
              "796",
              "378",
              "374",
              "49",
              "109",
              "370",
              "364",
              "415",
              "771",
              "359",
              "102",
              "356",
              "355",
              "395",
              "840",
              "775",
              "45",
              "344",
              "822",
              "342",
              "830",
              "797",
              "334",
              "333",
              "204",
              "828",
              "329",
              "323",
              "761",
              "834",
              "322",
              "808",
              "317",
              "773",
              "309",
              "308",
              "306",
              "305",
              "303",
              "76",
              "302",
              "301",
              "300",
              "299",
              "295",
              "704",
              "294",
              "293",
              "788",
              "836",
              "290",
              "288",
              "448",
              "287",
              "286",
              "285",
              "786",
              "831",
              "275",
              "73",
              "270",
              "54",
              "743",
              "264",
              "263",
              "262",
              "259",
              "36",
              "253",
              "252",
              "249",
              "248",
              "244",
              "243",
              "239",
              "772",
              "225",
              "790",
              "827",
              "432",
              "353",
              "431",
              "429",
              "434",
              "456",
              "467",
              "729",
              "732",
              "736",
              "738"
            ],
            "type": "string",
            "description": "Be Forward make id (same values as the site Make dropdown). Ignored when input_url is set.",
            "default": ""
          },
          "veh_type": {
            "title": "Vehicle type",
            "enum": [
              "",
              "4",
              "3",
              "6",
              "15",
              "8",
              "9",
              "5",
              "1",
              "18",
              "17",
              "10",
              "7",
              "2",
              "27",
              "28",
              "16",
              "11",
              "32",
              "20"
            ],
            "type": "string",
            "description": "Same options as the Be Forward Type dropdown. Ignored when input_url is set.",
            "default": ""
          },
          "fuel": {
            "title": "Fuel",
            "enum": [
              "",
              "1011",
              "1012",
              "1013",
              "1014",
              "4",
              "5",
              "1006",
              "1007",
              "1003",
              "1010",
              "1001",
              "1009"
            ],
            "type": "string",
            "description": "Same options as the Be Forward Fuel dropdown. Ignored when input_url is set.",
            "default": ""
          },
          "steering": {
            "title": "Steering",
            "enum": [
              "",
              "Right",
              "Left",
              "Center"
            ],
            "type": "string",
            "description": "Same options as the Be Forward Steering dropdown. Ignored when input_url is set.",
            "default": ""
          },
          "mission": {
            "title": "Transmission",
            "enum": [
              "",
              "7",
              "1000",
              "21",
              "13",
              "17",
              "20",
              "999"
            ],
            "type": "string",
            "description": "Same options as the Be Forward Transmission dropdown. Ignored when input_url is set.",
            "default": ""
          },
          "year_min": {
            "title": "Minimum year",
            "minimum": 1980,
            "type": "integer",
            "description": "Manufacture year from. Ignored when input_url is set."
          },
          "year_max": {
            "title": "Maximum year",
            "minimum": 1980,
            "type": "integer",
            "description": "Manufacture year to. Ignored when input_url is set."
          },
          "price_min": {
            "title": "Minimum FOB price (USD)",
            "minimum": 0,
            "type": "integer",
            "description": "Minimum FOB price in USD. Ignored when input_url is set."
          },
          "price_max": {
            "title": "Maximum FOB price (USD)",
            "minimum": 0,
            "type": "integer",
            "description": "Maximum FOB price in USD. Ignored when input_url is set."
          },
          "keyword": {
            "title": "Keyword / ref no.",
            "type": "string",
            "description": "Optional keyword or Be Forward ref no. Ignored when input_url is set."
          },
          "max_results": {
            "title": "Maximum number of results",
            "minimum": 1,
            "maximum": 2000,
            "type": "integer",
            "description": "How many listings to return (1–2000).",
            "default": 50
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}